Top "Intentservice" questions

IntentService is a special implementation of Android service component.

How to keep an IntentService running even when app is closed?

In my Android app I start an IntentService from within an Activity by calling startService(new Intent(this, MyService.class)); …

android android-service intentservice android-intentservice
how to wait the volley response to finish it's work inside intentservice?

Working with intentservice to get the data of 7 Rss Feed links with using " Google Volley " in the background and use …

android rss android-volley intentservice android-intentservice
Make a REST API call from an IntentService or an AsyncTask?

Imagine a typical scenario where an activity opens, needs to call a REST HTTP API to get some content, and …

android android-asynctask intentservice
Android the difference between onHandleIntent & onStartCommand

I am currently writing a android program which needs an IntentService. When I put the code in the onHandleIntent function, …

android android-service intentservice
Why would LocalBroadcastManager not work instead of Context.registerReceiver?

I had to implement a feature to this app which consists of an Activity and a Service working on the …

android service broadcastreceiver broadcast intentservice
Notification created by IntentService uses always a wrong Intent

Problem When the user presses Send "Button 1"(scroll down to see the construction of the app) a new Notification is …

android android-intent android-activity android-notifications intentservice
java.lang.RuntimeException unable to instantiate service: java.lang.NullPointerException

I was trying to create an activity that start a service (in a new thread). It consists in a layout …

android intentservice
IntentService won't show Toast

This IntentService I created will show Toasts in onStartCommand() and in onDestroy(), but not in onHandleIntent(). Am I missing something …

android intentservice android-toast
How to Collect info from IntentService and Update Android UI

I'm learning Android and I'm stuck with my service. My application connects via Socket to my server every X seconds, …

android intentservice
How download file with service in android?

I want download a file from internet with service. I found the source code and the code worked well. But …

android service download intentservice