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 will be created for you and passed into your override.

-- Kostya

24.09.2010 23:04, 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 tells me what I am doing wrong.



--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to