amorosik Expert Licensed User Dec 29, 2020 #1 On post Gps Background Tracking appear a line to insert in manifest file SetServiceAttribute(Tracker, android:foregroundServiceType, "location") 'Tracker' is a service module name 'android:foregroundServiceType' is a service type required But what is exactly "location" ?
On post Gps Background Tracking appear a line to insert in manifest file SetServiceAttribute(Tracker, android:foregroundServiceType, "location") 'Tracker' is a service module name 'android:foregroundServiceType' is a service type required But what is exactly "location" ?
roumei Active Member Licensed User Dec 29, 2020 #2 "location" is the foregroundServiceType. More info: https://developer.android.com/guide/components/foreground-services Upvote 0
"location" is the foregroundServiceType. More info: https://developer.android.com/guide/components/foreground-services
amorosik Expert Licensed User Dec 29, 2020 #3 roumei said: "location" is the foregroundServiceType. More info: https://developer.android.com/guide/components/foreground-services Click to expand... Then the third parameter can be 'location' or 'camera' or 'microphone', is correct ? Upvote 0
roumei said: "location" is the foregroundServiceType. More info: https://developer.android.com/guide/components/foreground-services Click to expand... Then the third parameter can be 'location' or 'camera' or 'microphone', is correct ?
roumei Active Member Licensed User Dec 29, 2020 #4 According to the Android Docs, yes (with API level 30). I haven't tried it, though. Upvote 0