summaryrefslogtreecommitdiff
path: root/altosdroid/src/org/altusmetrum/AltosDroid/AltosDroid.java
Commit message (Collapse)AuthorAge
...
* 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: 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: 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: 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>
* 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: 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: 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: whitespace and import tidyupMike Beattie2013-04-21
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* 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: 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: 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>
* altosdroid: implement UI updating on tabsMike Beattie2013-03-07
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: implement tabs interfaceMike Beattie2013-03-07
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Import initial versions of XML and Java for Tab contentMike Beattie2013-03-07
| | | | | | | | | | * Includes TabsAdapter class borrowed from Support Library sample code * New "GoNoGoLights" class for dealing with the red/green/gray LEDs * extra required strings in strings.xml * Couple of support functions in AltosDroid.java * rudimentary Maps tab - does nothing at present. Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: whitespace cleanupMike Beattie2013-03-07
| | | | | | DAMN my OCD. Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: make AltosDroid.pos() staticMike Beattie2013-03-07
| | | | | | * Will be used from tabs that display lat/lon Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: minor whitespace cleanupMike Beattie2013-03-07
| | | | | | (damn my OCD!) Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: update copyrights/licensingMike Beattie2013-03-07
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: excise old code/xmlMike Beattie2013-02-15
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Merge remote-tracking branch 'mjb/master'Keith Packard2013-02-10
|\
| * altosdroid: initial release to Play Storealtosdroid_v1.1.9.3Mike Beattie2013-01-29
| | | | | | | | | | | | | | | | | | * Add release keystore (encrypted) * Turn off debugging in UI * add 'sign' target to Makefile.am * Update version string in AndroidManifest.xml to match released version of altosui. Signed-off-by: Mike Beattie <mike@ethernal.org>
* | Add version numbers to java librariesKeith Packard2013-01-29
|/ | | | | | | Make our private java library names include a version number so we can ship and install multiple versions at the same time. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add version information to UIMike Beattie2012-10-24
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: AltosState now has speed and max_speed funcsKeith Packard2012-10-21
| | | | | | | These pull out the appropriate baro/accel speed values and may use some fancier values in future. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: implement AltosPreferencesBackend, and initialize.Mike Beattie2012-09-17
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: invert channel/freq orderingMike Beattie2012-08-31
| | | | | | Matches Channel Selector in altosui Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: also display channel numbersMike Beattie2012-08-31
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: complete frequency change dialogMike Beattie2012-08-31
| | | | | | Also implement Service IPC to action request. Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Start a hacked-up frequency dialogKeith Packard2012-08-30
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Implement voice just like altosuiMike Beattie2012-08-30
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Move bluetooth check to first taskMike Beattie2012-08-30
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: add rssi/serial/flight, and re-work UI orderingMike Beattie2012-08-30
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: rename ambiguous TextView nameMike Beattie2012-08-30
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: rework lat/lon to more common formatMike Beattie2012-08-30
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: rename azimuth/altitude to elevation/height respectively.Mike Beattie2012-08-30
| | | | | | (Matches altoslib, altosui, altos) Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: move units into code, to match altosuiMike Beattie2012-08-30
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: initial attempt at a UI.Mike Beattie2012-08-30
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>