Automate phototaking once screen is initialized

Hello, I want to know how to automate phototaking once screen is initialized/the screen appears. Phototaking is to be activated once.

I am using the Taifun Camera extension to do this and I don’t know how to start. So far, I can only make sense of initializing the screen, placed the block to automate phototaking then display that photo.1

However, with this nothing happened. Therefore can I get guidance on how to do this? Thank you.

1 Like

It’s not possible because… App can only open the camera in screen initialize…
Taking Pic or not is only in the hands of users…

So i don’t think so its possible

I would recommend you have a read through the information and instructions for Taifun’s camera extension here: https://puravidaapps.com/camera.php.

Do you have an Android 10 device? It might not work…
Perhaps use some of the blocks shown to set the camera up before taking a picture, possibly even using a clock to provide some time for everything to get ready

I have read up the article and tested the first portion of the block i.e. take first photo using front camera and nothing worked.

I then tried using clock to create a countdown and was able to run using the blocks below.
4

However as I want the picture to be taken once, I need to apply the timer to be disabled once the photo is taken. When I putt he block below, the function did not run.
5

I realize that photo taking take some time hence I need to put like a wait interval before disabling time. How do I do this wait interval?

Put the clock1.TimerEnabled = false in the camera after Picture event.

That worked. Thanks!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.