Remove All Ads from XDA

[APP][4.4+] CPUSpy Material v3.2.1 [APR 24]

4,813 posts
Thanks Meter: 8,320
By existz, Inactive Recognized Developer on 21st November 2014, 07:04 PM
Post Reply Email Thread
I decided to give a quick update to an old app that I use quite often, but thought was in need of a UI makeover. So heres CPU Spy with Material Design!

* CPU, Device & Kernel information
* CPU core & temperature monitoring
* Shake to Refresh & Automatic Refresh
* Widget to reset timers from home screen
* Option to hide states below a certain percentage
* Automatically resets states once battery is charged
* Light & Dark themes + Auto theme based on time of day
* Background monitoring service that notifys if device doesn't enter deep sleep

- Updated translations
- Optimize new profile pngs
- Update some deprecated APIs
- Fix a couple NullPointerExceptions
- Fix ListView padding and text sizes
- Fix crash when showing error text
- More layout fixes for tablet devices
- Only show last 500 lines of logcat log
- Do not center full kernel version text
- Update developer circleimageview border
- Use new BottomSheet from support library
- Simplify setting logcat progress bar color
- Bind more colors/string using ButterKnife
- Simplify tinting of text selector handles
- Use wrap_content for AppCompatButton width
- Always use accentColor for text input field
- Disable user from changing color input alpha
- Update 3rd party libraries to latest versions
- Fix Running Processes title on KitKat devices
- Update charged drawable to be more material-ish
- Use new Support Vector Drawables instead of pngs
- Update colors and elevations to match guidelines
- Only set background color when cardview is shown
- Fix NullPointerException when closing InfoFragment
- Add null pointer check when setting mLogcatSummary
- Use Fragment and DialogFragment from support library
- Replace Listview with RecyclerView from support library
- Show error text when temp monitor throws an exception

- Rewrite CPU usage code
- Fix padding on tablet devices
- Show list of running services
- Use Butterknife resource binding
- Define size of sliding tab ArrayLists
- Only call Utils.isXposedInstalled once
- Check if a light accent color is used
- Add new developer section to Settings
- Fix colored nav bar enabling by default
- Use Chrome custom tab when opening links
- Only recreate if theme preference changes
- Rename kernel/device menus to match action
- Fix padding for credits and license layouts
- Allow multiple retries when updating states
- Catch exception when checking for an update
- Allow checking for multiple update versions
- Use primary color for deep sleep notify icon
- Allow better support for Right to Left layouts
- Fix cpu usage crashing when exiting InfoFragment
- Update libraries and build tools to latest versions
- Define ArrayList sizes for Credits and Licenses
- Use AccelerateDecelerateInterpolator for animations
- Allow catching exception when setting core visibility
- Hack to fix DiscreteSeekBar text color with light accent

- Fix ProgressBar height on Lollipop devices
- Remove DynamicCheckBox background color

- Update to latest build tools
- Move openURL method to Utils
- Use vector drawables for API 21+
- Use ArrayList instead of LinkedList
- Add Translators to Credits section
- Add CPU usage monitoring to Info tab
- Reduce number of calls to getActivity
- Only call CPUUtils.getCoreCount() once
- Add missing onCreate() to CpuSpyApp
- Remove useless code from CpuSpyPreference
- Use vector drawables for Preference icons
- Fix ProgressBar height on KitKat devices
- Use String.format() to fix lint warnings
- Automate checking if new version is available
- Add setting to change primary and accent colors
- Tint AppCompatButton to match new accent color
- Tint charged image to match new accent color
- Use new Design Support Library for sliding tabs
- Allow using String Array for changelog content
- Recreate activity when dismissing Xposed warning

- Updated translations
- Add support for Marshmallow
- Fix charged view card alignment
- Revert back to using text for tabs
- Use AppCompatButton for all buttons
- Adjust full kernel version text size
- Remove redundant calls to getResources()
- Show the total number of unused states
- Add bootloader information to Info tab
- Use SwitchPreference for API 21+ devices
- Update primary colors to match guidelines
- Summarize which theme is selected in Settings
- Specify initial size of getStates ArrayList<>
- Disable layout transitions during charged view
- Allow animating progress bars with Auto Refresh
- Simplify checking views when Auto Reset is enabled
- Fix background color not showing correctly on KitKat
- Move hiding states below percentage to new toolbar
- Add toolbar for hiding/resetting/restoring states
- Use ContextCompat.getColor() from support library
- Allow Settings to keep scroll position during recreate
- Override KeyEvent instead of using BackHandledFragment

- Fix crash on KitKat devices

- Check if new update is available
- Reduce total state time text size
- Update libraries to latest versions
- Animate progress bars on app launch
- Use icons instead for sliding tabs
- Updates and fixes to theme changing
- Use Roboto-Medium for snackbar actions
- Fix crash if checkCoreMonitor returns zero
- Use Butter Knife to bind button listeners
- Show warning dialog if Xposed is installed
- Use sliding cardview for full kernel version
- Return null if unable to retrieve cpu info

