title: ADB command to toggle camera modes in android device
body: <p>I am trying to figure out what is the command to load the camera app in different modes like following:</p>
  
  <ol>
  <li>Toggle between camera and video cam corder mode </li>
  <li>Toggle between front and back camera</li>
  </ol>
  
  <p>I have used the following command to launch the camera applicaiton</p>
  
  <pre><code>adb shell am start -a android.intent.action.MAIN -n com.android.gallery3d/com.android.camera.CameraLauncher
  </code></pre>
  
  <p>which does launch the camera app successfully but I do no know how to toggle modes. Is there any wiki on all the different commands of ADB? the ADB documentation does not seem to talk about this.</p>
  
  <p>Any ideas?</p>