简体   繁体   中英

Take continous picture with one button android

What I'm trying to archive is: When user press a button (only 1 times), the camera will take 5,6 continous picture and save it to SD card.

Is there any way to do that? In my code, I'm calling a Camera Intent.

One way is to launch an intent like so:

Intent mIntent = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE);
startActivityForResult(mIntent, IMAGE_CAPTURE);

Please read up on Intent , MediaStore , and Camera for further details.

T Kwee

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM