The Android API for sending "data" SMS messages is sendDataMessage() which takes a port parameter. In the receiving app's AndroidManifest you can specify what port your receiver is listening on. I'm ...

I want to start a ProgressDialog and a Broadcast Receiver (SMS_RECEIVED) from my activity. When a SMS received from a defined number it shiuld stop the Dialog and analyze the SMS Text.
In the Moment ...

I want to start multiple alarm inside BroadcastReceiver and starting service from that alarm but didn't start running. I was just tested it using context.startService(intent) and it was succeed. But ...

Before anything I want to say that I did search about this.
My goal is to detect if the smartphone is on roaming to trigger a notification to the user. I want the notification to be triggered when the ...

I have created a music player with audio recorder. In this application I have also included the feature of audio recording when user press the power button 3 times.
The application Start service and ...

I have created a music player with audio recorder. In this application I have also included the feature of audio recording when user press the power button 3 times.
The application Start service and ...

I have an app that has a BroadcastReceiver for checking internet connection. I installed the app then run it while I don't have internet connection but the OnReceive is not called. I kill the app then ...

I have a little app which, when started the activity, in the on_create registers a broadcastreceiver and then exits (by calling finish())
(side note: it surprised me that the broadcastreceiver still ...

My service starts browser and when i stop this service my UI has a textview which updates some message to show that broadcast was reeceived but i am not able to do so !
My MainActivity.java file :-
...

I've been thinking if there is a way to prevent an application process from being killed by Android if there is no visible UI component.
For example, there is a Service that performs some important ...

I have written a simple broadcast receiver to block calls from specific numbers. The problem I faced was that TelephonyManager.listen method registered multiple listeners. I understand that I should ...

I want to write a BroadcastReceiver to receive the application install action. But it failed, so I test if my receiver is well or not. So custom a intent, it also filed. below is my code. Please help ...

I'm trying to build an app, which emails a picture after an sms is sent to the phone. So I have been following this Tutorial with no success. When sending an sms to a real phone in debug mode, nothing ...

I currently have an intent service that is managing my geofence transitions and I am hoping to use the geofence ID to trigger a sequence of events either by starting an activity through another intent ...

Im attempting to send an email using this backgound email sender code ( https://github.com/kristijandraca/BackgroundMailLibrary ) in a wakeful broadcast receiver but while making some adjustments I ...

Is there a way to disable Android Headset even if it is connected to mobile. I have been using Media Button in my headset to fire some events. I don't want the event to be performed all the time. So i ...

I am doing an app with widget. The main idea is that user opens app, inserts credentials, app is closed and started an IntentService (kind of Cronos) witch update widget if there are new data received ...

I have an intent service that downloads a file in the background, a broadcast receiver is registered to listen for the download completion, but never gets in the onReceive() function of the receiver. ...

I created an Android widget.
In a Genymotion Nexus 4 emulator running Android 4.4.4 everything works well.
On my Nexus 4 device running Android 4.4.4 I put the widget on the home screen and it turns ...

I am making chat application where I store message in database then give message to a websocket in a BroadcastReceiver.
My problem is when message comes from the websocket in the BroadcastReceiver, ...

I am trying to dynamically update the intentfilter for aBroadcastReceiver that is defined in the manifest. The intents are declared in an API that is outside of my app.
The end goal is to have these ...

I would like to display notification on a particular time and daily routine (i.e at 8'o clock morning). I am using broadcast receiver, alarmmanager to display notifications.
But the problem is, I am ...

I stumbled about a problem to receive GCM messages if my app runs in background (Service). In my scenario, I don't receive the GCM message (please notice it is not about how to receive GCM in general ...

I have implemented an app with broadcast receiver to receive SMS and then read the SMS.
Having highest priority set in androidmanifest as 2147483647. But my app is not receiving any incoming SMS.
My ...