Hi Diana, Couple of things: 1. Display available RAM - 2. Allocate static memory based on certain percentage of available RAM and let the user do some tests for some sort of monitoring APP. private static byte[][] allocateMem; allocateMem = new byte[m][m]; // m = 1024 for 1MB of available RAM ..lets say...
Thanks for your response, Chander On Jan 20, 10:53 pm, "Dianne Hackborn" <hack...@android.com> wrote: > Between Linux and Dalkvik's VM "available device RAM" is pretty > meaningless. What are you wanting to accomplish. > > On Tue, Jan 20, 2009 at 7:44 AM, android_soft <cspeche...@gmail.com> wrote: > > > Hi All, > > Anyone knows how to get the available Device RAM through an API ? > > I am not looking for - Runtime.getInstance().freeMemory() > > > Thanks in advance, > > Chander > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support. All such questions should be posted on public > forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---