Linked Questions
31 questions linked to/from Get Memory Usage in Android
0
votes
1
answer
3k
views
How get average CPU usage in Android? [duplicate]
I want to get the average CPU usage in Android per 100ms or 500ms. I have tried to use top and dumpsys cpuinfo, but neither of them tell me the average usage or the timestamp. So how can I get the ...
2
votes
1
answer
499
views
How to determinate statement's cpu usage in android [duplicate]
Possible Duplicate:
How to get Memory usage and CPU usage in android?
I'm writing an android application that needs to know how much cpu/battery intensive are some statements.
For example if I ...
137
votes
12
answers
251k
views
How to get current memory usage in android?
I have used /proc/meminfo and parsed command response.however it result shows that :
MemTotal: 94348 kB
MemFree: 5784 kB
means. it shows there is only 5MB free memory. Is it ...
23
votes
6
answers
23k
views
How can you detect a dual-core cpu on an Android device from code?
I've run into a problem that appears to affect only dual-core Android devices running Android 2.3 (Gingerbread
or greater). I'd like to give a dialog regarding this issue, but only to my users that ...
13
votes
7
answers
3k
views
Determining minimum memory requirement and CPU usage
I have been working on one Java software project, which will be deployed to various hardware devices (e.g., raspberry pi, android phone).
Before releasing this project as product, I would like to ...
6
votes
4
answers
16k
views
Programmatically find Android system info
I am trying to programatically find the system info for Android devices, specifically:
RAM
CPU speed
# cores, architecture, etc.
Are there any Android classes that specify this information. I have ...
6
votes
5
answers
14k
views
Dumpsys permission denial in java
I am trying to obtain the dumpsys statistics [like dumpsys cpuinfo, dumpsys battery]. I executing these in java and writing it to a file. But I am getting,
2012.06.20 07:32:19
Permission Denial: can'...
2
votes
5
answers
16k
views
Android cpu cores reported in /proc/stat
I am developing an Android application that shows the CPU load per core and memory consumption. For CPU load I am reading /proc/stat and for memory -> /proc/meminfo.
However I see that the number of ...
6
votes
1
answer
5k
views
Find app's CPU usage on Android
Is there an android API that provides CPU, memory usage of the running app? I would like to tune my processing in the app on the fly based on the cpu usage.
2
votes
2
answers
13k
views
How do I read CPU "stats" in Java from an Android phone?
I am trying to figure out the CPU usage by core, perhaps the temp if possible, and in general figure out what I can read from the CPU.
I have done some searching, and I have some code that returns ...
3
votes
1
answer
4k
views
When coding for Android, is there a way to get the CPU usage for each core of the device individually?
this is my first time asking a question here. I tried to be well researched, so I apologize in advance if I overlooked a post for this question before. I'm looking to see if I can get the usage ...
5
votes
1
answer
4k
views
Android - get allocated memory
is there any way, how to determine actual allocated memory in Android application (in code)?
Thanks
Waypoint
0
votes
2
answers
6k
views
How to find the Memory used by particular process in android?
I am struggling for a solution to find the memory used by particular process in android.
Using actvityManager.getRunningAppProcesses() I can able to get the consolidated list of all process's memory ...
2
votes
2
answers
3k
views
Retrieving configuration of my android device programmatically
Can anyone explain me that how can i get the configuration of Android device programatically in my app.
Also how can I get the other device related information like Battery usage,CPU load,RAM usage,...
0
votes
1
answer
3k
views
How do apps measure CPU usage (as a %)?
So I'm trying to write an app that measures CPU usage (ie, the time CPU is working vs the time it isn't). I've done some research, but unfortunately there are a bunch of different opinions on how it ...