summaryrefslogtreecommitdiff
path: root/altosdroid
Commit message (Collapse)AuthorAge
...
* 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: Deal with bluetooth connection failures betterKeith Packard2015-03-07
| | | | | | | | | | | | | | | | | | | | | Remember when we've closed the bluetooth connection so that we stop operations, including reporting connection status messages or even starting a connection attempt. Pass the AltosBluetooth object back in connection status messages so that TelemetryService can tell when messages from closed objects get delivered. There's a queue between the two, so the above fix catches most of these instances, but not all of them. Stick a delay during reconnect -- if the TeleBT device is getting power-cycled, it will need a few seconds to reconfigure the device at startup, if AltosDroid manages to connect during that time, the configuration commands will be ignored. Unlock the AltosBluetooth device while we connect so that cancel calls will actually work. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Ignore automatic tab changing while activity is savedKeith Packard2015-02-16
| | | | | | | | | | When the activity state is saved (after onSaveInstanceState()), we can't update the UI until the activity is restarted or restored; that means any UI changes we make, like switching tabs, must deal with this by allowing those changes to be ignored, using commitAllowingStateLoss instead of commit. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Missing file: DeviceAddress.javaKeith Packard2015-02-16
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Only speak when GUI is runningKeith Packard2015-02-16
| | | | | | | Create voice in onStart, stop it in onStop. This way, if some other application is in use, the voice won't be annoying you. 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: Lots of bluetooth connection changesKeith Packard2015-02-16
| | | | | | | | | | | | | Appears to more reliably abort in-progress connection attempts so you can switch TBT devices without having the previous device in operation. Shows which device the connection is being attempted for. Eliminate the 10-second timer and just disable the service when the GUI shuts down while no BT connection is running. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump java library versionsKeith Packard2015-02-07
| | | | | | | Lots of minor API/ABI changes; make sure people can install both 1.5 and 1.6 at the same time. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add AltosDroid release note for version 1.5Keith Packard2014-11-16
|
* altosdroid: East and West were flipped in all GPS outputKeith Packard2014-11-16
| | | | | | East is positive, West is negative Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Save AltosState and restore at startupKeith Packard2014-11-15
| | | | | | | | | Instead of re-parsing the old logfile, save the current state in the preferences database and restore at restart of the TelemetryService. This makes the state get restored even before the BT connection is recovered. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: TabMap needs to expose () constructorKeith Packard2014-11-15
| | | | | | Otherwise we get an exception at startup time for some reason. Signed-off-by: Keith Packard <keithp@keithp.com>
* 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: Update notebook to reflect current statusKeith Packard2014-09-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* reflect filename changes in LLC repoBdale Garbee2014-09-13
|
* altosdroid: Automatically sign the released version if the key is availableKeith Packard2014-09-13
| | | | | | | Look in ~/altusmetrumllc for release.keystore and Passphrase and enable building and signing of the release binary. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Update version code and name for 1.5Keith Packard2014-09-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Mark completed items as 'done'Keith Packard2014-09-06
| | | | | | | | Frequency display Re-load data on restart Auto re-connect to TBT at correct freq 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>
* altosdroid: Altosdroid build doesn't work in parallel, so stop tryingKeith Packard2014-06-11
| | | | 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: improve build system dependenciesMike Beattie2013-12-20
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: update to latest google play servicesMike Beattie2013-12-20
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: force older jarsigner signing algorithm for java 1.7Mike Beattie2013-12-20
| | | | | | (increment versionCode, re-upload to Play Store) Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: bump versionName to 1.3 and versionCode to 4Keith Packard2013-12-19
| | | | 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: Add note to report TeleBT battery levelKeith Packard2013-08-17
| | | | 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>