Finally problem solved. This will not give you full control of the camera, but at least you can take a picture.....
Use program called Tasker and create a task to take a picture. You can create separate tasks to either take picture with flash or with out, low res or hi res...or whatever. The...