nullc0der / python-for-android

Automatically exported from code.google.com/p/python-for-android
Apache License 2.0
0 stars 0 forks source link

cameraCapturePicture error - no picture saved #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.call cameraCapturePicture('filename‘)

What is the expected output? What do you see instead?
Script should snap a photo, instead I get java.lang.NullPointerException
the first time the phone take a photo but don't save and stop
the second time i have a java.lang.NullPointerException

What version of the product are you using? On what operating system?
sl4a_r4.apk , Android 2.2

Please provide any additional information below.
Phone Huawei Ideos

Original issue reported on code.google.com by lucain...@gmail.com on 23 Dec 2011 at 7:57

GoogleCodeExporter commented 9 years ago
Sounds like a dupe of #34.

FWIW I've tried CM6 / Android 2.2.1 on HTC Hero. And whilst I don't get a 
NullPointerException, the script hangs and nothing happens when calling 
cameraCapturePicture.

Original comment by and...@adlibre.com.au on 9 Feb 2012 at 2:53

GoogleCodeExporter commented 9 years ago
This is an sl4a issue.
See: 
http://code.google.com/p/android-scripting/

Original comment by rjmatthews62 on 3 Apr 2012 at 2:35