5,600,919 Members 42,327 Now Online
XDA Developers Android and Mobile Development Forum

[APP] [4.0.3] CPU Spy Reborn

Tip us?
 
Mirko ddd
Old
(Last edited by Mirko ddd; 28th June 2013 at 06:38 PM.)
#1  
Mirko ddd's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 4687
Posts: 1,441
Join Date: Nov 2010
Location: Piazza Armerina

 
DONATE TO ME
Default [APP] [4.0.3] CPU Spy Reborn



Hello XDA friends,

one of the first apps I installed on my android phone was CPU Spy, a very famous app that displayed the phone freqs and their time in state and kernel info.

Really a basic app, but was one of the best, time ago, to have some diagnostic about our freqs use; this is the reason why it has over 500.000 downloads, not bad !

Well I love that app, but since android 4.0, with the holo theme coming, several old apps have been updated and made them available for tablets, optimized and so on, but the app I love no , has a basic holo actionbar, no tablet support, no multi location strings.. well has not been updated, that s all.

So I contacted Brandon Valosek, CPU Spy developer and asked (and had) his permissions to edit and redistribute his app to better suit my tastes and latest android generations.

Here is my version of the app, called CPU Spy Reborn, let s see what s new:




Phone layout is simple, all available freqs are listed like a listview (but is not) with a card style and a nice color palette to better read your datas.
Actionbar, instead, is a custom actionbar that displays total time state (that is a button you can use to refresh total datas, but don t worry, app refresh itself everytime is onResume(), so when you open the app, no need to run in background and waste battery).




In landscape mode we have a gridlayout, to use better the space available and avoid loooong scrolling.





Tablet layout (7inch) shows everything in one screen, no need to look for this or that, simple, clean, fast!



The app is Open Source, feel free to fork, contribute, rate.

By the way, app is localized in italian and english, but I m open to accept every translation (will be credited in the app), so if some of you is interested to contribute.. DO IT !


New screenshots:




NICOLA SAVED ME!

If I helped you and/or you like my rom consider a small donation and/or join Disaster Family on Facebook
I DON'T ANSWER ON PM ABOUT ROM/MODDING STUFFS

The Following 141 Users Say Thank You to Mirko ddd For This Useful Post: [ Click to Expand ]
 
Mirko ddd
Old
(Last edited by Mirko ddd; 4th July 2013 at 08:40 PM.)
#2  
Mirko ddd's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 4687
Posts: 1,441
Join Date: Nov 2010
Location: Piazza Armerina

 
DONATE TO ME
Code:
v2.1.2
-added floating cpu spy reborn. from launcher go in "widget" screen and drag the shortcut into an homescreen.
the floating app is resizable (with pinch to zoom) and is hideable (drag it on the left edge of the screen) and ready to use.

v2.1.1
-customize navigation drawer menu (text only, icon only, text and icon, show or hide support menu)
-customize background for share screen (choose 4 different backgrounds). Backgrounds are just instant backgrounds, will reset once you share your contents or change orientation.
-fixed some layout size for 7inch tablets
-updated french, slovak, russian and portoguese localizations.

v2.1.0
-pull to refresh centered
-navigation drawer (double for phones) 
-share stats with friends
-Google+ login and invite to share
-themes for main screen (default, blue, holo light)
-share screen  (default, blue, holo light, default fullscreen, blue fullscreen, holo light fullscreen)

v2.0.9
-added pull to refresh (almost like gmail)
-added governor info
-added freq range info
-merged polish, greek, arab, hungarian, turkish translations and updated the existing ones

v.2.0.8
not released

v2.0.7
-added hint for new users  

v2.0.6
-fix: russian localization 
-fix: FC when kernel states file couldn t be read

v2.0.5
-merged russian, slovak, traditional chinese, indonesian translations
-added CPU info, memory info and better kernel format info

v2.0.4
-info retrieve (fix)

v2.0.3
-merged czech and fixed spanish translation
-added device and rom info
-added contributors fragment (testers and translators).

