From 392c878000e9909d37dae6342df3d6cb8f217a1b Mon Sep 17 00:00:00 2001 From: Mike Beattie Date: Thu, 23 Feb 2012 16:41:26 +1300 Subject: Add TelemetryService.java and associated files Signed-off-by: Mike Beattie --- altosdroid/res/drawable-hdpi/am_status.png | Bin 0 -> 804 bytes altosdroid/res/drawable-mdpi/am_status.png | Bin 0 -> 595 bytes .../res/layout/telemetry_service_binding.xml | 42 +++++++++++++++++++++ .../res/layout/telemetry_service_controller.xml | 42 +++++++++++++++++++++ altosdroid/res/menu/option_menu.xml | 6 +++ altosdroid/res/values/strings.xml | 26 +++++++++++++ 6 files changed, 116 insertions(+) create mode 100644 altosdroid/res/drawable-hdpi/am_status.png create mode 100644 altosdroid/res/drawable-mdpi/am_status.png create mode 100644 altosdroid/res/layout/telemetry_service_binding.xml create mode 100644 altosdroid/res/layout/telemetry_service_controller.xml (limited to 'altosdroid/res') diff --git a/altosdroid/res/drawable-hdpi/am_status.png b/altosdroid/res/drawable-hdpi/am_status.png new file mode 100644 index 00000000..03f9dd7d Binary files /dev/null and b/altosdroid/res/drawable-hdpi/am_status.png differ diff --git a/altosdroid/res/drawable-mdpi/am_status.png b/altosdroid/res/drawable-mdpi/am_status.png new file mode 100644 index 00000000..07f7f073 Binary files /dev/null and b/altosdroid/res/drawable-mdpi/am_status.png differ diff --git a/altosdroid/res/layout/telemetry_service_binding.xml b/altosdroid/res/layout/telemetry_service_binding.xml new file mode 100644 index 00000000..950d0d3a --- /dev/null +++ b/altosdroid/res/layout/telemetry_service_binding.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + diff --git a/altosdroid/res/layout/telemetry_service_controller.xml b/altosdroid/res/layout/telemetry_service_controller.xml new file mode 100644 index 00000000..189d2f6c --- /dev/null +++ b/altosdroid/res/layout/telemetry_service_controller.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + diff --git a/altosdroid/res/menu/option_menu.xml b/altosdroid/res/menu/option_menu.xml index 18de725c..27625e9c 100644 --- a/altosdroid/res/menu/option_menu.xml +++ b/altosdroid/res/menu/option_menu.xml @@ -14,6 +14,12 @@ limitations under the License. --> + + diff --git a/altosdroid/res/values/strings.xml b/altosdroid/res/values/strings.xml index 60823b12..0b2f9227 100644 --- a/altosdroid/res/values/strings.xml +++ b/altosdroid/res/values/strings.xml @@ -38,4 +38,30 @@ Connect a device - Secure Connect a device - Insecure Make discoverable + + + AltOS Telemetry Service + Telemetry Service Started + Telemetry Service Stopped + + + + Start/Stop Service + Bind/Unbind Service + + App/Service/Local Service Controller + This demonstrates how you can implement persistent services that + may be started and stopped as desired. + Start Service + Stop Service + + App/Service/Local Service Binding + This demonstrates how you can connect with a persistent + service. Notice how it automatically starts for you, and play around with the + interaction between this and Local Service Controller. + Bind Service + Unbind Service + Connected to local service + Disconnected from local service + -- cgit v1.2.3