Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
Timinator
Posts: 5
Registered: ‎07-14-2008
My Device: 8300
Accepted Solution

API for Memory Utilities?

I'm diving back into BB Java development, having been away for about 3 years.  Which API do I use for obtaining the current amount of memory available on the device?

 

Thx.

JDE 4.5
Codito Ergo Sum
Please use plain text.
Administrator
MSohm
Posts: 14,241
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: API for Memory Utilities?

You can use the MemoryStats class to get information on the flash memory on a BlackBerry.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
New Developer
Timinator
Posts: 5
Registered: ‎07-14-2008
My Device: 8300

Re: API for Memory Utilities?

Any chance that someone has an example of using the getFree() call?

 

Thx.

JDE 4.5
Codito Ergo Sum
Please use plain text.