broadcastreceiver
how to pass a string array from BroadcastReceiver to Activity class through Notification
I would like to pass a string from broadcast receiver to activity. I have raised a notification when I clicked on notification. I am starting an activity in that activity I would like to show string a[详细]
2023-03-31 08:32 分类:问答How to raise an alert dialog from BroadcastReceiver class?
I have used a timer method in an Activity class. In that method I have an intent from Activity class to a BroadcastReceiver class.[详细]
2023-03-31 05:58 分类:问答Stop the system vibration on receive call in android
i made a BroadcastReceiver that is listening for changes in the PHONE_STATE. in the onReceive method, i\'d like to turn off the system vibrator. i tried different approaches, but non of them worked so[详细]
2023-03-31 01:38 分类:问答Android - Listener for newly started application
Is there a way to implement a service that would listen for started applications? Say -开发者_如何学C \"now the Browser is started\" or something like that?Maybe you\'re looking for an ActivityManage[详细]
2023-03-30 23:46 分类:问答android broadcastreceviver onreceive action not performed
I wanted to create a broadcastreceiver which listens for android.intent.action.MEDIA_BUTTON, and get the extra_key_event from that and act accordingly. Somehow the onreceive action is not performed.[详细]
2023-03-30 17:05 分类:问答Android Programming - How to play a SoundPool sound from a broadcastreceiver?
I\'m very new to Android development and would like to know how to play a SoundPool sound within abroadcastreceiver?[详细]
2023-03-30 07:51 分类:问答How to determine the type of an extra in a bundle held by intent?
I am trying to pass arbitrary data to a BroadcastReceiver through its Intent. So I might do something like the following[详细]
2023-03-30 07:10 分类:问答Correct pattern to acquire a WakeLock in a BroadcastReceiver and release it in a Service
Even after a lot of research I am still not completely sure if the way how I implement a WakeLock for a Service started by a BroadcastReceiver is correct - even though it seems to work fine. The broad[详细]
2023-03-30 06:01 分类:问答BroadcastReceiver Priority issue
I am implementing SMSListener in my app and I have set it\'s possibly highest priority as android:priority=\"2147483647\" so that I should get the call on new incoming sms.[详细]
2023-03-30 02:52 分类:问答How to communicate from BroadcastReceiver to Activity after instantiating repeating alarm
I am creating a recurring alarm, which I want to be able to communicate with the Activity that called it.I can send Intent data over to the BroadcastReceiver but getting information back from the Acti[详细]
2023-03-29 22:00 分类:问答