summaryrefslogtreecommitdiff
path: root/altosdroid/res
Commit message (Collapse)AuthorAge
* 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>
* Switch from GPLv2 to GPLv2+Keith Packard2016-07-12
| | | | 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>
* 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>
* altosdroid: Add idle mode monitoring, reboot. Start ignitersKeith Packard2016-04-25
| | | | | | | This adds three idle mode operations -- monitor idle, reboot flight computer and test igniters. The igniter test isn't quite wired up. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add minus sign and decimal point to lat/lon input fieldsKeith Packard2015-10-13
| | | | | | | Some android devices always have change-sign and decimal-point keys visible, but some do not. Make sure they're available for lat/lon input. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Clean up tab layoutKeith Packard2015-07-11
| | | | | | | Fuss with weights and gravitys, then add some wrapping layouts to get things looking reasonable on small and larger screens. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add other igniter status, various other layout changesKeith Packard2015-07-11
| | | | | | | Show the first four igniters (A-D) in the pad tab. Make pad and flight layouts look a bit better Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Preload maps based on distance rather than number of tilesKeith Packard2015-07-11
| | | | | | | This lets you get the specific area requested at all zoom levels, rather than having further detail only at lower resolution zooms. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Show direction to target in recover tabKeith Packard2015-06-23
| | | | | | | | This takes the bearing to target and current direction of motion (from the Android API) and computes a turn amount and displays that so you don't have to know which way is north when walking towards the rocket. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Switch to four tabs (pad/flight/recover/map)Keith Packard2015-06-22
| | | | | | Ascent and descent were almost the same; no reason to have both. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Get rid of on-line only maps tabKeith Packard2015-06-22
| | | | | | | The offline tab did both, so delete the online one and replace it with the offline one. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Display online/offline maps in same tabKeith Packard2015-06-22
| | | | | | | Make the map portion switchable between online and offline maps, leaving the rest of the tab alone. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add map source preferenceKeith Packard2015-06-22
| | | | | | Not hooked up yet. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Show receiver battery voltage in the 'pad' viewKeith Packard2015-06-22
| | | | | | Helpful to determine when the receiver battery is getting low Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Resource changes needed for multi-tracker modeKeith Packard2015-06-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Switch from custom title to standard Holo themeKeith Packard2015-05-31
| | | | | | | This gives us the menu button, which is awfully useful on devices without a hardware version... Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Split out AltosMapView into separate fileKeith Packard2015-05-28
| | | | | | | | | This lets us use the regular layout configuration bits in the .xml file instead of needing to patch the map object into the display. That was causing problems when re-entering the map tab as the map view would somehow end up with a zero width. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add map types and map preloading UIsKeith Packard2015-05-28
| | | | | | | This adds an ugly dialog to select which maps to preload, and also adds the ability to display other map types. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Fix tab label height problemsKeith Packard2015-04-27
| | | | | | | | | With a newer android API versions, we can set the indicator to a View instead of just a string. This lets us wrap the desired string in a TextView and show just that for the indicator, making it exactly the right size. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add USB support for TeleDongle/TeleBTKeith Packard2015-04-27
| | | | | | This lets AltosDroid use a USB-connected receiver as well as Bluetooth devices. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Explicitly disconnect BT on termination or 'disconnect'Keith Packard2015-02-16
| | | | | | | | | | This adds an explicit message to the telemetry service telling it when to stop trying to talk to the bluetooth device. Until this message is received, the service will reconnect to the specified BT device. That message is sent when you 'quit' the application, or when you 'disconnect'. 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: 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: 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>
* altosdroid: incorrect property syntax in pad xmlMike 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: 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: 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: Shrink text so it fits on my phoneKeith Packard2013-04-13
| | | | | | Yes, this is a hack; will try to figure out how to make it resizeable Signed-off-by: Keith Packard <keithp@keithp.com>
* 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: 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: convert spaces to tabs in strings.xmlMike Beattie2013-03-07
| | | | 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>
* altosdroid: Add version information to UIMike Beattie2012-10-24
| | | | 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: add rssi/serial/flight, and re-work UI orderingMike Beattie2012-08-30
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: formatting/whitespace, correct idsMike 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>