Add TelemetryService.java and associated files
[fw/altos] / altosdroid / src / org / altusmetrum / AltosDroid / AltosDroid.java
index 87f89cf9b76317e610309644e80ec6bebc762b4d..b4a3227cde7664d4e4b8d1a99f1c9edf84ec8352 100644 (file)
@@ -339,6 +339,14 @@ public class AltosDroid extends Activity {
     public boolean onOptionsItemSelected(MenuItem item) {
         Intent serverIntent = null;
         switch (item.getItemId()) {
+        case R.id.telemetry_service_control:
+            serverIntent = new Intent(this, TelemetryServiceActivities.Controller.class);
+            startActivity(serverIntent);
+            return true;
+        case R.id.telemetry_service_bind:
+            serverIntent = new Intent(this, TelemetryServiceActivities.Binding.class);
+            startActivity(serverIntent);
+            return true;
         case R.id.secure_connect_scan:
             // Launch the DeviceListActivity to see devices and do scan
             serverIntent = new Intent(this, DeviceListActivity.class);