summaryrefslogtreecommitdiff
path: root/altosdroid/src/org/altusmetrum/AltosDroid/AltosDroid.java
Commit message (Collapse)AuthorAge
...
* 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>
* altosdroid: add missing break; (just in case!)Mike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: debugging statementsMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: forgot change to IncomingHandler constructor call. oops!Mike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Strings and Layout changesMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: reflect change in message nameMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Convert handlers to use weakreferencesMike Beattie2012-08-26
| | | | | | * Also renamed bluetooth start/stop methods Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: begin adding IPC to main threadMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Add service start/bind/unbind to AltosDroidMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Remove AltosLib import from main threadMike Beattie2012-08-26
|
* altosdroid: whitespaceMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Re-locate TextView initialisationMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: remove UI components/imports no longer usedMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: excise BluetoothChatService example codeMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: remove TelemetryService activitiesMike Beattie2012-08-26
| | | | | | service start/stop will be handled by AltosDroid/itself now. Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: whitespace (spaces to tabs) (part2)Mike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: whitespace (spaces to tabs) (part1)Mike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Update copyrightsMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* AltosDroid: Begin re-working Bluetooth codeMike Beattie2012-08-02
| | | | | | | | * Move to using explicit 'magic' UUID, rather than java reflection * Re-work UI to make it more useful for testing * Use Insecure RFCOMM only, and remove code that differentiates. Signed-off-by: Mike Beattie <mike@ethernal.org>
* Add TelemetryService.java and associated filesMike Beattie2012-06-02
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Demonstrate using AltosLib from altosdroidKeith Packard2012-06-02
| | | | | | | | Get things hooked up so that we can use AltosLib functions from the android application; it's a bit of a hack at present, but appears to work. Some more 'official' technique would be nice... Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: import code from mjbKeith Packard2012-06-02
Signed-off-by: Keith Packard <keithp@keithp.com>