How to take multiple photos before dismissing camera intent?
I discovered through the SDK documentation that there's an alternative intent action for the device camera that launches the camera in still image mode and does not exit until the user is finished with the activity:
Intent intent = new Intent(
MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA);
this.startActivity(intent);
Coupled with a ContentObserver this was exactly what I needed to accomplish.
Android: How to capture multiple photos with the same camera intent
making an intent to "INTENT_ACTION_STILL_IMAGE_CAMERA"
This is not really analogous to any of your other options. For example, you have no idea if any pictures were taken, where they were stored, etc.
as a consequence, I think that is not possible to control the interface or the behavior of the called app
Correct. This is the same as with ACTION_IMAGE_CAPTURE
.
using the package "Camera2"
This is the same as "make a picture taking code by yourself", except that you identified a particular Android API for it.
It is possible for a beginner-intermediate developer to accomplish this task following one of the way mentionned above (or a different one)?
Use a third-party camera library (Fotoapparat, CameraKit-Android, etc.).
How to use camera intent to take photos multiple times
Call your second startActivityForResult()
from the onActivityResult()
you get from your first startActivityForResult()
. Bear in mind that startActivityForResult()
is asynchronous -- the other activity is not started right away.
Taking multiple photos via Intent
You have to do something by using some trick, one of the question asked on the stackoverflow will help you, see this link
second check this link
these two links will surely help you.
the second link recomend this code
Intent intent = new Intent(
MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA);
this.startActivity(intent);
Android take multiple images and process them on return
How to process captured images?
Do not delegate your picture-taking to another app. Instead, you do it in your own app, such as via the camera APIs. Or, use your existing startActivityForResult(takePictureIntent, REQUEST_TAKE_PHOTO);
code and just call it again and again until the user stops taking pictures.
INTENT_ACTION_STILL_IMAGE_CAMERA
just opens a camera app. You do not control where the images get stored, and the camera app does not have to store the images anywhere that your app can access them. It also does not have to tell you where it stored the images.
How to take multiple pictures before dismissing camera picker
PhotoPicker is a sample project provided by Apple which does exactly what you are talking
about. It even allows you to make your own custom OverlayViewController
to display the extra features. Hope that Helps!
Related Topics
Android Studio Create Project Template for New Projects
Android E/Parcel﹕ Class Not Found When Unmarshalling (Only on Samsung Tab3)
Get My Phone Number in Android
Android: How to Get a List of All Available Intent Filters
Android Crash When App Is Closed and Reopened
Android App Crashes with Sigabrt Signal 6 Only While Eclipse Debugging
Taking Screenshot Programmatically Doesnt Capture the Contents of Surfaceview
Android Unknown Command 'Crunch'
Convert Time Value to Format "Hh:Mm Am/Pm" Using Android
Android Xml Rounded Clipped Corners
Android - Build a Notification, Taskstackbuilder.Addparentstack Not Working
Webview Textarea Doesn't Pop Up the Keyboard
Start a Fragment via Intent Within a Fragment
Android Studio How to Run Gradle Sync Manually
Set Permission for Getting User's Email Id from Facebook Login