Saturday, July 3, 2010

[android-developers] How to get Memory Usage in android?

Hello guys !

I am trying to develop a widget which can shows current memory & cpu
usage of a mobile.

to get Memory usage, I am using: /proc/meminfo command.

I have parsed the response for the both command, however it shows that

MemTotal: 94348 kB
MemFree: 5784 kB

Is this the correct result? it shows that there is only 5 MB free. Or
am I missing something?


Regards,
Badal Z

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment