Hi, No, you should be able to access /proc/meminfo even from userland just fine. It would be the best way to do it. Yesterday I was browsing the source for Android's "Running Services" app and this is what it does (gets meminfo and adds "free" + "cached" together to get free mem, total mem it does something else, but total is in meminfo though)
-niko On Aug 7, 12:37 am, Jonathan <[email protected]> wrote: > Hi - I am simply looking for a way to get the total Ram available to > the device. I have been able to get available Ram from a MemoryInfo > object with no problems, but what I really want to know is what > percentage is available - and so need the total. The Runtime methods > give absurdly low values. Is there a simple way to do this? Do I > have to go into the ndk to get at /proc/meminfo? > > Thank you, > > Jonathan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

