import android.widget.TextView;
import android.widget.Toast;
import org.altusmetrum.AltosDroid.R;
+import org.altusmetrum.AltosLib.*;
/**
* This is the main Activity that displays the current chat session.
private static final String TAG = "BluetoothChat";
private static final boolean D = true;
+ private static final AltosLine q = new AltosLine();
+
// Message types sent from the BluetoothChatService Handler
public static final int MESSAGE_STATE_CHANGE = 1;
public static final int MESSAGE_READ = 2;
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);