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

Developer

Forums

Forums:

Hi all
I have read that from the available RAM (RAM mentioned in data sheet) , some part belongs to BREW and other phone related tasks and remainng part is available for use by an applet.

How to know for a given device, how much RAM is available for use by my applet??

Thanks in advance.

Krishna

Use IHEAP_GetModuleMemStats(), pls refer brew Api referne for more information.
Thanks,
Mahesh

Use IHEAP_GetModuleMemStats(), pls refer brew Api referne for more information.
Thanks,
Mahesh

Thankd Mahesh,
This information i can get at runtime. But can I have this information from datasheet or any other document. Not exact but atleast some rough idea.
I have made an application which requires very high RAM more than 1MB. Now i am trying to run this application on low memory devices. I have tested my application on emulator with 600-700 kb RAM settings. it works fine. but on device with this RAM it crashes after showing 1-2 screens. So i can not come to any cutoff value of RAM which i can support....
please anyone help...
thanks in advance
Krishna

Thankd Mahesh,
This information i can get at runtime. But can I have this information from datasheet or any other document. Not exact but atleast some rough idea.
I have made an application which requires very high RAM more than 1MB. Now i am trying to run this application on low memory devices. I have tested my application on emulator with 600-700 kb RAM settings. it works fine. but on device with this RAM it crashes after showing 1-2 screens. So i can not come to any cutoff value of RAM which i can support....
please anyone help...
thanks in advance
Krishna

Yes you can find this information in DPK and DDF.
Are you targetting for a game? Is this using BAR if yes you can make two or more bar files and load only when needed, this way you don't have to load those images which are not necessary like game splash images, these images only need to be shown only starting of the game, so why not to put them in one bar file and loading them when game is started and release them when coming to the main menu or game board. This is only one example, you can do optimzation like this. Also you can do optimixzation on code level.
Thanks,
Mahesh

Yes you can find this information in DPK and DDF.
Are you targetting for a game? Is this using BAR if yes you can make two or more bar files and load only when needed, this way you don't have to load those images which are not necessary like game splash images, these images only need to be shown only starting of the game, so why not to put them in one bar file and loading them when game is started and release them when coming to the main menu or game board. This is only one example, you can do optimzation like this. Also you can do optimixzation on code level.
Thanks,
Mahesh

You can get the available RAM using debug sequences:-
Information can be found on below link:-
https://brewx.qualcomm.com/bws/websites/dx/en/brew31/ad/kb/running_apps/...
Use below sequence to enable debug mode
Press ###BREWDEBUG# (ie ###273933284#)
Now you will see message"debug keys On" on top of screen.
Now you can see the available free memory by pressing ###3#
Thanks,
Mahesh

You can get the available RAM using debug sequences:-
Information can be found on below link:-
https://brewx.qualcomm.com/bws/websites/dx/en/brew31/ad/kb/running_apps/...
Use below sequence to enable debug mode
Press ###BREWDEBUG# (ie ###273933284#)
Now you will see message"debug keys On" on top of screen.
Now you can see the available free memory by pressing ###3#
Thanks,
Mahesh

Thanks Mahesh for ur prompt reply,
I want to ask that where and how to enter debug sequences. i have tried from application manager, there i cant enter it. And from the main screen, if i enter the sequences, it is taken as dialed numbers. I am confused from where should i enter debug sequences..
Thanks in advance
krishna

Thanks Mahesh for ur prompt reply,
I want to ask that where and how to enter debug sequences. i have tried from application manager, there i cant enter it. And from the main screen, if i enter the sequences, it is taken as dialed numbers. I am confused from where should i enter debug sequences..
Thanks in advance
krishna

Yes, you have to dial from main OEM screen

Yes, you have to dial from main OEM screen

smahesh wrote:Yes, you have to dial from main OEM screen
not necessary,it dosent happen in v3c atleast,it just takes as anyother number..
krishnaNaik wrote:Thanks Mahesh for ur prompt reply,
I want to ask that where and how to enter debug sequences. i have tried from application manager, there i cant enter it. And from the main screen, if i enter the sequences, it is taken as dialed numbers. I am confused from where should i enter debug sequences..
Thanks in advance
krishna
when u enter numbers in appl manager ull not be able to c it,but if u folllow so to complete the number then ur debug screen wil be activated...

smahesh wrote:Yes, you have to dial from main OEM screen
not necessary,it dosent happen in v3c atleast,it just takes as anyother number..
krishnaNaik wrote:Thanks Mahesh for ur prompt reply,
I want to ask that where and how to enter debug sequences. i have tried from application manager, there i cant enter it. And from the main screen, if i enter the sequences, it is taken as dialed numbers. I am confused from where should i enter debug sequences..
Thanks in advance
krishna
when u enter numbers in appl manager ull not be able to c it,but if u folllow so to complete the number then ur debug screen wil be activated...

Try on App manager

Try on App manager

Thanks Mahesh, manju
I have tried from application manager. In moto v3c its working but on LG AD6335 its not. its a SDK 201 device. I have tried with ### and ###273933284# but nothing happens. any idea for this device.
For moto v3c it displays free RAM as 14.8 MB. And in datasheet its 15 MB. Means 14.8 is the RAM for my applet????
I am using BREW UI Widgets extension. so mod files of forms and widgets also loaded into RAM when my application starts??
Thanks in advance
Krishna

Thanks Mahesh, manju
I have tried from application manager. In moto v3c its working but on LG AD6335 its not. its a SDK 201 device. I have tried with ### and ###273933284# but nothing happens. any idea for this device.
For moto v3c it displays free RAM as 14.8 MB. And in datasheet its 15 MB. Means 14.8 is the RAM for my applet????
I am using BREW UI Widgets extension. so mod files of forms and widgets also loaded into RAM when my application starts??
Thanks in advance
Krishna

Hi Mahesh,
You have answered the questions nicely and sincerely .
I liked this discussion. Actually , I am new comer to BREW . Can you please tell ,how can I develop BREW knowledge solidly ?
Thanks in advance,
Regards,
ARU

Hi Mahesh,
You have answered the questions nicely and sincerely .
I liked this discussion. Actually , I am new comer to BREW . Can you please tell ,how can I develop BREW knowledge solidly ?
Thanks in advance,
Regards,
ARU

Hi ARU,
The BREW Programming Primer provides fundamental information about the BREW development environment and the steps to create a BREW application and run it on the BREW Simulator. The Programming Primer is the first in a series of primers provided by QUALCOMM to assist you in learning how to develop BREW applications from start to finish. Here you can get it
https://brewx.qualcomm.com/brew/sdk/download.jsp?page=dx/en/brew31/ad/do...
You can start with simple brew application
https://brewx.qualcomm.com/brew/sdk/download.jsp?page=dx/en/brew31/ad/do...
and
http://brew.qualcomm.com/brew/en/developer/articles/first_applet.html
Articles on brew can be found at
http://brew.qualcomm.com/brew/en/developer/support/articles_books.html#a...
I would also suggest you to visit brew forum regularly to get useful information and discussion.
Thanks,
Mahesh

Hi ARU,
The BREW Programming Primer provides fundamental information about the BREW development environment and the steps to create a BREW application and run it on the BREW Simulator. The Programming Primer is the first in a series of primers provided by QUALCOMM to assist you in learning how to develop BREW applications from start to finish. Here you can get it
https://brewx.qualcomm.com/brew/sdk/download.jsp?page=dx/en/brew31/ad/do...
You can start with simple brew application
https://brewx.qualcomm.com/brew/sdk/download.jsp?page=dx/en/brew31/ad/do...
and
http://brew.qualcomm.com/brew/en/developer/articles/first_applet.html
Articles on brew can be found at
http://brew.qualcomm.com/brew/en/developer/support/articles_books.html#a...
I would also suggest you to visit brew forum regularly to get useful information and discussion.
Thanks,
Mahesh

Thank you very much ,Mahesh ,thank you very much. Time being , I will start with this. As you suggested , I go through forums and try to participate in discussion.
Thanks once again,
Regards,
ARU

Thank you very much ,Mahesh ,thank you very much. Time being , I will start with this. As you suggested , I go through forums and try to participate in discussion.
Thanks once again,
Regards,
ARU

Hi Mahesh,
I have gone through the link. But i am not able to turn on debug mod for LGAD6335 device. The following is mentioned on that link
The default sequence for enabling debug modes is three ‘#’ keys; however, the prefix key and prefix length are OEM configurable, meaning this sequence may vary from device to device.
So I think for LGAD 6335 device the sequence to enable debug mode is something else. Any idea how to know that sequence.
Thanks in advance
Krishna

Hi Mahesh,
I have gone through the link. But i am not able to turn on debug mod for LGAD6335 device. The following is mentioned on that link
The default sequence for enabling debug modes is three ‘#’ keys; however, the prefix key and prefix length are OEM configurable, meaning this sequence may vary from device to device.
So I think for LGAD 6335 device the sequence to enable debug mode is something else. Any idea how to know that sequence.
Thanks in advance
Krishna

Dear Mahesh,
I would like to have W65T Device Pack File. I have searched this dpk file for W65T in Internet. But , I was not able to succeed . Can you guide me , how to get these dpk file?
Thanks & Regards,
ARU

Dear Mahesh,
I would like to have W65T Device Pack File. I have searched this dpk file for W65T in Internet. But , I was not able to succeed . Can you guide me , how to get these dpk file?
Thanks & Regards,
ARU