0

I have a problem when start the service:

here is the code getting started service I put in a onClick of a button

  Intent myIntent = new Intent(Contexts.getAppContext(), Modul_GeoTrack.MyServices.class);


    Contexts.getAppContext().startService(myIntent); 

and here is the declaration in manifest:

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

but it is still displaying this problem

Unable to start service Intent { flg=0x4 cmp=com.example.projet/Modul_GeoTrack.MyServices (has extras) }: not found

Please someone give me a solution I'm really blocking blocking..:'(:''''(

0 Answers0