If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

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
Developer
myquestion
Posts: 235
Registered: ‎11-12-2008
My Device: Not Specified

Returing Memory.getPersistentStats() alway zero(i.e 0)

Hi,

  can any body tell me while displaying the        Memory.getPersistentStats() in 4.7 is given value 0.0

always ,can anybody tell me why it is so...

 please suggest any solution...

Please use plain text.
Developer
Ted_Hopp
Posts: 1,305
Registered: ‎01-21-2009
My Device: Not Specified

Re: Returing Memory.getPersistentStats() alway zero(i.e 0)

Memory.getPersistentStats() returns a MemoryStats object, not a number. Do you mean that one of the methods of the MemoryStats object is always returning zero? If so, what method? Can you show us your code?




Solved? click "Accept as solution". Helpful? give kudos by clicking on the star.
Please use plain text.