Closed Bug 1003587 Opened 10 years ago Closed 9 years ago

Stumbling (wireless and cellular location collection) as full-time background service

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1038843

People

(Reporter: garvan, Assigned: garvan)

References

Details

(Whiteboard: geolocation, mozilla location services)

Rather than perform stumbling only when Firefox has been launched (or launched and backgrounded), implement it as a service which can collect at all times.
Key points:
- the service will only be active after the user has enabled the pre-existing preference to collect this data
- the service will use the passive location provider on Android, which is zero-power
Additionally:
- aggregate the data, and upload periodically (compressed)
Version: Firefox 32 → Trunk
Miscellaneous note:

Service lifecycles can be tricky if Firefox is installed on the SD card, not to mention after upgrades, upgrades where permissions change, and across Android versions.

It's worth making sure that services are (re)triggered at appropriate points.

Some of the services in the Android Background Services module (most of the source for which lives canonically on <https://github.com/mozilla-services/android-sync>) would be good references for this.
Fennec stumbling has landed as part of this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1038843
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.