The first is about the the VM in the local process, the second is a
rough measure of the memory situation in the overall system:

http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Runtime.html#freeMemory()

http://code.google.com/android/reference/android/app/ActivityManager.MemoryInfo.html#availMem

On Nov 16, 9:46 pm, "dailyLife"<[EMAIL PROTECTED]> wrote:
> In Android System,
> 1,Runtime.getRuntime().freeMemory();
> 2,ActivityManager.MemoryInf.availMem
> Is anyone know the difference between both above.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to