v2.0.2
-merged german, portoguese and spanish translations

v2.0.1
merged dutch and french translations
the strings, in case wanna help translate


Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="app_name">CPU Spy Reborn</string>
    <string name="time_in_state">Time in State</string>
    <string name="kernel_info">Kernel Info</string>
    <string name="unused_states">Unused CPU states</string>
    <string name="error">No states file found. Are you sure your phone is compatible?\n\nIf you are running a custom ROM or kernel, try contacting its developer to inform him that the states file is not readable.</string>
    <string name="reset_timers">Reset Timers</string>
    <string name="restore_timers">Restore Timers</string>
    <string name="toast">Update States</string>
    <string name="about">Info</string>
    <string name="thanks">Thanks</string>
    <string name="to_brandon_valosek">A special thank to Brandon Valosek, original CPU spy developer, for his wonderful app and for making it open source. It was one of my first android app I installed, but I wanted to let people look it through my eyes redesigning it. One more thank goes to Nick Butcher and Roman Nurik for design inspiration with "Android Design in Action" series. Last thanks go to XDA Developer Community and HDBlog where I learnt something about development. And Androidiani friends of course!</string>
    <string name="sources">Sources</string>
    <string name="sources_text1">CPU Spy</string>
    <string name="sources_text2">Brandon Valosek</string>
    <string name="sources_text3">CPU Spy Reborn</string>
    <string name="sources_text4">Mirko Dimartino aka Mirko ddd</string>
    <string name="device">Device</string>
    <string name="mem">Memory</string>
    <string name="contributors">Contributors</string>
    <string name="translators">Translators</string>
    <string name="testers">Testers</string>
    <string name="sh_title">Tap total time</string>
    <string name="sh_summary">to refresh states.</string>
    <string name="freq_range">Frequencies range</string>
    <string name="no_connection">No internet connection</string>
    <string name="themes">Themes</string>
    <string name="choosetheme">Choose theme</string>
    <string name="mainscreen">Main screen</string>
    <string name="sharescreen">Share screen</string>
    <string name="settings">Settings</string>
    <string name="googleplus">Support</string>
    <string name="sharestats">Share stats!</string>
    <string name="invitetoshare">Invite to share</string>
    <string name="sign_out_button_name">Sign out</string>
    <string name="default_status"/>
    <string name="signed_in_status">Signed in.</string>
   <string name="plus_generic_error">Sign in with Google is not available.</string>
   <string name="progress_message">Signing in to Google…</string>
</resources>
NICOLA SAVED ME!

If I helped you and/or you like my rom consider a small donation and/or join Disaster Family on Facebook
I DON'T ANSWER ON PM ABOUT ROM/MODDING STUFFS

The Following 9 Users Say Thank You to Mirko ddd For This Useful Post: [ Click to Expand ]
 
zenosteam
Old
#3  
zenosteam's Avatar
Senior Member
Thanks Meter 141
Posts: 1,435
Join Date: Jan 2011
Location: oran
Cool you refresh the application i am an old user of cpu spy it is by default on my phone thank

Envoyé depuis mon GT-I9300 avec Tapatalk
 
Mirko ddd
Old
#4  
Mirko ddd's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 4687
Posts: 1,441
Join Date: Nov 2010
Location: Piazza Armerina

 
DONATE TO ME
Quote:
Originally Posted by zenosteam View Post
Cool you refresh the application i am an ild the user of cpu spy it by default on my phone thank

Envoyé depuis mon GT-I9300 avec Tapatalk
de rien mon amie, could you provide a french translation ?
NICOLA SAVED ME!

If I helped you and/or you like my rom consider a small donation and/or join Disaster Family on Facebook
I DON'T ANSWER ON PM ABOUT ROM/MODDING STUFFS

The Following User Says Thank You to Mirko ddd For This Useful Post: [ Click to Expand ]
 
