Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[APP] [4.0.3] CPU Spy Reborn

OP Mirko ddd

30th May 2013, 07:53 PM   |  #1  
Mirko ddd's Avatar
OP Recognized Contributor / Recognized Developer
Flag Piazza Armerina
Thanks Meter: 4,730
 
1,453 posts
Join Date:Joined: Nov 2010
Donate to Me
More


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:




Last edited by Mirko ddd; 28th June 2013 at 07:38 PM.
The Following 142 Users Say Thank You to Mirko ddd For This Useful Post: [ View ]
30th May 2013, 07:56 PM   |  #2  
Mirko ddd's Avatar
OP Recognized Contributor / Recognized Developer
Flag Piazza Armerina
Thanks Meter: 4,730
 
1,453 posts
Join Date:Joined: Nov 2010
Donate to Me
More
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>
Last edited by Mirko ddd; 4th July 2013 at 09:40 PM.
The Following 9 Users Say Thank You to Mirko ddd For This Useful Post: [ View ]
30th May 2013, 08:03 PM   |  #3  
zenosteam's Avatar
Senior Member
Flag oran
Thanks Meter: 154
 
1,504 posts
Join Date:Joined: Jan 2011
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
30th May 2013, 08:04 PM   |  #4  
Mirko ddd's Avatar
OP Recognized Contributor / Recognized Developer
Flag Piazza Armerina
Thanks Meter: 4,730
 
1,453 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Quote:
Originally Posted by zenosteam

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 ?
The Following User Says Thank You to Mirko ddd For This Useful Post: [ View ]
30th May 2013, 08:07 PM   |  #5  
ghira283's Avatar
Member
Flag roma
Thanks Meter: 19
 
75 posts
Join Date:Joined: Aug 2012
More
Ei mirko cio capito ben poco di quello che dite ma l'app mi piace

Inviato dal mio GT-I9100
The Following User Says Thank You to ghira283 For This Useful Post: [ View ]
30th May 2013, 08:31 PM   |  #6  
andrewwright's Avatar
Senior Member
Flag east
Thanks Meter: 3,175
 
5,606 posts
Join Date:Joined: Feb 2013
Donate to Me
More
Thank you. Nice layout.

I9100
Alliance v8 lss
Dorimanx 8.25
nels1
30th May 2013, 08:32 PM   |  #7  
Senior Member
Thanks Meter: 83
 
991 posts
Join Date:Joined: Mar 2011
More
Quote:
Originally Posted by Mirko ddd



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: [ View ]
30th May 2013, 08:45 PM   |  #8  
Senior Member
Thanks Meter: 658
 
671 posts
Join Date:Joined: Sep 2008
More
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, 45 views)
Last edited by dikkebas; 30th May 2013 at 09:43 PM.
The Following User Says Thank You to dikkebas For This Useful Post: [ View ]
30th May 2013, 09:46 PM   |  #9  
Senior Member
Thanks Meter: 83
 
991 posts
Join Date:Joined: Mar 2011
More
Here's the french translation !
Attached Files
File Type: rar values-fr.rar - [Click for QR Code] (882 Bytes, 23 views)
The Following 2 Users Say Thank You to tlf55 For This Useful Post: [ View ]
30th May 2013, 10:49 PM   |  #10  
murlidhar85's Avatar
Senior Member
Thanks Meter: 40
 
154 posts
Join Date:Joined: 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: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes