*typo actman.getMemoryInfo(meminfo); On Mon, Mar 2, 2009 at 10:55 AM, Anonymous Anonymous < firewallbr...@googlemail.com> wrote:
> Hi All, > > I am trying to re-use a function to get free memory available.But in case > of full condition getMemoryInfo() always returns a wrong value. > -------------------------------------------------------------------------- > ActivityManager actman = (ActivityManager) > context.getSystemService(Context.ACTIVITY_SERVICE); > ActivityManager.MemoryInfo meminfo = new ActivityManager.MemoryInfo(); > actman.getMemoryInfo(outInfo); > return meminfo.lowMemory; > > ---------------------------------------------------------------------------- > > Am always getting meminfo meminfo.lowMemory FALSE !! (0 mem available in > system - i used fillup) > > Any clues on this? > > Thanks in advance > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---