process management - Android how to get name and memory usage of all the running application -


i'm getting processname , pid using activity manager , getprocessmemoryinfo(),but how exact memory used applications,as i'm getting different memories gettotalprivatedirty(),gettotalpss(),gettotalshareddirty()

all above not matching of memory shown in application manager.

anyone have idea?

as how discover memory usage of application in android? covers, there no such thing "exact memory usage". if want reproduce algorithm application manager uses, @ source code!


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -