Android Question beginning with services

morosh

Member
Hello:
I need my application still running in the background, so I looked to services examples, I found "MyLocation" and I modified it to have a notification every 10s. Unfortunately, it didn't works, Any help is appreciated.
Thank you
 

Attachments

  • Service.zip
    83 KB · Views: 123

teddybear

Well-Known Member
Licensed User
Hello:
I need my application still running in the background, so I looked to services examples, I found "MyLocation" and I modified it to have a notification every 10s. Unfortunately, it didn't works, Any help is appreciated.
Thank you
There are 2 issues in your project.
1. You have to add AddPermission(android.permission.ACCESS_FINE_LOCATION) in your manifest
2. You should initialize timer1 event name "timer1" instead of "timer1_Tick" in your module Tracker.
 
Last edited:
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top