59

I like the fact that my Android phone records my location timeline from Google Maps, but the fact that this is stored in Google servers creeps me out.

I know you can download the entire location history database from Google so I was planning on building a custom app to store and browse this data.

I was also curious if there would be the possibility of making the phone send locations to this app instead of Google, but I don't know much about Android and I don't know if this would be possible.

What do you think about it? Is there already an app like this? Do you think this is a good idea?

you are viewing a single comment's thread
view the rest of the comments
[-] anzo@programming.dev 5 points 2 years ago

Been there, the issue I encountered is that most other apps would rely on active GPS and drain battery with it. Also, not many apps can access the GPS without a prompt, at least on xiaomi I had that... Maybe it's something to do with their OS customization... Anyway, Ideally you'd like to access in intervals and only wake GPS if other means (e.g. WLAN passive scan of surrounding SSIDs, like google services does) lack certain accuracy.

[-] paf@jlai.lu 3 points 2 years ago

On your Xiaomi first time you launched app, you can determine wether you always allow or allow on prompt (but you should still be able to manage that setting afterwards). You also need to disable battery optimization for that app and set app to be able to auto launch in background. This is at least what I do with my home assistant app to determine GPS location in background (app record every 15mn) and no issues with battery draining.

this post was submitted on 03 May 2024
59 points (95.4% liked)

Selfhosted

61853 readers
639 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS