@Override
 public void onServerCallback(JSONObject data) {
   try {
     Log.i("blue", "" + (char) data.getInt("lr") + (char) data.getInt("fb"));
     BluetoothConnector.getInstance()
         .sendSerial((char) data.getInt("lr"), (char) data.getInt("fb"));
   } catch (JSONException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
   }
 }
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.controller);
    setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);

    // CameraView
    LinearLayout linearLayout = (LinearLayout) findViewById(R.id.layout);
    CameraSurfaceView cameraSurfaceView = new CameraSurfaceView(this);
    cameraSurfaceView.setPreviewCallback(this);
    linearLayout.addView(cameraSurfaceView);
    BluetoothConnector.getInstance().open(this);
    ServerConnector.getInstance().setServerCallback(this);
    // TODO Get GPS
    // getGPS();
    // gdg.androidrccarcontroller.tool.gps.GetLocations();
  }