broadcastreceiver
Best practice for Broadcasts, ContentProviders, and ContentRecievers
Okay so up front I will say that I am new to Android.I have made a few small projects and played with afew things and done tons and tons of reading.So here is the task I am trying to accomplish:[详细]
2023-04-09 13:18 分类:问答Broadcast Receiver for Sent SMS
Is there a Broadcast Receiver in android to listen to the SMS sent event? In my application I want to count the number of SMS sent every predefined time interval. If its not possible to listen to sen[详细]
2023-04-08 22:51 分类:问答Finishing an Activity from a Broadcast Receiver
I have an Activity that I display as modeless when the phone rings (over the phone app). I would like to finish the Activity when either of the following events occur. The first is if I touch anywhere[详细]
2023-04-07 14:32 分类:问答sendBroadcast(intent) gives a null pointer exception
This is my second post today as fixing the 1st post lead to another problem which I am really struggling on. I want to use Broadcasts and intent to send data packets back from a service to the UI. I m[详细]
2023-04-07 11:19 分类:问答Broadcast receiver registered from code
I register receiver from the onCreate from my activity like this IntentFilter filter = new IntentFilter(Intent.ACTION_SCREEN_ON);[详细]
2023-04-07 09:59 分类:问答How to pass intent extras to broadcast reciever?
I\'ve been trying to get an android application to install an APK on the sdcard programmatically and to delete the apk once it\'s installed.[详细]
2023-04-07 06:51 分类:问答BroadcastReceiver TTS and Volume
I have a BroadCastReceiver that starts a background service. This service speaks some text using TTS. Since it all starts with a BroadcastReceiver, there is no UI.[详细]
2023-04-07 03:03 分类:问答how to identify incoming call and outgoing call in android
how to get the events of incoming call and outgoing call in android separately. Actually i was trying to develop an application that open on incoming call if number is exist in database and it work OK[详细]
2023-04-06 16:39 分类:问答Is it possible to fire a single intent multiple times?
I have a service that does database calls.The service receives a request with an intent, and when the database call is complete, it broadcasts an \"update complete\" intent开发者_StackOverflow社区 ind[详细]
2023-04-06 01:53 分类:问答Ringer mode change listener Broadcast receiver?
AudioManager am = (AudioManager)getSystemService(Context.AUDIO_SERVICE); switch (am.getRingerMode()) {[详细]
2023-04-05 22:27 分类:问答