I need to call a activity when the phone state comes from ringing to idle. But It says The constructor Intent(MyPhoneStateListener, Class) is undefined. How can call the activity.
I have a user with a Sprint Evo View 4G Tablet, and we have a feature that requires either the TELEPHONY_SERVICE or WIFI_SERVICE to be accessible to our app (and we of course request these permissions
This is my BroadcastReceiver public class PlayAudio extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) {
I updated my HTC Flyer to Android 2.3.4. Now I am not ab开发者_如何转开发le to retrieve the IMEI number through TelephonyManager.getDeviceId(). It always return null.
My app uses the TelephonyManager.ACTION_PHONE_STATE_CHANGED for some actions. But I want a different action while the phone rang when the user was present (screen was on) and different action when the
I need to intercept changes in the signal strength on an android device. I\'ve seen different approaches arou开发者_如何学Pythonnd in StackOverflow. In my case, it\'s an Android Background Service tha
I am trying to send a broadcast to simulate an incoming call. I added the permission in AndroidManifest.xml file,
The internal Android class com.android.internal.telephony.Call contains an enum called State and defined as follows:
Here\'s the thing - I\'m doing a securi开发者_开发知识库ty app that needs to be able to check if the PIN code is set or not. The official API returns the same value regardless of the PIN state, and I\
I have an application that needs to check whether there is an ongoing call from a specific contact. I know I can use the ACTION_PHONE_STATE_CHANGED broadcast intent to get the calling phone number at