[APP][2.2+] Diagnosis - Know what Android is doing!

Search This thread

Dark3n

Recognized Developer
Sep 14, 2007
2,625
5,470
twitter.com

attachment.php


Diagnosis - Know what's going on!

Description:

Ever wondered what your Android is currently doing?

On Windows we can open the task manager and get all the information we want.
On Android it will suspend the app we are currently using, but what if we wanted information about that app?
What if wanted to know if an app is currently downloading or uploading something? How much cpu is this app using?
Is this app running out of memory?
Is the battery getting too hot ?
What apps are running in the background, at this moment?
Did another app just start and cause lag?
Why doesnt this app tell me how much battery i have left?
Loosing track of time while gaming?

Diagnosis can display system information at all times, even while using other apps.
When Diagnosis is turned on, a small customizeable text is shown on screen giving you information of your choice.

(Check out the screenshots at the end of the post)

There are lots of settings to customise everything to your personal preference:
- Information displayed
- Position
- Size
- Color
- Font
- Update interval and much more...
Just give it a look, it is self explaining, but i will write a small guide later on.

If you wish you can turn on the database feature.
The collected information will be written into a seperate database on the sdcard and 4 extra tabs will appear.
These tabs will show information from the database (min/max/avg etc. values).
Some examples:
- How hot the battery got
- Minimum battery voltage reached
- Upload / Download traffic
- Seen apps with avg cpu and memory usage
This will work on any device with android 2.2 or higher.
You don't need ROOT or anything special.

I want to thank everyone who helped me test the early builds!
(DarkhShadow, Xero, SebNapi, diewood,Pele,Perka,Zurchpet,arif-ali,eoghan2t7,addi)
If i missed anyone and you read this, tell me and i will add you.​


If you want to talk about my apps,
help me with updates, new apps or just want to chat, visit my chatroom!
Through your browser at
http://webchat.freenode.net/?channels=#dark3n
OR an IRC client of your choice
irc.freenode.net Channel #dark3n​



Screenshots,screenshots,screenshots!

 
Last edited:

Dark3n

Recognized Developer
Sep 14, 2007
2,625
5,470
twitter.com

More Screenshots!

Current changelog:
v0.8.1(29)
- Updated translations
- Added Italian language
- Added targetApi to change menu button behavior
- Added path for sgs3
- Made some startup tweaks, to fix busybox errors

v0.8.0(28)
- Translation updates
- UI tweaks
- Performance tweaks to reduce memory footprint
- Fix for potential UI FC
- Updated ABS to 4.1

v0.7.9(27)
- Fixed 0 output for some of the new infos
- Some small code tweaks
- More translation preparations

v0.7.8(26)
- Fixed bug in core detection, hardcoding 4 for now
- More translation preperations
- Added new busybox
- Added multicore cpu usage [Pro]
- Fixed UI crash

v0.7.7(25)
- Fixed FC in app stats page
- Added cpu frequency support for multi-core processors
- Tiny performances improvements
- Multi language preperations
- Removed possible max/min cpu freq (data was not conclusive and overlapped max/min observed)
- Some work on the stats tab
- Added external sd support for Transformer

v0.7.6(24)
- Fixed resetting settings bug
- Don't show app stats, if statistic for it is not enabled

v0.7.5(23)
- Written some function into a class to use less and better code
- Fixed typos
- Added avg space usage to stats tab
- Added timeout incase of startup loop

(...)
 
Last edited:

Dark3n

Recognized Developer
Sep 14, 2007
2,625
5,470
twitter.com
Small update.

Lower density means bigger database, but more accurate data in the tabs.
With the default update interval of 5 seconds, it would mean every 30 seconds there is enough data for a database entry.

What do you think about the default update interval of 5 seconds? Too long , too short or just right?

v0.3.1
- Eased cpu usage a bit by adding a small delay
- Corrected some debug output
- lowered default density to from 12 to 6
- decreased maximum density from 120 to 60
- added text for default x and y position in preferences
 
  • Like
Reactions: B1ny

Cloaker

Senior Member
Nov 8, 2011
413
119
Northglenn, CO
Hello, thanks dev! I love this concept and have been using it since xmas. :p

Personally, I like the default at 2. Not sure how much that increases battery usage... I just like real time info.

