[android-developers] Re: How to get service state?

2010-01-13 Thread dolsen
I have the same problem. I want to get the state of the phone when my app starts. I am also new to Android so a code snippet would be nice. On Jan 6, 5:29 am, Coby wrote: > Hi! > > I'm trying to get current service state of my phone (IN_SERVICE, > OUT_OF_SERVICE, EMERGENCY_ONLY, POWER_OFF). It ca

[android-developers] Getting Current Signal Strength

2010-01-14 Thread dolsen
I am trying to figure out how to get the current signal strength of the Android 2.1 device. So far I can only find access to the SignalStrength object if I am listening for a change. I don't want to have to wait for the strength to change in order to see what the strength is. Can someone show me ho