Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,471 Members 41,895 Now Online
XDA Developers Android and Mobile Development Forum

[Q] showing cell connection

Tip us?
 
danis777
Old
#1  
Junior Member - OP
Thanks Meter 2
Posts: 17
Join Date: Feb 2014
Default [Q] showing cell connection

I have in zooper widget setting of cell connection (widget shows type: edge or hspa) - #NCCONN#
I need help with condition:
If cell conection is EDGE - widget shows nothing.... and if cell connection is HSPA - widget shows HSPA.
How will I set it?

Thx for help
 
danis777
Old
#2  
Junior Member - OP
Thanks Meter 2
Posts: 17
Join Date: Feb 2014
I have it
$#NCCONN#!=EDGE?HSPA$
 
CopKiller76
Old
#3  
Senior Member
Thanks Meter 68
Posts: 119
Join Date: Jan 2014
Location: Bornheim
#NCCONN# always shows the right connection type for me. Your formula will always show HSPA when its not EDGE, even if its GSM or HSUPA.

Gesendet von meinem GT-I9505 mit Tapatalk
 
danis777
Old
#4  
Junior Member - OP
Thanks Meter 2
Posts: 17
Join Date: Feb 2014
I have cell connection available hspa, edge and very very little gsm, I want to know if connection is 2G or 3G.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes