Re: [android-developers] constructor SignalStrength() is not visible

2010-09-25 Thread Kostya Vasilyev
You don't instantiate SignalStrength from application code. Use a PhoneStateListener (subclass), and implement onSignalStrengthsChanged: http://developer.android.com/reference/android/telephony/PhoneStateListener.html#onSignalStrengthsChanged(android.telephony.SignalStrength) A SignalStrength

[android-developers] constructor SignalStrength() is not visible

2010-09-24 Thread Stalker
I've tried to create an object using SignalStrength x = new SignalStrength(); ,but it throws me constructor SignalStrength() is not visible in Eclipse. I bet there is another way, but looking through SignalStrength.java i can not understand the way it can be done. I will be very happy if someone