Lately we have suddenly been seeing a few of the following stack traces. Why could that be? This is from when the app tries to move an audio commentary...
I’m writing my first Android application and trying to get my head around communication between services and activities. I have a Service that will run in the background and...
I’ve been reading the other posts on tracking down the reasons for getting a SIGSEGV in an Android app. I plan to scour my app for possible NullPointers related...
What is the difference between START_STICKY and START_NOT_STICKY while implementing services in android? Could anyone point out to some standard examples.. ? 4 Answers 4
Is there any reliable way to get a Context from a Service? I want to register a broadcast receiver for ACTION_PHONE_STATE_CHANGED but I don’t need my app to always...
I’ve been trying to start a service when a device boots up on android, but I cannot get it to work. I’ve looked at a number of links online...
I couldn’t find a satisfying answer to this, so here we go: what’s the deal with Activity/Service.getApplication() and Context.getApplicationContext()? In our application, both return the same object. In an...
On application launch, app starts the service that should to do some network task. After targeting API level 26, my application fails to start service on Android 8.0 on...
I couldn’t find any examples of how to send messages between an activity and a service, and I have spent far too many hours figuring this out. Here is...
I am seeking an example of something that can be done with an IntentService that cannot be done with a Service (and vice-versa)? I also believe that an IntentService...