I need to trigger the built in camera on the Samsung Galaxy. I am currently using some hardware and the Mic/resistor switching method but I'd like to run an app in the background instead.
Does anyone know if it's as simple as putting the volume down?
I dont think you can intercept an keypress event from background. All you can do is you can built an app with camera functionalities and on vol down event you can call capture method.
Can I tap the display somewhere from the background? Basically, I need to open the built in camera and take a slow motion video clip.. No B4A projects are going to cut it unless they can take a 960fps
Can I tap the display somewhere from the background? Basically, I need to open the built in camera and take a slow motion video clip.. No B4A projects are going to cut it unless they can take a 960fps
I will be quite impressed if you can get the camera to take a 500-750ms video at 960fps. The Galaxy camera is constantly filming maybe 500ms before to capture the event. I need +/- 500ms from the trigger point. Still think you can make that work with B4A?
Sorry I didn't understand what you mean. Do you want to capture a 500ms video in 960fps? Or you want to record 500ms frames before you press capture button? And its not about the IDE but the platform. If its possible in Android then you can do it in B4A. Its an IDE.
Can I tap the display somewhere from the background? Basically, I need to open the built in camera and take a slow motion video clip.. No B4A projects are going to cut it unless they can take a 960fps
You could try with Accessibility Services: https://www.b4x.com/android/forum/t...th-disabilities-automation-etc.95216/#content
There are some Perform Actions included and shown in the sample which can simulate taps from a service.
If you are unable to do it yourself, then I have built many custom solutions for B4X users who have had similar requirements, especially non-standard and edge-cases.
Just send me a PM if you are interested.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.