Jump to content


Photo

[MOD][GSF and variants] Notification power widget (what another one!?!) but with mobile data toggle

- - - - -

  • Please log in to reply
13 replies to this topic

#1
flshg

flshg

    Addict

  • Members
  • PipPipPipPipPip
  • 552 posts
  • Gender:Male
  • Location:HK
  • Devices:Nexus 4

Notification power widget with direct wifi, bluetooth, gps, mobile data and auto rotate toggles.

Thanks to fp30 for suggesting the use of CM7 to use as a basis for the mobile data toggle code.

This is another mod of elitemovils notification power widget. I ported this over to GSF b17 systemui, and hacked the code from CM7 for mobile data toggle (it was more than just copying and pasting...). Borrowed icons from standard power widget and added to some shiny buttons I created.

Posted Image



http://www.mediafire...jrz7yny4yvvtbax

fixed FC on boot, and FC on screen rotate



Best to wipe dalvik cache after flashing, though shouldnt be necessary (update script deletes old classes.dex).

Confirmed working on GSF b17, b23

Might force close on first run, will look into sorting it out. Please report any other bugs.

If anyone wants the code (only smali) let me know.


If you simply must keep your themed systemui.apk, Sborovm has found copying classes.dex, resources.arsc, quickpanel icons in drawable-hdpi, from this systemui.apk to your themed one should work.


Possible future work: Aeroplane mode, 2G/3G toggle.


Edited by flshg, 11 September 2011 - 04:20 PM.

  • 2
flsh grdn


...................................................................................................................................................................................

ZTE Blade / Orange San Francisco Grey

Running Eco CM9

#2
Manos Aristeidopoulos

Manos Aristeidopoulos

    Regular

  • Members
  • PipPip
  • 132 posts
  • Gender:Male
  • Location:Greece
  • Devices:ZTE BLADE
Great job! everything works nice and the 3G data also!
And a very nice look, really good job the previous icons was ugly!
And yes you are right only a crash on the begging then everything cool!

well done
+1

  • 1

#3
Manos Aristeidopoulos

Manos Aristeidopoulos

    Regular

  • Members
  • PipPip
  • 132 posts
  • Gender:Male
  • Location:Greece
  • Devices:ZTE BLADE
It crashes when the screen rotates and it doest open until next reboot.

  • 0

#4
flshg

flshg

    Addict

  • Members
  • PipPipPipPipPip
  • 552 posts
  • Gender:Male
  • Location:HK
  • Devices:Nexus 4

It crashes when the screen rotates and it doest open until next reboot.


Acknowledged. I'm pretty sure both crashes are related. Fix very soon.

  • 0
flsh grdn


...................................................................................................................................................................................

ZTE Blade / Orange San Francisco Grey

Running Eco CM9

#5
flshg

flshg

    Addict

  • Members
  • PipPipPipPipPip
  • 552 posts
  • Gender:Male
  • Location:HK
  • Devices:Nexus 4
Fixed FC on boot and screen rotate, first post updated. Please report any other issues, compatibility with roms etc.

  • 0
flsh grdn


...................................................................................................................................................................................

ZTE Blade / Orange San Francisco Grey

Running Eco CM9

#6
Manos Aristeidopoulos

Manos Aristeidopoulos

    Regular

  • Members
  • PipPip
  • 132 posts
  • Gender:Male
  • Location:Greece
  • Devices:ZTE BLADE
this fix was fast. yes no bugs so far nice!

  • 0

#7
copas2

copas2

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:HTC Desire, ZTE Blade
B23?

  • 0

#8
joaocorreia

joaocorreia

    Newbie

  • Members
  • Pip
  • 7 posts
  • Gender:Male
  • Location:Portugal

B23?



Would like to know the same...

  • 0

#9
flshg

flshg

    Addict

  • Members
  • PipPipPipPipPip
  • 552 posts
  • Gender:Male
  • Location:HK
  • Devices:Nexus 4

B23?


Suggest nandroid backup, flash the mod, then tell me yay or nay.

  • 0
flsh grdn


...................................................................................................................................................................................

ZTE Blade / Orange San Francisco Grey

Running Eco CM9

#10
joaocorreia

joaocorreia

    Newbie

  • Members
  • Pip
  • 7 posts
  • Gender:Male
  • Location:Portugal

Suggest nandroid backup, flash the mod, then tell me yay or nay.


Tried it, so far it works...

  • 1

#11
Sborovm

Sborovm

    Regular

  • Members
  • PipPip
  • 56 posts
  • Devices:ZTE Blade TFT (OSF)
It would be fine to have flight mode instead of auto rotate button. ;)

I know thats not easy but if someone could make it I would appreciate it. :rolleyes:


  • 0

#12
domerator

domerator

    Regular

  • Members
  • PipPip
  • 89 posts
  • Gender:Male
Would be even more useful also a 2G-3G toggle instead of GPS (GPS is never necessary to switch off because it consumes no power if it is not in use by any app)

Edited by domerator, 10 September 2011 - 09:04 PM.

  • 0

#13
scantyisland

scantyisland

    Newbie

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Devices:XBOX 360 ZTE-BLADE GSF B27
  • Twitter:@SCANTY72
Works on b23 no probs at all looks greT

  • 0

#14
bipbop

bipbop

    Newbie

  • Members
  • Pip
  • 23 posts
  • Location:POLAND
  • Interests:ANDROID
  • Devices:ZTE Blade
Can you create version for b24 ? Cause this one causes some problems with b24 on my phone .... even after full wipe :(

  • 0
Alea jakta est ! ANDROID is the BEST !




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users