Unable To Start Service From Asynctask
I am trying to start service from AsyncTask but cant see that its starts. I also added Service on manefast file. here the code: protected Integer doInBackground(Void... values) th
Solution 1:
services.conServise
should be in a <action>
tag within the <intent-filter>
tag for that declaration of service, please replace servicesclassname with the appropriate package name for example, org.mypkg.foo.bar.
<serviceandroid:name="<servicesclassname>"><intent-filter><actionandroid:name="services.conServise"/></intent-filter></service>
Solution 2:
Try it via onPostExecute() method in AsyncTask class. Thanks
Post a Comment for "Unable To Start Service From Asynctask"