ricprehn
Member
Dear all,
I am trying to automate the example 'Camera2' from Erel (https://www.b4x.com/android/forum/threads/camera2-still-images-and-videos.83920/#content) to make timelapses. I would like to be able to call the function TakePicture every 'x' minutes automatically. Should I use a timer? or StartServiceAt? What is the best way to archive the best functionality, less battery drain and assure that android will not kill the activity? I will appreciate if you can give me some advice, I am a newbie in B4A, trying to learn this powerful software.
Best regards,
Ricard.
I am trying to automate the example 'Camera2' from Erel (https://www.b4x.com/android/forum/threads/camera2-still-images-and-videos.83920/#content) to make timelapses. I would like to be able to call the function TakePicture every 'x' minutes automatically. Should I use a timer? or StartServiceAt? What is the best way to archive the best functionality, less battery drain and assure that android will not kill the activity? I will appreciate if you can give me some advice, I am a newbie in B4A, trying to learn this powerful software.
Best regards,
Ricard.