I am trying to get memory usage values using this class, but all the class members are zero. I am calling it like this:
android.os.Debug.MemoryInfo dbm = new android.os.Debug.MemoryInfo();
but them dbm.dalvikPss (and the other class members) are zero. Any ideas? Thanks in advance.