I am trying to send a Broadcast from a service out to an Activity.I can verify the broadcast is sent from within the service, but the Activity doesn\'t pick up anything.
I want to access a \"global\" variable in开发者_Python百科 my MyApp(extends Application) from a broadcastreceiver (registered in the manifest) and e.g. multiple activities. Now I seem to have differen
I am new to Android. I am trying to develop an Alarm Application, which is actually a speaking clock. I just want the clock to use TextToSpeech API and speak out the greeting stuff and the current tim
Here is a my broadcast receiver. public class SmsReceiver extends BroadcastReceiver { @Override public void onReceive(Context ctx, Intent intent) {
Let\'s say a BroadcastReceiver is declared in the manifest. It has run through onReceive() once and is the only comp开发者_如何学JAVAonent in the hosting process. What if another Intent is broadcast,
I\'m wo开发者_开发问答rking on an Android application which needs to perform an action each time a new image is taken with the phone.I don\'t want to take the image within my application, but rather p
In my app I have a broadcast receiver that turns on GPS upon receiving a set string of text. In the onLocationChanged method, I want to pass the GPS data and a value from my shared preferences to a th
This question already has answers here: Broadcast Receiver as inner class in Android (6 answers) Closed 9 years ago.
I\'m very new to Android development (think started yesterday) and in my application I\'m trying to listen for when the camera is used to take a picture.Also, I need to listen for this action all the
As you can guess, i register an alarm by AlarmMana开发者_C百科ger. And the BroadcastReceiver will be called correctly. But when it called, my phone screen is still locked. I notice the default AlarmCl