Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi,

I need help regarding the usage of C++ in a BREW program.

I love programming in C++, but i'm little bit confused with the correct usage of the BREW interfaces in C++.

Most articles / books i refered use examples in C only and a little support is provided for writing C++ code.

Can anyone help me with a sample code in C++ or any links.

if possible plz provide a note about the advantages and disadvantages of using C++ when compared with C code.

Thanx in advance :D ,
RPDP

Hello RPDP,
If you want to write all the code that is in a class then that is not possiable in BREW.
What you can do is use a mixture of C and C++. while all you algorithm goes in C++ but Brew interface a must go in C.

Hello RPDP,
If you want to write all the code that is in a class then that is not possiable in BREW.
What you can do is use a mixture of C and C++. while all you algorithm goes in C++ but Brew interface a must go in C.

Hi,
Thanx kumar,
i went thru the book by Ralph Barbagallo , in which instead of defining the applet structure, they inherit the AEEApplet interface.
and the subsequent changes to the code given cannot be understood clearly.
by inheriting does the members of AEEApplet be directly accesible thru the object of that class.(in C++ it is, but here ....)
then why do they use code like this.
class MyApp : public AEEApplet
{
public:
static boolean HandleEvent(MyApp * pMyApp, AEEEvent eCode,
uint16 wParam, uint32 dwParam);
static void freeAppData(MyApp * pMyApp);
protected:
//these functions replace the standard event/message handlers from a C applet
void OnAppfreeData();
boolean OnEvent(AEEEvent eCode, uint16 wParam, uint32 dwParam);
;
boolean MyApp::HandleEvent(MyApp *pApp, AEEEvent eCode,
uint16 wParam, uint32 dwParam)
{
return pApp->OnEvent(eCode, wParam, dwParam);

and
void MyApp::freeAppData(MyApp *pApp)
{
pApp->OnAppfreeData();

they could have directly handled it without calling another function.
(is it purely to make it more modular ?)
Need some help regarding this. i feel a little handicapped without classes as i moved from j2me.
Thanx,
RPDP

Hi,
Thanx kumar,
i went thru the book by Ralph Barbagallo , in which instead of defining the applet structure, they inherit the AEEApplet interface.
and the subsequent changes to the code given cannot be understood clearly.
by inheriting does the members of AEEApplet be directly accesible thru the object of that class.(in C++ it is, but here ....)
then why do they use code like this.
class MyApp : public AEEApplet
{
public:
static boolean HandleEvent(MyApp * pMyApp, AEEEvent eCode,
uint16 wParam, uint32 dwParam);
static void freeAppData(MyApp * pMyApp);
protected:
//these functions replace the standard event/message handlers from a C applet
void OnAppfreeData();
boolean OnEvent(AEEEvent eCode, uint16 wParam, uint32 dwParam);
;
boolean MyApp::HandleEvent(MyApp *pApp, AEEEvent eCode,
uint16 wParam, uint32 dwParam)
{
return pApp->OnEvent(eCode, wParam, dwParam);

and
void MyApp::freeAppData(MyApp *pApp)
{
pApp->OnAppfreeData();

they could have directly handled it without calling another function.
(is it purely to make it more modular ?)
Need some help regarding this. i feel a little handicapped without classes as i moved from j2me.
Thanx,
RPDP

The thing is:
AEEApplet is a structure, not a class...
So, it doesn't actually have named methods (in a C++ way), just a vtbl with pointers to functions... So, MyApp is not actually inheriting the methods, just the data (which includes pointer to functions, but in a C way, not C++: there nothing like AEEApplet.method).
And the second issue is: callbacks are static functions, not regular object methods. It means that you don't have access to "this" pointer. That's why you need a static method to dispatch to the correct "object" method, using "pApp->".
So, it could be handled directly if you never access toany other non-static member of your class, otherwise you need this indirection.

The thing is:
AEEApplet is a structure, not a class...
So, it doesn't actually have named methods (in a C++ way), just a vtbl with pointers to functions... So, MyApp is not actually inheriting the methods, just the data (which includes pointer to functions, but in a C way, not C++: there nothing like AEEApplet.method).
And the second issue is: callbacks are static functions, not regular object methods. It means that you don't have access to "this" pointer. That's why you need a static method to dispatch to the correct "object" method, using "pApp->".
So, it could be handled directly if you never access toany other non-static member of your class, otherwise you need this indirection.

Hi,
Thanx bulach, the explanation was wonderful, just what i needed.
I need some sample code in C++ or any links to make myself more comfortable before i start using C++. (just likea splashing some water, before jumping into to pool :D )
Plz suggest any good books / articles about BREW.
if possible plz provide a note about the advantages and disadvantages of using C++ when compared with C code.
Thanx,
RPDP

Hi,
Thanx bulach, the explanation was wonderful, just what i needed.
I need some sample code in C++ or any links to make myself more comfortable before i start using C++. (just likea splashing some water, before jumping into to pool :D )
Plz suggest any good books / articles about BREW.
if possible plz provide a note about the advantages and disadvantages of using C++ when compared with C code.
Thanx,
RPDP

Quote:
splashing some water, before jumping into to pool
Hey, go for xtreme sport!! Jump into the wild sea!!! :)
Seriously: if you want to learn C++, there are thousands of books around.. There are some classical, like Bjarne Stroustroup...
I'm not aware of BREW & C++ books, but it might exist...
Regarding C x C++: this is a never ending discussion, both sides have pros and cons... Pick whatever you feel more comfortable with...

Quote:
splashing some water, before jumping into to pool
Hey, go for xtreme sport!! Jump into the wild sea!!! :)
Seriously: if you want to learn C++, there are thousands of books around.. There are some classical, like Bjarne Stroustroup...
I'm not aware of BREW & C++ books, but it might exist...
Regarding C x C++: this is a never ending discussion, both sides have pros and cons... Pick whatever you feel more comfortable with...

Hi,
Bulach, thanx for the advice :cool:
Is there an easier way to initialize the AECHAR string other than:
AECHAR Help[] = {'I','n','s','t','r','u','c','t','i','o','n','s','\0'};
by directly specifying the string.
I am terribly outraged in converting the strings to char array,
as i have to "search & replace" using Regular Expressions
(it takes two cycles of "Replace All" to arrive at the required array)
Can anyone plz help me out of this torment!!!!
Thanx in advance.
RPDP

Hi,
Bulach, thanx for the advice :cool:
Is there an easier way to initialize the AECHAR string other than:
AECHAR Help[] = {'I','n','s','t','r','u','c','t','i','o','n','s','\0'};
by directly specifying the string.
I am terribly outraged in converting the strings to char array,
as i have to "search & replace" using Regular Expressions
(it takes two cycles of "Replace All" to arrive at the required array)
Can anyone plz help me out of this torment!!!!
Thanx in advance.
RPDP

You can certainly do the following
const AECHAR* myText = (AECHAR*)L"text";

You can certainly do the following
const AECHAR* myText = (AECHAR*)L"text";

Hi,
Thanx ruben,
but it does not works.
when i declare it as
const AECHAR *Exit = (AECHAR*) "Exit";
IMENUCTL_AddItem(pMe->pIMenuCtl, NULL, 0, IDX_EXIT, Exit, 0);
i get this error:
error C2664: 'unsigned char (struct _IMenuCtl *,const char *,unsigned short,unsigned short,unsigned short *,unsigned long)' : cannot convert parameter 5 from 'const unsigned short *' to 'unsigned shor
i removed the const qualifier and tried it out:
but i only get two blocks (similar to || )
thanx for the help, but is there anything else i need to do in sequence with the initialization
Thanx,
RPDP

Hi,
Thanx ruben,
but it does not works.
when i declare it as
const AECHAR *Exit = (AECHAR*) "Exit";
IMENUCTL_AddItem(pMe->pIMenuCtl, NULL, 0, IDX_EXIT, Exit, 0);
i get this error:
error C2664: 'unsigned char (struct _IMenuCtl *,const char *,unsigned short,unsigned short,unsigned short *,unsigned long)' : cannot convert parameter 5 from 'const unsigned short *' to 'unsigned shor
i removed the const qualifier and tried it out:
but i only get two blocks (similar to || )
thanx for the help, but is there anything else i need to do in sequence with the initialization
Thanx,
RPDP

You need to use the L that ruben specified. This is actuall a c/c++ macro called String Literal and will expand your chars to use 2bytes. I.e.
L"This Is My String";
as opposed to
"This is my string";
- Skavenger.
PS: Usually its good practice never to use hard coded strings. Always load them from the brew resource file or a text file. Makes it easier to do other language versions in the future or even to change a string when you can't remember what source file its in.

You need to use the L that ruben specified. This is actuall a c/c++ macro called String Literal and will expand your chars to use 2bytes. I.e.
L"This Is My String";
as opposed to
"This is my string";
- Skavenger.
PS: Usually its good practice never to use hard coded strings. Always load them from the brew resource file or a text file. Makes it easier to do other language versions in the future or even to change a string when you can't remember what source file its in.

Hi,
Thanx Ruben,
ur suggestion to use resource strings is a notable one for a newbie(myself :D ).
i just tried the use of L"my text" as u said , but i get the same err message :eek:
error C2664: 'unsigned char (struct _IMenuCtl *,const char *,unsigned short,unsigned short,unsigned short *,unsigned long)' : cannot convert parameter 5 from 'const unsigned short *' to 'unsigned short *'
Conversion loses qualifiers
must i add any headers to use L"" ,
if i use resource strings, must i convert them to AECHAR like this before using!!
i recently went thru one the threads at this forum, in which they use the function
STR_TO_WSTR ((char *)pszStr, szBuf, TEXT_BUFFER_SIZE);
to do a similar thing, would this fn accomplish that task.
Thanx,
RPDP

Hi,
Thanx Ruben,
ur suggestion to use resource strings is a notable one for a newbie(myself :D ).
i just tried the use of L"my text" as u said , but i get the same err message :eek:
error C2664: 'unsigned char (struct _IMenuCtl *,const char *,unsigned short,unsigned short,unsigned short *,unsigned long)' : cannot convert parameter 5 from 'const unsigned short *' to 'unsigned short *'
Conversion loses qualifiers
must i add any headers to use L"" ,
if i use resource strings, must i convert them to AECHAR like this before using!!
i recently went thru one the threads at this forum, in which they use the function
STR_TO_WSTR ((char *)pszStr, szBuf, TEXT_BUFFER_SIZE);
to do a similar thing, would this fn accomplish that task.
Thanx,
RPDP

If you use resource strings from your BAR file then no. You will get them in an AECHAR string array.
- Skavenger.
PS: By the way, try removing the "const" from your string declaration, that is where the error is. The compiler is trying to de-const the string which is impossible, as you can only make things more const(ant) not less.

If you use resource strings from your BAR file then no. You will get them in an AECHAR string array.
- Skavenger.
PS: By the way, try removing the "const" from your string declaration, that is where the error is. The compiler is trying to de-const the string which is impossible, as you can only make things more const(ant) not less.

Hi,
Thanx Ruben, no more headache of "Find & Replace" to get the char array.
i will start using the BAR ;) (i mean the resource file).
then i have a menuitem EXIT, in the menulist, when i select that one, i need my app to close,what should i do?
is it enough to post the
ISHELL_PostEvent(pMe->pIShell,AEECLSID_TICTACTOE, EVT_APP_TERMINATE, 0, 0);
but my app does'nt close. help!!!
Thanks
RPDP

Hi,
Thanx Ruben, no more headache of "Find & Replace" to get the char array.
i will start using the BAR ;) (i mean the resource file).
then i have a menuitem EXIT, in the menulist, when i select that one, i need my app to close,what should i do?
is it enough to post the
ISHELL_PostEvent(pMe->pIShell,AEECLSID_TICTACTOE, EVT_APP_TERMINATE, 0, 0);
but my app does'nt close. help!!!
Thanks
RPDP

Try ISHELL_CloseApplet.

Try ISHELL_CloseApplet.

Hi,
Thanx Bulach,
Thanx Skavenger
Doubts, Doubts, Doubts... they creep up into my mind every minute :eek:
Plzzzzz Help
How can we centre align the Menu Title in => IMENUCTL_SetTitle()
is there any other way to centre align a string?.
i have a small doubt about using ISHELL_CloseApplet()
1. would it automatically call FreeAppData() or i should call freeAppData() explicitly
2. then i have defined a applet struct as:
typedef struct _t {
AEEApplet a ;
AEEDeviceInfo DeviceInfo;
IDisplay *pIDisplay;
IShell *pIShell;
IImage *pIImage;
IGraphics *pIGraphics;
IMenuCtl *pIMenuCtl;
int8 moveTable[9] ;
int8 screenx, screeny;
} t;
must i free all the members of this stuct, before exiting
my App throws "Module failed to free all the memory"
i do release *pIImage, *pIGraphics, *pIMenuCtl and make them NULL in FreeAppData()
3. can u plz specify the most common list of resources, we would usually free in
FreeAppData(), other than those allocated by MALLOC()
Any suggestions to improve the code is appreciated.
Thanx
RPDP

Hi,
Thanx Bulach,
Thanx Skavenger
Doubts, Doubts, Doubts... they creep up into my mind every minute :eek:
Plzzzzz Help
How can we centre align the Menu Title in => IMENUCTL_SetTitle()
is there any other way to centre align a string?.
i have a small doubt about using ISHELL_CloseApplet()
1. would it automatically call FreeAppData() or i should call freeAppData() explicitly
2. then i have defined a applet struct as:
typedef struct _t {
AEEApplet a ;
AEEDeviceInfo DeviceInfo;
IDisplay *pIDisplay;
IShell *pIShell;
IImage *pIImage;
IGraphics *pIGraphics;
IMenuCtl *pIMenuCtl;
int8 moveTable[9] ;
int8 screenx, screeny;
} t;
must i free all the members of this stuct, before exiting
my App throws "Module failed to free all the memory"
i do release *pIImage, *pIGraphics, *pIMenuCtl and make them NULL in FreeAppData()
3. can u plz specify the most common list of resources, we would usually free in
FreeAppData(), other than those allocated by MALLOC()
Any suggestions to improve the code is appreciated.
Thanx
RPDP

Only release exactly what you have allocated (Including Any Brew Class Creation). Anything Brew has allocated it will remove itself when you close the applet down.
- Skavenger.

Only release exactly what you have allocated (Including Any Brew Class Creation). Anything Brew has allocated it will remove itself when you close the applet down.
- Skavenger.

hi,
Thanx a lot skavenger, i understood that.
that is
we need to only release the resources created by ISHELL_CreateInstance(), ISHELL_LoadImage, etc....
and
All Varibles defined in applet stucture except those allocated by MALLOC() will be automatically released/freed.
Am I right ?
Then i need help on:
:confused: 1. How can we centre align the Menu Title in => IMENUCTL_SetTitle() is there any other way to centre align a string?.
:confused: 2. i have a small doubt about using ISHELL_CloseApplet()
would it automatically call FreeAppData() or i should call freeAppData() explicitly
:confused: 3.I need to know whether we can keep track of the frame which is being / has been displayed when using sprite images for animation.
IIMAGE_SetParm(pImage, IPARAM_CXFRAME, 32, 0);
IIMAGE_Start(pIImage, 10, 10);
I need to stop the animation when the last frame is reached, is there anyway i could do this.
can we specify the number of times the animation is executed ?,
and also
can we change the (x,y) co-ordinates for each frame being displayed in the sprite animation?
Thanx,
RPDP

hi,
Thanx a lot skavenger, i understood that.
that is
we need to only release the resources created by ISHELL_CreateInstance(), ISHELL_LoadImage, etc....
and
All Varibles defined in applet stucture except those allocated by MALLOC() will be automatically released/freed.
Am I right ?
Then i need help on:
:confused: 1. How can we centre align the Menu Title in => IMENUCTL_SetTitle() is there any other way to centre align a string?.
:confused: 2. i have a small doubt about using ISHELL_CloseApplet()
would it automatically call FreeAppData() or i should call freeAppData() explicitly
:confused: 3.I need to know whether we can keep track of the frame which is being / has been displayed when using sprite images for animation.
IIMAGE_SetParm(pImage, IPARAM_CXFRAME, 32, 0);
IIMAGE_Start(pIImage, 10, 10);
I need to stop the animation when the last frame is reached, is there anyway i could do this.
can we specify the number of times the animation is executed ?,
and also
can we change the (x,y) co-ordinates for each frame being displayed in the sprite animation?
Thanx,
RPDP

Quote:that is
we need to only release the resources created by ISHELL_CreateInstance(), ISHELL_LoadImage, etc....
and
All Varibles defined in applet stucture except those allocated by MALLOC() will be automatically released/freed.
Basically anything you get at pre-allocated at the start will be deallocated by brew, anything you specifically call that results in an allocate / or allocate something using MALLOC or NEW you will need to release yourself.
Quote:1. How can we centre align the Menu Title in => IMENUCTL_SetTitle() is there any other way to centre align a string?.
I have no idea about this as we have never used the IMENU* stuff. We usually write a wrapper function that measures the text and calculates where the string should be placed then call the draw function to draw at this location.
Quote:2. i have a small doubt about using ISHELL_CloseApplet()
would it automatically call FreeAppData() or i should call freeAppData() explicitly
ISHELL_CloseApplet will call the registered free function (set in AEEClsCreateInstance) when you call the close function..
Quote:3.I need to know whether we can keep track of the frame which is being / has been displayed when using sprite images for animation.
Not as far as i know. I usually don't use the IIMAGE_(Animation) stuff. I just do it myself and hold the frame in a variable. Draw using IIMAGE_DrawFrame().
Hope this helps
- Skavenger.

Quote:that is
we need to only release the resources created by ISHELL_CreateInstance(), ISHELL_LoadImage, etc....
and
All Varibles defined in applet stucture except those allocated by MALLOC() will be automatically released/freed.
Basically anything you get at pre-allocated at the start will be deallocated by brew, anything you specifically call that results in an allocate / or allocate something using MALLOC or NEW you will need to release yourself.
Quote:1. How can we centre align the Menu Title in => IMENUCTL_SetTitle() is there any other way to centre align a string?.
I have no idea about this as we have never used the IMENU* stuff. We usually write a wrapper function that measures the text and calculates where the string should be placed then call the draw function to draw at this location.
Quote:2. i have a small doubt about using ISHELL_CloseApplet()
would it automatically call FreeAppData() or i should call freeAppData() explicitly
ISHELL_CloseApplet will call the registered free function (set in AEEClsCreateInstance) when you call the close function..
Quote:3.I need to know whether we can keep track of the frame which is being / has been displayed when using sprite images for animation.
Not as far as i know. I usually don't use the IIMAGE_(Animation) stuff. I just do it myself and hold the frame in a variable. Draw using IIMAGE_DrawFrame().
Hope this helps
- Skavenger.

Hi,
thanx skavenger, every reply will definitely help me improve (or atleast to someone else).
how are the SOFT keys ( AVK_SOFT1 ,2,3,4 ) in a device is mapped.
(for eg. in LGE_CX-300L and Samsung_SPH-E1000 the AVK_SOFT2 is not working properly, but it works fine in sharp-z800).why is it so?
is it better to have our customized controls(menu, textctl,softkeyctl,etc), or is it better to use the ones provided in the SDK ?.
i still face certain problems in using C++ code, but i know C++ is better to handle.
can u plz provide me any links / tutorials / ebooks that basically use C++ code as examples. just to get the hang :eek: of C++ in BREW.
Thanx,
RPDP.

Hi,
thanx skavenger, every reply will definitely help me improve (or atleast to someone else).
how are the SOFT keys ( AVK_SOFT1 ,2,3,4 ) in a device is mapped.
(for eg. in LGE_CX-300L and Samsung_SPH-E1000 the AVK_SOFT2 is not working properly, but it works fine in sharp-z800).why is it so?
is it better to have our customized controls(menu, textctl,softkeyctl,etc), or is it better to use the ones provided in the SDK ?.
i still face certain problems in using C++ code, but i know C++ is better to handle.
can u plz provide me any links / tutorials / ebooks that basically use C++ code as examples. just to get the hang :eek: of C++ in BREW.
Thanx,
RPDP.

Quote:how are the SOFT keys ( AVK_SOFT1 ,2,3,4 ) in a device is mapped.
You need to look at the device emulator skins. Some devices don't have soft keys, some do, some are called other things.... like AVK_WEB etc... And some have the keys but they aren't passed to brew (Kyocera Se47)
Quote:is it better to have our customized controls(menu, textctl,softkeyctl,etc), or is it better to use the ones provided in the SDK ?.
This is up to you. Depends on what your trying to do.
Quote:can u plz provide me any links / tutorials / ebooks that basically use C++ code as examples. just to get the hang of C++ in BREW.
Any standard C++ tutorial should help you get on your way. There are one or two brew books, but they aren't really worth it. Get to know C++ properly and brew should just drop into place quite easily. Even though someone'll probably argue with me about this.
- Skavenger.

Quote:how are the SOFT keys ( AVK_SOFT1 ,2,3,4 ) in a device is mapped.
You need to look at the device emulator skins. Some devices don't have soft keys, some do, some are called other things.... like AVK_WEB etc... And some have the keys but they aren't passed to brew (Kyocera Se47)
Quote:is it better to have our customized controls(menu, textctl,softkeyctl,etc), or is it better to use the ones provided in the SDK ?.
This is up to you. Depends on what your trying to do.
Quote:can u plz provide me any links / tutorials / ebooks that basically use C++ code as examples. just to get the hang of C++ in BREW.
Any standard C++ tutorial should help you get on your way. There are one or two brew books, but they aren't really worth it. Get to know C++ properly and brew should just drop into place quite easily. Even though someone'll probably argue with me about this.
- Skavenger.

Hi,
Thanx skavenger, the idea to view the skin (.qsc) file was excellent.
i think the first 4 parameter of each key denote (sx,sy,ex,ey) in the .bmp file
i have learnt C++,and benefited by using STLs in C++ in my academic project, :)
i just wanted to know how they intergrate the applet class by inheriting with the AEEApplet which is a structure, earlier some of our friends at this forum helped me
but i still need some concrete explanation about this(if possible with examples).
can we use auto_ptr, to avoid memory leaks in BREW.
then is it possible to use STLs in BREW( i think it is no, but i need to confirm it).
Thanx,
RPDP

Hi,
Thanx skavenger, the idea to view the skin (.qsc) file was excellent.
i think the first 4 parameter of each key denote (sx,sy,ex,ey) in the .bmp file
i have learnt C++,and benefited by using STLs in C++ in my academic project, :)
i just wanted to know how they intergrate the applet class by inheriting with the AEEApplet which is a structure, earlier some of our friends at this forum helped me
but i still need some concrete explanation about this(if possible with examples).
can we use auto_ptr, to avoid memory leaks in BREW.
then is it possible to use STLs in BREW( i think it is no, but i need to confirm it).
Thanx,
RPDP

Quote:the idea to view the skin (.qsc) file was excellent.
i think the first 4 parameter of each key denote (sx,sy,ex,ey) in the .bmp file
No offence but its better to load them into the Skin Editor. Which can be downloaded from qualcomm.
Quote:then is it possible to use STLs in BREW( i think it is no, but i need to confirm it).
Yes its possible. But its compiler dependant.
- Skavenger.

Quote:the idea to view the skin (.qsc) file was excellent.
i think the first 4 parameter of each key denote (sx,sy,ex,ey) in the .bmp file
No offence but its better to load them into the Skin Editor. Which can be downloaded from qualcomm.
Quote:then is it possible to use STLs in BREW( i think it is no, but i need to confirm it).
Yes its possible. But its compiler dependant.
- Skavenger.

hi,
Thanx for the instant reply skavenger,
first i need to clear one thing...
why was the words there,
Quote:No offence
(i dont feel anything offensive in ur suggestion)
in fact i have never heard about the existence of the skin editor till now.
then any suggestion about
Quote:can we use auto_ptr, to avoid memory leaks in BREW.
if i use STLs then, then will the memory management in BREW accept it.(will it run on a device)
Thanx,
RPDP

hi,
Thanx for the instant reply skavenger,
first i need to clear one thing...
why was the words there,
Quote:No offence
(i dont feel anything offensive in ur suggestion)
in fact i have never heard about the existence of the skin editor till now.
then any suggestion about
Quote:can we use auto_ptr, to avoid memory leaks in BREW.
if i use STLs then, then will the memory management in BREW accept it.(will it run on a device)
Thanx,
RPDP

No offence, was a turn of phrase.
Quote:if i use STLs then, then will the memory management in BREW accept it.(will it run on a device)
As i said it depends on which compiler you are using. You need override new/delete whichever way you do it.

No offence, was a turn of phrase.
Quote:if i use STLs then, then will the memory management in BREW accept it.(will it run on a device)
As i said it depends on which compiler you are using. You need override new/delete whichever way you do it.

hi,
Thanx skavenger, a doubt :D
if(Device Configurator == skin editor) //the one u specified
{
i have started to use it ; //thanks again

else
{
provide me the link to the for that tool;

i searched by the names skin editor at qualcom and : ( was the result.
Thanx,
RPDP

hi,
Thanx skavenger, a doubt :D
if(Device Configurator == skin editor) //the one u specified
{
i have started to use it ; //thanks again

else
{
provide me the link to the for that tool;

i searched by the names skin editor at qualcom and : ( was the result.
Thanx,
RPDP

You'll have to download the Brew SDK version 2.1 to get it
- Skavenger.

You'll have to download the Brew SDK version 2.1 to get it
- Skavenger.

Hi,
Thanx Skavenger,
Device Configurator(skin editor) was a better way to see the skins.
But does the default mapping provided in the skins correspond to the real device?
(i.e, if i have not changed any settings)
Is there anyway by which we can make the keymappings generic in our builds to suit all (atleast most) devices.
(as some devices use different AVK_1, AVK_ ... for softkeys).
i saw that BREW can be configured for Dev-C++, but no details abt how to configure it was provided. help needed!!
then can i have any info about:
Quote:i just wanted to know how they intergrate the applet class by inheriting with the AEEApplet which is a structure, earlier some of our friends at this forum helped me
but i still need some concrete explanation about this(if possible with examples).
Thanx,
RPDP

Hi,
Thanx Skavenger,
Device Configurator(skin editor) was a better way to see the skins.
But does the default mapping provided in the skins correspond to the real device?
(i.e, if i have not changed any settings)
Is there anyway by which we can make the keymappings generic in our builds to suit all (atleast most) devices.
(as some devices use different AVK_1, AVK_ ... for softkeys).
i saw that BREW can be configured for Dev-C++, but no details abt how to configure it was provided. help needed!!
then can i have any info about:
Quote:i just wanted to know how they intergrate the applet class by inheriting with the AEEApplet which is a structure, earlier some of our friends at this forum helped me
but i still need some concrete explanation about this(if possible with examples).
Thanx,
RPDP