summaryrefslogtreecommitdiff
path: root/altosdroid/src/org/altusmetrum/AltosDroid/AltosDroid.java
Commit message (Collapse)AuthorAge
* 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>
* altosdroid: Add Dumper class for testingMike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: do service start/bind/unbind in start/stop, not create/destroy.Mike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: move methods aroundMike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: tidy up old messagesMike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: stop sending device name, just send config dataMike Beattie2012-08-28
| | | | | | | | * Kinda complicated, but ultimately more sensible * Just send the config data as an arg to MSG_CONNECTED * keep retrying connection till we actually get config data Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Miscellaneous comments/debug/etc cleanupMike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: miscellaneous cleanupMike Beattie2012-08-28
| | | | | | | | | * Copyright info * whitespace * comments * unused imports Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Add new "TelemetryReader" class to handle TelemetryMike Beattie2012-08-28
| | | | | | | | | | | | | * Add MSG_TELEMETRY messages to both AltosDroid and TelemetryService to handle passing of AltosState object all the way back to the UI. * Remove linkedblockinglist from TelemetryService * (MSG_TELEMETRY is a rename of MSG_INCOMING_TELEM in AltosDroid) * commented code in case statement inside AltosDroind - won't work with the objects it is currently passed. * Add new "MSG_DEVCONFIG" message to AltosDroid - allows TelemetryService to pass information about the connected device back to the UI. Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Toast() requests don't need BundlesMike Beattie2012-08-27
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: remove complexity around message passingMike Beattie2012-08-27
| | | | | | | * Don't really need to use bundles * TelemetryService: Use a local variable to store the bluetooth device object Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: begin adding TextToSpeech support.Mike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>