title: Android Front Facing Camera by default
body: <p>Alright I have an application that is going to go on a specific android device that has a front facing camera. </p>
  
  <p>I need to use the front facing camera by default. The min API I have set is 9. I have tried looking everywhere and since I am such a newbie to JAVA, I am lost. </p>
  
  <p>Here is my code snippet if you could please elaborate on how the code works I will appreciate it greatly!</p>
  
  <pre><code>import android.app.Activity;
  import android.hardware.Camera;
  import android.os.Bundle;
  import android.util.Log;
  import android.view.Surface;
  
  import org.apache.cordova.*;
  
  public class MainActivity extends DroidGap {
  
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          super.loadUrl("file:///android_asset/www/index.html");
      }
  }
  </code></pre>