'action' buttons in Android camera overlay camera preview
Posted on 2012-08-19
I am having trouble finding any code or simple way to create an 'action' button in the camera overlay/surface view in Android. For instance, I would need a button to be visible in the camera preview mode to turn on the flash and keep the flash on. I want to make this an app to create some fun photo projects I am going to share on my blog. So when a person would turn on the camera they would touch the button that is labeled with a light bulb and it would turn the light (flash) on, and keep it on. I tried the app inventor but its so basic you cant put any kind of overlay in it. Or can you? I imagine this has to be programmed in xml or java. I know neither language! There are apps that make use of the camera flash as a flashlight app so I know it can be done, it just has to work with the camera preview. Anyone interested in helping please let me know. I figured I would talk to all my fellow experts first before I take the day off to try and figure this out. You guys always come up with some kind of solution! Thanks!