- Remove unnecessary return functions
- Remove useless call to ButterKnife.bind
- Add Exception catch for CPU core monitoring
- Add null pointer check to fix issues #69 and #70
- Dont refresh onShake if mSwipeLayout.isRefreshing
- Add local SeekBarPreference to fix KitKat margin issues

- More variables can be final
- Add checking runtime to Device Info
- Update Butter Knife library to v7.0.1
- Update Android Support Library to v22.2.1
- Make hasTemp() return false if file length is 0
- Update to latest gradle and android build tools
- Add service to check if device is entering deep sleep
- Catch ActivityNotFoundException if unable to open intent

- assert mActionBar != null
- Move app version to build.gradle
- Update Snackbar library to v2.10.10
- Add function to show/hide unused states
- Clean up SharedPreferences in CpuSpyApp
- MainActivity: Add missing @Override to onResume()
- Add option to hide states below certain percentage
- CpuSpyApp: Use SparseArray instead of HashMap
- CpuStateMonitor: Fix logging and handle exception
- Stop monitoring temperature if getTemp() returns null
- Remove usesless call to CPUUtils.getKernelVersion()

- Handle NFE instead of ignoring it
- Fix lint warning by using apply()
- Add support for monitoring 6-8 CPU cores
- Fix some padding issues on KitKat devices
- PrefsActivity: Add missing switch break
- Random code clean up and improvements

- More variables can be final
- Switch to new sliding tab layout
- Fix Auto Refresh causing crash
- Add reusable method for reading files
- Move core monitoring to CPU Info card
- Show unused states when resetting timers
- Use simple listview for open source licenses
- Enable monitoring only if fragment is visible
- Update material-dialogs library to v0.7.6.0
- New Auto theme based on the time of day
- Disable swipe to refresh if auto is enabled
- Add null pointer check when removing all views

- Remove circle reveal animation
- Add widget info to welcome card
- Support more devices CPU temp
- Add action button back to snackbars
- Merged French translations (Micks29)
- Add colored btn_selector to buttons
- Update to latest build tools and gradle
- Fix Info text overlapping if multiple lines
- Fix setting Preference icons based on theme
- Add style for setting ActionBar elevation
- Apply dialog content color based on theme

- Added Shake to Refresh timers
- Added CPU Temp monitoring
- Refreshed charged view layout
- Added new widget to reset timers
- Added indicator to kernel version
- Added darker primary text color
- Adjusted layout for tablets/TVs
- Updated to latest support libraries
- Use native font on API 21 and above
- Tons of code cleanup and fixes
- Fixed main card animation from being cut off
- Improve checking if states file exists
- More improvements to theme changing
- Simplified getting/setting of cpu frequencies

- Fix memory leak when setting typeface
- Updated internal 3rd party libraries
- Removed deprecated getDrawable
- Revert using webview for dialogs
- Simplify getting/setting cpu freqs
- Decrease card animation duration
- Random code cleanup and fixes
- Improve reading of states file
- Improve reading cpu information
- Improve theme changing and dark theme
- Simplify checking which views to show

- Add Material Ripple library (KitKat)
- Updated internal 3rd party libraries
- Animate About cardview sliding up
- Adjust padding for welcome cardview
- Add donate to settings overflow menu
- Kernel version should use singleLine
- Add custom Typeface for ActionBar title
- Revert back to using CheckBoxPreference
- Add colored navigation bar and dark theme
- Disable cpu monitoring when app is paused

- Refreshed UI to be more Material
- Fix settings menu for KitKat devices
- Some random code clean up and fixes
- Add decimal to states view percentage
- Add new Info page with CPU/Kernel info
- Casting '_app' to 'Context' is redundant
- Sync material-dialogs library with v0.6.x
- Update snackbar and WhatsNew strings
- Add WhatsNew option in overflow menu
- Add option to reset timers when charged
- Add new WelcomeCard on first launch
- Use SnackbarManager to handle queues
- Clean up WhatsNew dialog webview usage
- Click states cardview to view unused states
- Add anonymous crash and usage reporting
- Switch to new blue primary/accent colors
- Switch to Handler instead for Auto Refresh
- Fix mBatInfoReceiver causing an exception
- Add per CPU core and frequency monitoring

- Added Pull to Refresh library
- Fixed a few more lint warnings
- New About and License menus
- Added support for KitKat and TVs
- New Material style launcher icon
- Use colored nav bar on Lollipop
- Optimized/removed unused PNGs
- Add Gmail-like Snackbar library
- Timers now reset when battery full
- Add Auto Refresh option to settings
- New WhatsNew dialog for new releases

