how to start a service in android -


i have problem when start service:

here code getting started service put in onclick of button

  intent myintent = new intent(contexts.getappcontext(), modul_geotrack.myservices.class);       contexts.getappcontext().startservice(myintent);  

and here declaration in manifest:

 <service android:name=".myservices"></service> 

but still displaying problem

unable start service intent { flg=0x4 cmp=com.example.projet/modul_geotrack.myservices (has extras) }: not found

please give me solution i'm blocking blocking..:'(:''''(


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -