Android Tutorial cannot find symbol after #StartCommandReturnValue: android.app.Service.START_STICK

Mark Ryan Penafiel

Member
Licensed User
Longtime User
hi after adding #StartCommandReturnValue: android.app.Service.START_STICK in a service


i have an error

javac 1.8.0_60
src\team\box\gps_save.java:51: error: cannot find symbol
return android.app.Service.START_STICK;
^
symbol: variable START_STICK
location: class Service
1 error


how can i fixed this.


Thanks
 

Attachments

  • sticky_service.PNG
    sticky_service.PNG
    52.1 KB · Views: 724
Top