summaryrefslogtreecommitdiff
path: root/altosdroid
Commit message (Collapse)AuthorAge
* altosdroid: Remove CustomTheme which is no longer required.android-build-updateMike Beattie2019-10-15
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Update app to use Material Design themeMike Beattie2019-10-15
| | | | | | Added code to force display of app logo on ActionBar, which is normally disabled under Material Design. Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Update Makefile.am to run gradle-based buildKeith Packard2019-09-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Update Google Maps API usage.Mike Beattie2019-09-19
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Update persistent notification in TelemetryServiceMike Beattie2019-09-19
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Convert to AndroidX from support_v4Mike Beattie2019-09-19
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Import cleanupMike Beattie2019-09-19
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Commented out duplicate stringsMike Beattie2019-09-19
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Indentation cleanupMike Beattie2019-09-19
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Add FOREGROUND_SERVICE permission which is now requiredMike Beattie2019-09-19
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Remove versioning data from AndroidManifest.xml.inMike Beattie2019-09-19
| | | | | | (now in build.gradle) Signed-off-by: Mike Beattie <mike@ethernal.org>
* Clean up duplication in AndroidManifest.xml.inMike Beattie2019-09-19
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* buildinfo data comes from Makedefs now, not VersionMike Beattie2019-09-19
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Add gradle build filesMike Beattie2019-09-19
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Update files that reference new pathsMike Beattie2019-09-19
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Move java source, and resources to new paths for gradleMike Beattie2019-09-19
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Remove ant build filesMike Beattie2019-09-19
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Hack up build to 'work' for nowKeith Packard2019-08-04
| | | | | | | | | | Android apps are now build with gradle instead of ant; the ant bits are stale and only work with old java. Use old java to run ant while using the current java compiler to build things. This requires a custom version of the google play API library. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/altosdroid: Change message in forbidden map tilesKeith Packard2018-10-07
| | | | | | These are outside of *known* launch areas. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/altosdroid: Disable offline map type selectionsKeith Packard2018-10-07
| | | | | | | Our server only supports hybrid maps for now. If that changes, we can re-add this support easily enough. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Restore google maps key settingKeith Packard2018-10-06
| | | | | | Only for altosdroid, and use a key restricted to our app Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Set offline map scale to 1Keith Packard2018-10-06
| | | | | | Offline maps only supports scale 1 now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Fix offline map messages to match new meaningsKeith Packard2018-10-06
| | | | | | forbidden means outside of launch area. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Switch to maps.altusmetrum.org when no google map key is availableKeith Packard2018-10-06
| | | | | | | The map key is only usable from maps.altusmetrum.org at this point, and that service will be proxying for everyone in the near future. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump java lib versions to 13Keith Packard2018-08-15
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Attempt to avoid some reported altosdroid crashesKeith Packard2018-04-26
| | | | | | Just looking at stack traces, maybe these changes will avoid some problems? Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Display serial, call, freq in tracker listKeith Packard2017-09-12
| | | | | | This makes the list a lot easier to find entries in when it gets long. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: cal_data is no longer public from AltosStateKeith Packard2017-06-27
| | | | | | Use cal_data() method instead. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib,altosuilib: Bump library version numbersKeith Packard2017-06-13
| | | | | | The API and ABI have changed a bit since 1.7 Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui, telegps, altosdroid: say ground distance, not total rangeKeith Packard2017-06-11
| | | | | | Ground distance is more useful in predicting recovery than total range. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Deal with AltosState changesKeith Packard2017-05-27
| | | | | | | | cal data split out from altos state. altos state needed to have no-arguments constructor for JSON code. Also messed with voice to make it stay quiet during app startup. Signed-off-by: Keith Packard <keithp@keithp.com>
* Switch from GPLv2 to GPLv2+Keith Packard2016-07-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Deal with multiple installed android SDKsKeith Packard2016-06-29
| | | | | | Use the latest SDK's zipalign Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Auto save freq changes on 'ok'Keith Packard2016-06-15
| | | | | | | Add any pending changes in the edit entries to the frequency set when the user selects 'ok'. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Store saved state in version-independent formatKeith Packard2016-05-12
| | | | | | | Use AltosHashSet for AltosState so that AltosDroid doesn't lose tracker information when the application is upgraded. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump java library versionsKeith Packard2016-05-12
| | | | | | Prepare for 1.6.4 release Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Get rid of AltosMap from AltosMapLoaderKeith Packard2016-05-11
| | | | | | | Cleans up the loader API and eliminates a AltosMapTile for every chunk of map data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: make disconnect stick past pause/restartKeith Packard2016-05-11
| | | | | | | Clear the active_device preference on disconnect so we don't reconnect anytime the service gets activated. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Rate limit map loading pacifierKeith Packard2016-05-11
| | | | | | Just like in altosui. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Allow map preloading to be abortedKeith Packard2016-05-11
| | | | | | | Close the map preload dialog and it would be nice to stop loading map bits. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Switch distance from m/ft to km/miles for large valuesKeith Packard2016-05-11
| | | | | | | This adds lots of infrastructure to deal with making the unit used depend on the value itself, and then uses it only for distances. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Check for closed before writing/reading bluetoothKeith Packard2016-05-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Fix map preloading callbacks, run in separate threadKeith Packard2016-05-05
| | | | | | | | | | | | | | | | | The map storage and tile callbacks were muddled together. Create clearly separate states for map data and have status updates be delivered when registering for new status events so that registration is sufficient to track the state without an explicit call to get the current state. Run the map tile creation in a separate thread so that even checking status of files on disk runs out of the UI thread. These fixes serve to make the pacifier update more smoothly, and also not over/under count tile loading so that the loading actually completes when all of the tiles are loaded. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Deal with TeleMetrum v2.0 MMA6555 being invertedKeith Packard2016-05-02
| | | | | | | | | | | | | | | | Dumping the MMA655X data with the 'A' command provides the raw sensor value. On TM v2.0 boards, the sensor is inverted, and all of the firmware uses the inverted value except for the 'dump the raw data' command. As a result, MonitorIdle was using the un-inverted value and displaying mystic values. I've fixed this in the ground station code by checking the product name and conditionally inverting the value (4095 - value) for TeleMetrum v2.0 products. Unknown products will generate a warning dialog on AltosUI so we'll catch places where we've failed to add a new product name. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Flush during set_state. Don't store listener state.Keith Packard2016-04-30
| | | | | | | | The listener state wasn't used anyways, so don't bother storing it. Also, flush the state during set_state, which actually causes the state to be written out. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: max height is a height, not a speedKeith Packard2016-04-30
| | | | | | Was using the wrong units in the flight tab Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Make AltosPreferencesBackend abstract. Add set/put SerializableKeith Packard2016-04-28
| | | | | | | This lets us add functionality to this directly, such as the new serializable APIs. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add configurable frequency setKeith Packard2016-04-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Fix key in AndroidManifest.xml.inKeith Packard2016-04-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Split setup functions to separate dialogKeith Packard2016-04-26
| | | | | | | Remove them from the options menu, handle all preferences through listeners. Signed-off-by: Keith Packard <keithp@keithp.com>