Below the code for your test program to test the camera on Android. This program shows the available device and allows you to capture a frame from the camera. on the tablet with Android 4.1.2 it works. On your device with Android 4.0.4 - no. When the touch screen is called ShowImageCaptureScreen() and exit their programs.
do
print ("AccelerometerExists = " + str (GetAccelerometerExists()))
print ("CameraExists = " + str (GetCameraExists()))
print ("CompassExists = " + str (GetCompassExists()))
print ("GeolocationExists = " + str (GetGeolocationExists()))
print ("GyrometerExists = " + str (GetGyrometerExists()))
print ("InclinometerExists" + str (GetInclinometerExists()))
print ("KeyboardExists = " + str (GetKeyboardExists()))
print ("LightSensorExists = " + str (GetLightSensorExists()))
print ("MouseExists = " + str (GetMouseExists()))
print ("MultiTouchExists = " + str (GetMultiTouchExists()))
print ("NFCExists = " + str (GetNFCExists()))
print ("OrientationSensorExists = " + str (GetOrientationSensorExists()))
if GetPointerPressed()
if getcameraexists()=1
if showimagecapturescreen()=1
while Iscapturingimage()=1
Sync()
endwhile
print("wait ...") //frontbuffer
endif
endif
endif
sync()
loop
end