title: Android Studio - Camera Burst (Multiple shots)
body: <p>I'm developing an app on Android Studio and I am setting a button that, when pressed, will open the camera. In particular, I need the camera to take multiple shots (keeping the "shot" button pressed on the camera view, it should take multiple shots till it is released). </p>
  
  <p>My smartphone camera supports the "continuous shot" feature (Android 5.1, API 22), but I cannot use it when I call the camera from my app. As you can see in the screenshots below, when I open the camera from the official camera app, it has a different layout with more settings. When I call the camera from my app, it has less settings and if I try to keep pressed the "shot" button, it appears the toast message "Does not support continuous shot".</p>
  
  <p><a href="https://i.imgur.com/ncaJYyz.jpg" rel="nofollow noreferrer">https://i.imgur.com/ncaJYyz.jpg</a></p>
  
  <p><a href="https://i.imgur.com/IJMIqjf.jpg" rel="nofollow noreferrer">https://i.imgur.com/IJMIqjf.jpg</a></p>
  
  <p>The simple code I use to call the camera function in my app is the following:</p>
  
  <pre><code>public void cameraCall(View view) {
      Intent intent = new Intent("android.media.action.IMAGE_CAPTURE");
      startActivityForResult(intent, 0);
  }
  </code></pre>
  
  <p>Any idea about how to solve this problem?
  Thank you</p>