I'm using the SL4A platform on an android 4.0 tablet and attempting to initialize a webcam stream using the droid.webcamStart()
method found here: http://code.google.com/p/android-scripting/wiki/ApiReference#webcamStart my problem is when I execute the following code I get a setParameters failed error.
The python code is simple:
import android
droid = android.Android()
address = droid.webcamStart(100,80,0).result
if all goes according to plan this should initialize a webcam preview stream but instead I am getting an error stating:
java.lang.RuntimeException: setParameters failed
I've seen other posts somewhat related to this same issue however the developers were using java for development, not python. What can I do to fix this issue in python?
Thanks