Android: take camera picture intent remove confirmation dialog

Pepa Zapletal

it's possible to disable/remove this photo confirmation dialog:

enter image description here

I need somehow skip this dialog but I still want use an Intent. I found this android: Take camera picture without "save" / "delete" confirmation but I don't want use SurfaceView .

CommonsWare

I need somehow skip this dialog but I still want use an Intent.

That is not possible.

There are over 8,000 26,000 Android device models. Across them, there are hundreds of different pre-installed camera apps. Additionally, there are hundreds of additional camera apps that users can install from the Play Store or elsewhere. Any one of them could respond to your ACTION_IMAGE_CAPTURE request.

The protocol for ACTION_IMAGE_CAPTURE does not have an option for "do not show any sort of confirmation dialog". Some camera apps will have such a dialog, others will not. A few apps might have some undocumented Intent extra for controlling that behavior, but most will not.

Either:

  1. Live with the confirmation prompt, where it exists, or

  2. Do not delegate this work to a third-party app, but instead use the camera APIs to take a picture yourself (the SurfaceView approach that you rejected, though it does not necessarily need SurfaceView), or

  3. Do not write the app

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Take picture only with android camera intent in Kotlin, not video

From Dev

Android Tablet Take Picture Camera Intent Activity Restarts

From Dev

Android - take picture - pass uri to camera app

From Dev

Android using front facing camera to take a picture

From Dev

Android - take picture - pass uri to camera app

From Dev

Take picture with front camera in android service

From Dev

ANDROID STUDIO: Take picture with Camera API -> Send this picture to another activity

From Dev

Android Camera2 : can't take picture with front camera

From Dev

Android- taking a picture for temporary use with the camera intent

From Dev

How to take a picture without an Intent and without any view window in Android

From Dev

How to take a picture without an Intent and without any view window in Android

From Dev

Sent camera picture via intent

From Dev

Can I take Black and White pictures using android camera intent?

From Dev

Can I take Black and White pictures using android camera intent?

From Dev

Android : Take a photo from with in my layout without starting a camera intent

From Dev

Confirmation Dialog in Android (andengine)

From Dev

Alert Confirmation dialog Android

From Dev

android: camera is not taking a picture

From Dev

fileNotFoundException camera intent - Android

From Dev

Taking a picture with a camera intent and saving it to a file

From Dev

How to take picture using Intent and send it by email

From Dev

How to use flash to take picture on custom camera?

From Dev

Take a camera picture and send it to php server in iPhone

From Dev

Take picture with camera and send with GWT uploader

From Dev

How to use flash to take picture on custom camera?

From Dev

Take a picture with react-native-camera

From Dev

Can we use takePicture() in android without camera preview? I need to take a picture secretly for security purposes

From Dev

Rotating picture from android camera

From Dev

Using android camera with an explicit intent

Related Related

  1. 1

    Take picture only with android camera intent in Kotlin, not video

  2. 2

    Android Tablet Take Picture Camera Intent Activity Restarts

  3. 3

    Android - take picture - pass uri to camera app

  4. 4

    Android using front facing camera to take a picture

  5. 5

    Android - take picture - pass uri to camera app

  6. 6

    Take picture with front camera in android service

  7. 7

    ANDROID STUDIO: Take picture with Camera API -> Send this picture to another activity

  8. 8

    Android Camera2 : can't take picture with front camera

  9. 9

    Android- taking a picture for temporary use with the camera intent

  10. 10

    How to take a picture without an Intent and without any view window in Android

  11. 11

    How to take a picture without an Intent and without any view window in Android

  12. 12

    Sent camera picture via intent

  13. 13

    Can I take Black and White pictures using android camera intent?

  14. 14

    Can I take Black and White pictures using android camera intent?

  15. 15

    Android : Take a photo from with in my layout without starting a camera intent

  16. 16

    Confirmation Dialog in Android (andengine)

  17. 17

    Alert Confirmation dialog Android

  18. 18

    android: camera is not taking a picture

  19. 19

    fileNotFoundException camera intent - Android

  20. 20

    Taking a picture with a camera intent and saving it to a file

  21. 21

    How to take picture using Intent and send it by email

  22. 22

    How to use flash to take picture on custom camera?

  23. 23

    Take a camera picture and send it to php server in iPhone

  24. 24

    Take picture with camera and send with GWT uploader

  25. 25

    How to use flash to take picture on custom camera?

  26. 26

    Take a picture with react-native-camera

  27. 27

    Can we use takePicture() in android without camera preview? I need to take a picture secretly for security purposes

  28. 28

    Rotating picture from android camera

  29. 29

    Using android camera with an explicit intent

HotTag

Archive