summaryrefslogtreecommitdiff
path: root/altosdroid/src
Commit message (Collapse)AuthorAge
...
* altoslib: Add getBytes/putBytes interface to AltosPreferencesBackendKeith Packard2014-11-15
| | | | | | This lets us store arbitrary binary data in the preferences database Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Don't display MISSING flight numberKeith Packard2014-11-15
| | | | | | Just check and clear the entry if we end up seeing that value Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add imperial unit supportKeith Packard2014-09-06
| | | | | | | Provides a menu entry to switch units, changes all value displays to use the AltosLib units conversion code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Update tab contents before switchingKeith Packard2014-09-05
| | | | | | | Make sure the new tab contents are updated before switching tabs so that the user doesn't see old stuff. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Ignore TelemetryService messages after service shutdownKeith Packard2014-09-05
| | | | | | | Messages may get delivered after the service has been shut down; ignore those. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: add new TelemetryState.javaKeith Packard2014-09-04
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Use single object to pass data to UIKeith Packard2014-09-03
| | | | | | | | | Instead of having separate messages for each piece of telemetry state, package the whole mess up in one object and send it for any change. This simplifies tracking within the UI by avoiding corner cases during reconnect. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: reload previous log file at connect timeKeith Packard2014-08-31
| | | | | | Use the saved logfile to re-load the previous state at startup time. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add missing preferences backend fileKeith Packard2014-08-31
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add quit. Restart. Show freq in title.Keith Packard2014-08-31
| | | | | | | | Add a quit button to menu. When restarting, reconnect to previous device. When connecting, set the freq/rate to previous values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: fixup fetching active device addressKeith Packard2014-08-29
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: start restoring from log data on startupKeith Packard2014-08-29
| | | | | | Remember which flight was last being received and reload that file Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Skip updating hidden UI elementsKeith Packard2014-08-17
| | | | | | | Instead of updating everything in the UI, only update the visible UI elements to save a bunch of computation. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add telemetry rate supportKeith Packard2014-08-17
| | | | | | Provides a menu to select the receiver telemetry bit rate Signed-off-by: Keith Packard <keithp@keithp.com>
* java: Bump java library versions for next releaseKeith Packard2014-06-16
| | | | | | Prepare for future release by bumping java versions now Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Improve voice for TeleGPSKeith Packard2014-06-13
| | | | | | This avoids making lots of useless voice announcements for TeleGPS Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Don't crash when the map is touchedKeith Packard2014-06-13
| | | | | | | The map 'canScroll' method was crashing when dereferencing a null value somewhere. Just check all of them and bail instead of crashing. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib: Change versions to altoslib:4, altosuilib:2Keith Packard2014-05-25
| | | | | | API has changed for these libraries, time to bump the file versions Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Bump library versionKeith Packard2013-12-20
| | | | | | | Prepare for next release by making sure we notice that the API/ABI for this library has changed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Use altoslib standard voltages to control lightsKeith Packard2013-12-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Support binary reading/writing in AltosLinkKeith Packard2013-12-08
| | | | | | | Binary reads require an explicit length, and do not work while telemetry is running. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: convert rogue files to unix line endingsMike Beattie2013-09-05
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: more updates for new AltosStateMike Beattie2013-09-05
| | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org> Conflicts: altosdroid/src/org/altusmetrum/AltosDroid/AltosVoice.java
* altosdroid: update to support new state codeMike Beattie2013-09-05
| | | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org> Conflicts: altosdroid/src/org/altusmetrum/AltosDroid/TabAscent.java altosdroid/src/org/altusmetrum/AltosDroid/TabDescent.java altosdroid/src/org/altusmetrum/AltosDroid/TabPad.java
* altoslib: Finish AltosState changes. Update version number.Keith Packard2013-09-05
| | | | | | | Removes all of the AltosRecord bits, changes the monitor idle bits to have per-object state updaters. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Just use GPS location provider to build on 4.2Keith Packard2013-07-02
| | | | | | Attempts to use the network provider cause the app to crash Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Make the service class implement locationlistenerMike Beattie2013-04-21
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: fix up 'send last' code.Mike Beattie2013-04-21
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: check for mAltosVoice being null.Mike Beattie2013-04-21
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: set tab height based on screen density.Mike Beattie2013-04-21
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Add filters for TeleBT bluetooth devices.Mike Beattie2013-04-21
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: whitespace and import tidyupMike Beattie2013-04-21
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Update distance/bearing on map tabKeith Packard2013-04-20
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Fix integer formatting in tabsKeith Packard2013-04-17
| | | | | | | Was trying to use AltosDroid.number for integers, which didn't work as it expected doubles. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Check for missing valuesKeith Packard2013-04-16
| | | | | | When displaying numbers, check for MISSING values and display nothing Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Update UI even if no telem has been received. Center map.Keith Packard2013-04-13
| | | | | | | | | | This allows the receiver location to be displayed even when telemetry is not. Center the map on the first valid location, either receiver or rocket. Update center if a significantly more precise location is received. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Get rid of a couple of startup messagesKeith Packard2013-04-13
| | | | | | These are just annoying Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Show our position in the map tab. Squeeze to fit phonesKeith Packard2013-04-13
| | | | | | Shrink everything to fit on phones, then add phone location to the map tab Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: The Map already draws our location; no receiver marker neededKeith Packard2013-04-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Check state.gps != null before using itKeith Packard2013-04-12
| | | | | | Avoid crashing. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Compute course from android device to rocket, display itKeith Packard2013-04-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Mike was right -- only need one LocationListenerKeith Packard2013-04-11
| | | | | | | I mis-read the docs and thought we needed two listeners, one for GPS and one for network position. Looks like we don't Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Send LOCATION and CRC_ERROR messages to UI.Keith Packard2013-04-11
| | | | | | | This collects all position changes and crc error increments and sends them along to the UI for presentation. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Hook up the position listenersKeith Packard2013-04-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add map polyline between pad and rocketMike Beattie2013-03-10
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Add rocket and pad map markersMike Beattie2013-03-10
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: programmatically create map fragmentMike Beattie2013-03-10
| | | | | | | | * Allows reliable fetching of a GoogleMap handle. * Set map options, initial location (NCR North for now, temporarily) * Add some info fields below map, and update them accordingly Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: fix side-to-side scrolling in map tabMike Beattie2013-03-08
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Auto tab changingMike Beattie2013-03-07
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: implement Age field updatingMike Beattie2013-03-07
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>