Permission Denial: startForeground requires android.permission.FOREGROUND_SERVICE
Lately we have suddenly been seeing a few of the following stack traces. Why could that be? This is from when the app … Read more
Lately we have suddenly been seeing a few of the following stack traces. Why could that be? This is from when the app … Read more
I’m writing my first Android application and trying to get my head around communication between services and activities. I have a Service that … Read more
I’ve been reading the other posts on tracking down the reasons for getting a SIGSEGV in an Android app. I plan to scour … Read more
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 … Read more
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 … Read more
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 … Read more
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 … Read more
On application launch, app starts the service that should to do some network task. After targeting API level 26, my application fails to … Read more
I couldn’t find any examples of how to send messages between an activity and a service, and I have spent far too many … Read more
I am seeking an example of something that can be done with an IntentService that cannot be done with a Service (and vice-versa)? … Read more