Arrêter la camera

Bonjour,
Je veux prendre une photo avec mon smartphone dans une application que je construis.
J'appelle un écran dédié . La camera fonctionne, mais quand je prends la photo, elle me demande si je veux la refaire ou si c'est OK.
Quand je touche ok, la photo se fixe et la suite du code, fermer l'écran et retourner vers l'écran d'accueil avec les données de la photo fonctionne, mais j'aimerai que cela se fasse dès la prise de la première photo sans demande de refaire ou dire ok...
Rien trouvé comme actions sur le composant camera, ni sur mon smartphone (Samsung note 10+)
Merci de m'éclairer si possible...
Cordialement
Denis

the camera component does not offer much possibilities...
there also is a camera extension available, which offers taking a photo without user interaction, but the extension does not offer a preview of the photo...

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

Voila les bloc deu premier écran


Jes blocs sur le deuxième écran:
blocks (2)
Et la photo de mon smartphone avec la notification de refaire ou non la photo:

C'est cela que je voudrais supprimer, pour revenir directement à l'écran d'appel

Merci de vos réponses
Cordialement
Denis

unfortunately this is not possible
your only alternative currently is to use the camera extension, which offers taking a photo without user interaction, however the extension does not offer a preview of the photo...

Taifun

1 Like

Désolé, mais j'ai besoin qu'on voit la photo...
Cordialement
Denis