If you have the sources of your box and you want to disable permanently some services you can use system properties. first look at there, you’ll see how services are started : frameworks/base/services/java/com/android/server/SystemServer.java then you’ll see that most of the services have a boolean related to a system property, for instance location : boolean disableLocation […]
Archives de l’étiquette : geolocation
IOS – background task and precise geolocation
When trying to work in background with IOS, things get tricky particularly when it requires a good precision update (when the significant update stuff is not enough). first thing to do : start a background task : – (void)applicationDidEnterBackground:(UIApplication *)application { bgTask = [application beginBackgroundTaskWithName:@ »MyTask » expirationHandler:^{ // Clean up any unfinished task business by marking […]