[MOD][Xposed] ClockColorChanger - internet connection monitor

Search This thread

stanbel

Senior Member
Sep 21, 2010
134
114
Requires Xposed Framework

If your phone is fully connected to the Internet, clocks become green, if no Internet connection - clock restores original color
Phone can be connected to the net without Internet, so clock keeps original color

It is not working on CM!

Screenshots:
orig1.jpg new1.jpg

Compatibility:
All JB and KK, LP devices should be compatible. Early versions - I am not sure
It changes only text color, not graphics

Tested on
  • LG G2
I wrote this mostly for myself, but hope you like it

Version history
1.0
Initial Release
1.1
Added some code for Android 2.3
Added ability to change colors (please reboot after that)
1.2
(test)Andriod 5 support

v1.0 View attachment ClockColorChanger.apk
v1.1 View attachment ClockColorChanger11.apk
v1.2 View attachment ClockColorChanger12.apk (test version with Android 5 support)

Donate if you like my work

Special thanks to dk_zero-cool for solution
 
Last edited:

rob rich

Senior Member
Jan 18, 2013
1,892
1,270
Kronach
Really nice concept..

It would cool if we could customize the color.
For instance if no connection then red color and if there is a connection then it's either original color or green color depending on what user had selected.

good idea :) especially helpful for people using 'tinted statusbar'. cause green statusbar + green clock is not so nice
 
Last edited:

ahmedelhofy

Senior Member
Apr 12, 2012
688
508
Shebin El-Koum
Amazing concept, I only have a small suggestion
Give us the ability to chose the colors we want
For example I do want to have the clock with the default color when connected to the internet and have color in red if not

Thanks

Sent from GS2 using CyanFOX 2.0.2
 

ironwick

Senior Member
Awesome concept! Congratulations for your idea.
I agree with other users who said that colour customization should be appreciated. Personally I would set standard color when it's connected and red colour when it's not connected.
The ideal could be something like this:
  • Connected: Default, green, blue, red,... (other standard colours) and custom.
  • Disconnected: Default, red, grey, green,... (other standard colours) and custom.

Good job! :good:
 
  • Like
Reactions: RJK75

_jis_

Senior Member
Feb 5, 2012
1,469
530
I will do new version with color customization bit later, now I am too busy, sorry
Thank you for clever module!
I have just small nitpick. Could you please clean Xposed Debug Log from the message that ClockColorChanger was started (see the last red line)?
Because this is obvious from lines:
Code:
Loading modules from /data/app/com.sb.p1-1.apk
  Loading class com.sb.p1.ClockColorChanger
Debug Log should be dedicated just for errors. All my other modules starts without writing anything to log but yours:

Code:
22.3.2014 16:04:20 UTC
Loading Xposed v42 (for Zygote)...
Loading modules from /data/app/hk.valenta.completeactionplus-2.apk
  Loading class hk.valenta.completeactionplus.XCompleteActionPlus
Loading modules from /data/app/uk.co.villainrom.pulser.fivebyfourlauncher-1.apk
  Loading class uk.co.villainrom.pulser.fivebyfourlauncher.FiveByFourLauncher
Loading modules from /data/app/com.ugglynoodle.allnotificationsexpanded-1.apk
  Loading class com.ugglynoodle.allnotificationsexpanded.AllNotificationsExpanded
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
  Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/com.germainz.crappalinks-2.apk
  Loading class com.germainz.crappalinks.CrappaLinks
Loading modules from /data/app/com.greenbattery-1.apk
  Loading class com.dully79.xposed.mods.batteryreplacement.BatteryReplacement
Loading modules from /data/app/com.oasisfeng.greenify-1.apk
  Loading class com.oasisfeng.greenify.pro.FrameworkPatch
Loading modules from /data/app/pk.qwerty12.playstorelinkinappinfo-1.apk
  Loading class pk.qwerty12.playstorelinkinappinfo.PlayStoreLinkInAppInfo
Loading modules from /data/app/ma.wanam.torch-2.apk
  Loading class ma.wanam.torch.Module
Loading modules from /data/app/com.mohammadag.burnttoast-2.apk
  Loading class com.mohammadag.burnttoast.XposedMod
Loading modules from /data/app/com.germainz.stopswitchdelay-2.apk
  Loading class com.germainz.stopswitchdelay.XposedMod
Loading modules from /data/app/com.sb.p1-1.apk
  Loading class com.sb.p1.ClockColorChanger
Loading modules from /data/app/com.mohammadag.smoothsystemprogressbars-2.apk
  Loading class com.mohammadag.smoothsystemprogressbars.SmoothSystemPBar
Loading modules from /data/app/ma.wanam.youtubeadaway-2.apk
  Loading class ma.wanam.youtubeadaway.Xposed
[COLOR="Red"]ClockColorChanger started![/COLOR]
 

MaKTaiL

Senior Member
Oct 17, 2011
2,856
1,196
Brasília
Great concept. Make it so we can set it KitKat style. Orange for No Connection and White for Connected.

Enviado de meu XT1058 usando Tapatalk
 

Publiuss

Senior Member
Jun 29, 2012
948
171
Hi

To avoid color strangeness with tinted status bar, you could just (optionally) make bold text if connected, normal if not.
 

Top Liked Posts