MozStumbler-Firefox-Mobile
Jump to navigation
Jump to search
https://wiki.mozilla.org/Mobile/Notes
Bugzilla
- Request for more collection: https://bugzilla.mozilla.org/show_bug.cgi?id=1001211
- Stumbling as a full-time service: https://bugzilla.mozilla.org/show_bug.cgi?id=1003587
- Cell data upload: https://bugzilla.mozilla.org/show_bug.cgi?id=1003598
- Privacy: https://bugzilla.mozilla.org/show_bug.cgi?id=1003609
Major Outstanding Items
- Integrate into Fennec
- use android/thirdparty/org/mozilla/mozstumbler, place .java files there
- android/services/manifests, place StumblerAndroidManifest_services.xml
- no new permissions?
- resources: android/base/resources put xml files: authentication, syncadapter, preferences
- Sync
- we cannot sync using mobile data plan without user authorization. Potentially too much data. Creates UI issue, we ask 1 question of the user in Android Notification screen, can we ask a 2nd question?
- Stumbler uses sync to upload data, don't want 2nd sync entry in settings, investigate proper method of doing this.
- Sync code needs to be vetted by a pro, ensure the correct approach is being used
Passive Stumbling Overview
- Broadcast receiver specified in manifest xml starts the passive listening service on boot (consider other events?)
- Passive listening service will get GPS location events after other apps have requested a GPS location
- Service will then scan wifi and cell
- Service needs to check Fennec setting for geolocation sharing is on/off
- Periodically, service uploads stumbling data to MLS
- Frequency of sync depends on both the number of collections, and the age of the current non-uploaded batch. Local data storage is cleared after upload.
- Batches 2 weeks old that have not been uploaded are deleted.