ghira283
Old
#5  
ghira283's Avatar
Member
Thanks Meter 19
Posts: 60
Join Date: Aug 2012
Location: roma
Ei mirko cio capito ben poco di quello che dite ma l'app mi piace

Inviato dal mio GT-I9100
S4 white
CarHDRom V.24.1
Kernel ktoonsez
The Following User Says Thank You to ghira283 For This Useful Post: [ Click to Expand ]
 
andrewwright
Old
#6  
andrewwright's Avatar
Senior Member
Thanks Meter 2376
Posts: 4,469
Join Date: Feb 2013
Thank you. Nice layout.

I9100
Alliance v8 lss
Dorimanx 8.25
nels1
 
tlf55
Old
#7  
Senior Member
Thanks Meter 69
Posts: 867
Join Date: Mar 2011
Quote:
Originally Posted by Mirko ddd View Post


Hello XDA friends,

one of the first apps I installed on my android phone was CPU Spy, a very famous app that displayed the phone freqs and their time in state and kernel info.

Really a basic app, but was one of the best, time ago, to have some diagnostic about our freqs use; this is the reason why it has over 500.000 downloads, not bad !

Well I love that app, but since android 4.0, with the holo theme coming, several old apps have been updated and made them available for tablets, optimized and so on, but the app I love no , has a basic holo actionbar, no tablet support, no multi location strings.. well has not been updated, that s all.

So I contacted Brandon Valosek, CPU Spy developer and asked (and had) his permissions to edit and redistribute his app to better suit my tastes and latest android generations.

Here is my version of the app, called CPU Spy Reborn, let s see what s new:




Phone layout is simple, all available freqs are listed like a listview (but is not) with a card style and a nice color palette to better read your datas.
Actionbar, instead, is a custom actionbar that displays total time state (that is a button you can use to refresh total datas, but don t worry, app refresh itself everytime is onResume(), so when you open the app, no need to run in background and waste battery).




In landscape mode we have a gridlayout, to use better the space available and avoid loooong scrolling.





Tablet layout (7inch) shows everything in one screen, no need to look for this or that, simple, clean, fast!



The app is Open Source, feel free to fork, contribute, rate.

By the way, app is localized in italian and english, but I m open to accept every translation (will be credited in the app), so if some of you is interested to contribute.. DO IT !



Where must i go to contribute ? I can translate it to french / turkish if you want
The Following User Says Thank You to tlf55 For This Useful Post: [ Click to Expand ]
 
dikkebas
Old
(Last edited by dikkebas; 30th May 2013 at 08:43 PM.)
#8  
Senior Member
Thanks Meter 496
Posts: 536
Join Date: Sep 2008
Nice, I'd be glad to make a Dutch translation.

Would a translated
/ res / values / strings.xml

do?
Attached Files
File Type: zip values-nl.zip - [Click for QR Code] (1,005 Bytes, 40 views)

 

Model: GT-I9000
Rom: CM 10.1

Model: GT-I9100
Rom: AllianceRom I9100-JB-XXLSS-V9

Model: GT-N7000
Rom: AllianceROM JB XXLTA Base

Model: GT-N7100
Rom: AllianceROM 4.3 XXUEMK9-V5.1-ota

HTC Touch Pro
ROM: Gen.Y_TP2_R5.5-NLD
The Following User Says Thank You to dikkebas For This Useful Post: [ Click to Expand ]
 
tlf55
Old
#9  
Senior Member
Thanks Meter 69
Posts: 867
Join Date: Mar 2011
Here's the french translation !
Attached Files
File Type: rar values-fr.rar - [Click for QR Code] (882 Bytes, 21 views)
The Following 2 Users Say Thank You to tlf55 For This Useful Post: [ Click to Expand ]
 
murlidhar85
Old
#10  
murlidhar85's Avatar
Member
Thanks Meter 10
Posts: 80
Join Date: Dec 2011
cpu spy does not support custom kernels or 2nd boot kernels.
does this support them?

The Following User Says Thank You to murlidhar85 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes