public void start() {
   if (current != null) {
     app.resume();
     current.show();
     return;
   }
   app = new CordovaApplication();
   app.addPlugin("Camera", new CameraPlugin());
   try {
     app.load("index.html");
   } catch (Exception ex) {
     Log.e(ex);
   }
   app.show();
 }
 public void stop() {
   current = Display.getInstance().getCurrent();
   app.pause();
 }