Another couple things, adding temp to the default line 1. Maybe take away cpu freq or network up speed?

Temps in Fahrenheit.

And option to customize the threshold for "app cpu usage over x percent".

Option to start the service on boot.
 

Dark3n

Recognized Developer
Sep 14, 2007
2,625
5,470
twitter.com
Thanks for the input.

I will add extra info options with Temp instead of cpu freq or network speed.
Also Fahrenheit will be added as an option to the settings.

I'm current reworking the database feature as under certain conditions some info was not saved.

custom threshold and start on boot will be something for later :).
 

Cloaker

Senior Member
Nov 8, 2011
413
119
Northglenn, CO
I will add extra info options with Temp instead of cpu freq or network speed.
Also Fahrenheit will be added as an option to the settings.

I'm current reworking the database feature as under certain conditions some info was not saved.

custom threshold and start on boot will be something for later :).

Well awesome, keep up the good work, I really like this app. I'll keep you informed if I find anything else. :)
 

B1ny

Senior Member
Jul 21, 2008
382
21
I have mine updating every 10 sec, any quicker and I ain't got time to read it :)
 

arif-ali

Retired Recognized Developer
Nov 14, 2007
1,005
1,455
Sheffield
blog.arif-ali.co.uk
One feature that would be useful is that it would start at startup, I.e. the monitoring, so the text comes as soon as the phone starts

Btw, it works in ICS as well

Sent from my GT-I9100 using Tapatalk
 
Last edited:

Dark3n

Recognized Developer
Sep 14, 2007
2,625
5,470
twitter.com
The display of informationnn worked really well but i was not satisfied with the database storing. I reworked the whole storing code and the result looks good, much cleaner code and more efficient. Some tweaks can be added but i'm going to sleep now, have to leave something for later ;).

@Cloaker added two sets with temperature instead of frequency and the settings contain an option for fahrenheit now.

Might move the setting, not sure if it should belong there...

Version v0.4 rc1

Changelog
v0.4
- fixed database enabling only working after restart of app
- added changelog
- added about dialog, with XDA link and email button
- improved some UI stuff
- rewrote database saving code
- added new info lines with temperature instead of cpu frequency
- added option for fahrenheit instead of celsius
- changed default cache value to 24
 
  • Like
Reactions: B1ny

Dark3n

Recognized Developer
Sep 14, 2007
2,625
5,470
twitter.com
I'm currently thinking if it would be good/needed/worth it to add disk write/read information...
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 74

    attachment.php


    Diagnosis - Know what's going on!

    Description:

    Ever wondered what your Android is currently doing?

    On Windows we can open the task manager and get all the information we want.
    On Android it will suspend the app we are currently using, but what if we wanted information about that app?
    What if wanted to know if an app is currently downloading or uploading something? How much cpu is this app using?
    Is this app running out of memory?
    Is the battery getting too hot ?
    What apps are running in the background, at this moment?
    Did another app just start and cause lag?
    Why doesnt this app tell me how much battery i have left?
    Loosing track of time while gaming?

    Diagnosis can display system information at all times, even while using other apps.
    When Diagnosis is turned on, a small customizeable text is shown on screen giving you information of your choice.

    (Check out the screenshots at the end of the post)

    There are lots of settings to customise everything to your personal preference:
    - Information displayed
    - Position
    - Size
    - Color
    - Font
    - Update interval and much more...
    Just give it a look, it is self explaining, but i will write a small guide later on.

    If you wish you can turn on the database feature.
    The collected information will be written into a seperate database on the sdcard and 4 extra tabs will appear.
    These tabs will show information from the database (min/max/avg etc. values).
    Some examples:
    - How hot the battery got
    - Minimum battery voltage reached
    - Upload / Download traffic
    - Seen apps with avg cpu and memory usage
    This will work on any device with android 2.2 or higher.
    You don't need ROOT or anything special.

    I want to thank everyone who helped me test the early builds!
    (DarkhShadow, Xero, SebNapi, diewood,Pele,Perka,Zurchpet,arif-ali,eoghan2t7,addi)
    If i missed anyone and you read this, tell me and i will add you.​


    If you want to talk about my apps,
    help me with updates, new apps or just want to chat, visit my chatroom!
    Through your browser at
    http://webchat.freenode.net/?channels=#dark3n
    OR an IRC client of your choice
    irc.freenode.net Channel #dark3n​



    Screenshots,screenshots,screenshots!

    12

    More Screenshots!

    Current changelog:
    v0.8.1(29)
    - Updated translations
    - Added Italian language
    - Added targetApi to change menu button behavior
    - Added path for sgs3
    - Made some startup tweaks, to fix busybox errors

    v0.8.0(28)
    - Translation updates
    - UI tweaks
    - Performance tweaks to reduce memory footprint
    - Fix for potential UI FC
    - Updated ABS to 4.1

    v0.7.9(27)
    - Fixed 0 output for some of the new infos
    - Some small code tweaks
    - More translation preparations

    v0.7.8(26)
    - Fixed bug in core detection, hardcoding 4 for now
    - More translation preperations
    - Added new busybox
    - Added multicore cpu usage [Pro]
    - Fixed UI crash

    v0.7.7(25)
    - Fixed FC in app stats page
    - Added cpu frequency support for multi-core processors
    - Tiny performances improvements
    - Multi language preperations
    - Removed possible max/min cpu freq (data was not conclusive and overlapped max/min observed)
    - Some work on the stats tab
    - Added external sd support for Transformer

    v0.7.6(24)
    - Fixed resetting settings bug
    - Don't show app stats, if statistic for it is not enabled

    v0.7.5(23)
    - Written some function into a class to use less and better code
    - Fixed typos
    - Added avg space usage to stats tab
    - Added timeout incase of startup loop

    (...)
    6
    Fixed one last bug where wifi statistics would not show.

    v0.6 is on the market now.

    Have a nice weekend everyone! :)
    6
    Just put 0.5.6 on the market.
    I hope to have fixed that FC, threading issues can be nasty to fix :).
    I managed to include all your requests.

    The settings menu now includes an entry to enter your own custom dividers.
    You could even do
    CPU 70% ~|DONT LOOK AT MY SCREEN |~ MEM 90MB
    :D.

    Setting hex colors, you have already seen on the screen shot.

    I'm also requesting the INTERNET permission for Diagnosis now.
    It is needed for the new latency information, which basicly pings google.com and gives you an indication on the "Lag" of your connection.
    It will display the time in milliseconds it took one datapacket to reach googles server and return to you.
    Values at more than 500ms it will just display ">500ms".
    This will use a little bit of bandwith, if you can notice it, i would be interested in some statistics.
    I will have some from my phone in a few days, which i will post.
    If this information is not displayed, it will not be active and thus consume nothing, it is not being saved to database for now.
    The new internet permission also allows me to use the open source crash reporter ACRA, which will make it alot easier to fix bugs.

    I also added android:anyDensity="true" this version, let me know if it works for the custom density crowd out there ;).

    Have to get up in 5 hours already argggg...
    Good night everyone!

    Changelog:
    v0.5.6(13)
    - Fixed bug that caused FC when editing the lines live
    - Hiding/Showing tabs now if database is enabled/disabled
    - Added feature to load/store 3 selfmade presets
    - Added possibility to type in hex color codes
    - Changed battery temp display to round to two decimal places
    - Added INTERNET permissions
    - Added crash report tool
    - Added ping/latency display
    5
    New version in on the market.
    Thanks to everyone who send in bug reports.
    I believe to have fixed them all ;).

    Final changelog for this version:
    v0.5.4(11)
    - added 4th line
    - added functionality for customising each line independently
    - added functionality to build custom info lines
    - improved database code
    - rearranged some dependencies
    - fixed FC when changing orientation while selecting color
    - fixed FC when entering no x or y pos
    - fixed FC caused by open cursor
    - fixed possible FC after dialogs
    - small UI tweaks
    - added functionality to have a background drawn behind the text

    I think that one works OK. See screenshot.

    Check the new version i think i have found what was causing the tabhost to malfunction on MIUI ROMs. Let me know

    Great app! Thanks.

    One suggestion : would be great it we could set level of transparency for background overlay to make the text slightly more legible.

    It's already in the new update :D.

    6 am :eek:
    I code to much.
    ZzzzzzZzzzzz