- Fix issue when no states file found
- Adjust padding to match Material guidelines
- Rearrange home_layout and fix xml formatting
- Move 'Total State Time' above 'Unused CPU States'

- Adjusted padding a little
- Reduced some text sizes
- Removed some unused PNGs
- Removed 'Time in State' header
- Added shadow to action bar
- Fixed progress bar background color
- Added temporary icon until one can be made

- Initial release

Now available on Amazon App Store


Credits to the original dev @storm717.
Link to original thread:
Attached Thumbnails
Click image for larger version

Name:	15 - 4.png
Views:	8386
Size:	39.9 KB
ID:	3387156   Click image for larger version

Name:	15 - 5.png
Views:	8210
Size:	39.4 KB
ID:	3387157   Click image for larger version

Name:	15 - 6.png
Views:	8116
Size:	19.9 KB
ID:	3387158   Click image for larger version

Name:	15 - 1.png
Views:	7790
Size:	39.3 KB
ID:	3387160   Click image for larger version

Name:	15 - 2.png
Views:	7636
Size:	43.0 KB
ID:	3387161   Click image for larger version

Name:	15 - 3.png
Views:	7504
Size:	20.9 KB
ID:	3387162   Click image for larger version

Name:	uploadfromtaptalk1436220636714.png
Views:	6532
Size:	198.2 KB
ID:	3393568   Click image for larger version

Name:	50613dc07eefe9ce95e334a7c0edb3df.jpg
Views:	6198
Size:	40.9 KB
ID:	3399203  
Attached Files
File Type: apk CPUSpy-Material-v3.1.9.apk - [Click for QR Code] (1.38 MB, 1554 views)
File Type: apk CPUSpy-Material-v3.2.0.apk - [Click for QR Code] (1.59 MB, 1602 views)
File Type: apk CPUSpy-Material-v3.2.1.apk - [Click for QR Code] (1.96 MB, 2588 views)
The Following 117 Users Say Thank You to existz For This Useful Post: [ View ] Gift existz Ad-Free
21st November 2014, 11:21 PM |#2  
existz's Avatar
OP Inactive Recognized Developer
Flag Kentucky
Thanks Meter: 8,320
Donate to Me
TODO: Updated 5/19/15

- Option to view time in state for each core (?).
The Following 10 Users Say Thank You to existz For This Useful Post: [ View ] Gift existz Ad-Free
22nd November 2014, 01:15 AM |#3  
Isley_'s Avatar
Senior Member
Thanks Meter: 247
Thanks man, works fine
The Following User Says Thank You to Isley_ For This Useful Post: [ View ] Gift Isley_ Ad-Free
23rd November 2014, 04:06 AM |#4  
existz's Avatar
OP Inactive Recognized Developer
Flag Kentucky
Thanks Meter: 8,320
Donate to Me
If you want to follow progress of this app, check my G+ page... Currently looking for other devs to help out.. Please reshare if you use G+.

I should have an update very soon.
23rd November 2014, 04:40 AM |#5  
anshmiester78900's Avatar
Senior Member
Flag Noida
Thanks Meter: 505
Really good thanks mate
The Following User Says Thank You to anshmiester78900 For This Useful Post: [ View ] Gift anshmiester78900 Ad-Free
24th November 2014, 01:47 AM |#6  
existz's Avatar
OP Inactive Recognized Developer
Flag Kentucky
Thanks Meter: 8,320
Donate to Me


- Adjusted padding a little
- Reduced some text sizes
- Removed some unused PNGs
- Removed 'Time in State' header
- Added shadow to action bar
- Fixed progress bar background color
- Added temporary icon until one can be made
The Following User Says Thank You to existz For This Useful Post: [ View ] Gift existz Ad-Free
24th November 2014, 02:59 AM |#7  
Isley_'s Avatar
Senior Member
Thanks Meter: 247
Great 😀
The Following User Says Thank You to Isley_ For This Useful Post: [ View ] Gift Isley_ Ad-Free
24th November 2014, 03:41 PM |#8  
Paoliz's Avatar
Senior Member
Flag Napoli
Thanks Meter: 197
Finally a re-design, very well

Inviato dal mio Nexus 4
24th November 2014, 05:19 PM |#9  
Flag Jakarta
Thanks Meter: 3
great very well .. thanks broo
24th November 2014, 05:34 PM |#10  
Senior Member
Flag Thane
Thanks Meter: 79
much needed

24th November 2014, 10:28 PM |#11  
existz's Avatar
OP Inactive Recognized Developer
Flag Kentucky
Thanks Meter: 8,320
Donate to Me
So I've had quite a few people point out that the padding does not follow Material guidelines (which is 16dp).. Although I do agree that it needs spaced over a little more, but I'm not sure how I feel about 16dp yet (but it is growing on me the more I see it). Below is a screenshot of the padding adjusted to follow material guidelines..thoughts?

Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes