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

Developer

Forums

Forums:

hi all,
i am new to BREW plz tell me y we are using AEEModGen.c,AEEAppGen.c in C++ program too.What exactly they contain and also plz tell me about IApplet and IModule.....................

Hi,
Your code execution as it seems doesnt start with AEEClsCreateinstance.
There are two more functions which are called before AEEClsCreateinstance.
And these functions are in Appgen and modgen file.
If you are using visual studio, then jus right click on AEEClsCreateinstance and click on "Go to definition"..this is how you can trace the function call.

Hi,
Your code execution as it seems doesnt start with AEEClsCreateinstance.
There are two more functions which are called before AEEClsCreateinstance.
And these functions are in Appgen and modgen file.
If you are using visual studio, then jus right click on AEEClsCreateinstance and click on "Go to definition"..this is how you can trace the function call.

- ModGen template provides AEEClsCreateInstance() as entry point instantiation of class(es) supported module. AEEMod_Load() is used for loading module
- AppGen template provides Applet_New() as constructor for applet class(es)
- Any class that implements the IApplet interface in BREW is an “Application”
Check this document from BREW conference 2007. Good document which explains in detail about the BREW application framework.
Site:
http://brew.qualcomm.com/brew/en/press_room/events/brew_2007/pres_video_...
Document:
PROG-301 - Understanding the BREW Application Framework
http://brew.qualcomm.com/bnry_brew/pdf/brew_2007/Prog-301_Singh_v01_br.pdf

- ModGen template provides AEEClsCreateInstance() as entry point instantiation of class(es) supported module. AEEMod_Load() is used for loading module
- AppGen template provides Applet_New() as constructor for applet class(es)
- Any class that implements the IApplet interface in BREW is an “Application”
Check this document from BREW conference 2007. Good document which explains in detail about the BREW application framework.
Site:
http://brew.qualcomm.com/brew/en/press_room/events/brew_2007/pres_video_...
Document:
PROG-301 - Understanding the BREW Application Framework
http://brew.qualcomm.com/bnry_brew/pdf/brew_2007/Prog-301_Singh_v01_br.pdf