Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,804,576 Members 43,988 Now Online
XDA Developers Android and Mobile Development Forum

How to switch toggle press in quick settings?

Tip us?
 
zxcv95
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 20
Join Date: Dec 2013
Default How to switch toggle press in quick settings?

How do I make it so that when I tap the WiFi toggle it turns it on/off instead of opening the WiFi app. Can I do it by decompiling systemui.apk? If so how?
P.S. I don't want to use a custom rom.

Sent from my Nexus 4 using xda app-developers app
 
ykumar00
Old
#2  
Senior Member
Thanks Meter 189
Posts: 489
Join Date: Jan 2012
Quote:
Originally Posted by zxcv95 View Post
How do I make it so that when I tap the WiFi toggle it turns it on/off instead of opening the WiFi app. Can I do it by decompiling systemui.apk? If so how?
P.S. I don't want to use a custom rom.

Sent from my Nexus 4 using xda app-developers app
You can use XPosed framework + Gravitybox. It's worth rooting just to get gravitybox, trust me.
Please Don't Click Here.

Get Free 20GB Cloud Storage on Copy by registering with this Referral Link

Press Thanks If I Helped

Nexus 4, Running 4.4.4 (That's a lot of 4s)
The Following 2 Users Say Thank You to ykumar00 For This Useful Post: [ Click to Expand ]
 
zxcv95
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 20
Join Date: Dec 2013
Thanks for the reply. I don't want to use xposed, as I want to stay on art. Is there no way to decompile systemui and do it?

Sent from my Nexus 4 using xda app-developers app
 
ykumar00
Old
#4  
Senior Member
Thanks Meter 189
Posts: 489
Join Date: Jan 2012
Quote:
Originally Posted by zxcv95 View Post
Thanks for the reply. I don't want to use xposed, as I want to stay on art. Is there no way to decompile systemui and do it?

Sent from my Nexus 4 using xda app-developers app
Without xposed I have no idea, sorry.
Please Don't Click Here.

Get Free 20GB Cloud Storage on Copy by registering with this Referral Link

Press Thanks If I Helped

Nexus 4, Running 4.4.4 (That's a lot of 4s)
 
alturigo
Old
#5  
alturigo's Avatar
Junior Member
Thanks Meter 1
Posts: 22
Join Date: Jun 2010
Long pressing will do what you want.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes