traccar / traccar-client-android

Traccar Client for Android
https://www.traccar.org/client
Apache License 2.0
640 stars 710 forks source link

Location blocked for other apps when traccar client running #131

Open ghost opened 9 years ago

ghost commented 9 years ago

Location is blocked for other apps (google maps, endomondo, sygic, ...) when traccar client is running. It is not possible to get location information. Only when traccar client is disabled, then GPS for other apps is working. Tested on Samsung Galaxy S4 and S3. Android 4.4.2

tananaev commented 9 years ago

Traccar Client cannot block other apps. It uses standard Android APIs to get location.

ghost commented 9 years ago

It is not complete blocking. Other apps can get location, but it is randomly. It is not possible to use navigation or get GPS data every 1 sec. I can record movie and send to you to show how it works. Definitly it is caused by traccar. Just stop traccar service and problem is fixed.

tananaev commented 9 years ago

Does it depend on the interval you select in the app? For example if you select 1 minutes, your location is updated only once a minute in all other apps.

ghost commented 9 years ago

I have in traccar interval set to 600sec. I didnt connected update time in google maps with this interval, but now it seams to be the same time. I will check it today afternoon. Some time ago i had interval set to 1h, and google maps stoped to work after some minutes, probably when traccar sent update.