wiglenet / wigle-wifi-wardriving

Nethugging client for Android, from wigle.net
https://wigle.net
BSD 3-Clause "New" or "Revised" License
670 stars 206 forks source link

[ENH] Upload complete broadcast #686

Closed rksh closed 7 months ago

rksh commented 7 months ago

Implementing #683 - sending a broadcast intent on upload success or failure. These are (respectively) net.wigle.wigleandroid.UPLOAD_COMPLETE and net.wigle.wigleandroid.UPLOAD_FAILED.

As a part of this change, I've also moved the OkFileUploader core call contents to WiGLEApiManager, our API implementation class. This necessitated numerous changes and begged certain cleanups, including:

Some of the changes here may benefit from further refactoring, but this change set is getting large, and further changes (e.g. combining our various progress interaction implementations) would increase risk.