[AC-3148] Camera always crashes Kitchen Sink on Android 2.2
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-05-11T15:41:21.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | android, camera, crash |
Reporter | Mal Broadbent |
Assignee | Shak Hossain |
Created | 2012-05-01T13:25:03.000+0000 |
Updated | 2016-03-08T07:48:13.000+0000 |
Hello, are you using the latest Kitchen Sink? It's designed for SDK version 1.8x and 2.0x. Best, Mauro
Hi Mauro Thanks for response. This is still a problem with SDK 1.81. I am using the latest Kitchen sink (downloaded from Github 1 May 2012). When using Android Emulator with APIs 2.2, the camera test fails with SDK 1.81. I have just tried it now with 1.81 and get the error message "Unexpected error:0" when running the "Camera Basic" test. Thanks Mal
Hi Mal, I tested the latest kitchen sink with Ti SDK 1.8.1 and ran it on the android emulator(API 2.2). The basic camera feature is working fine. The application is not crashing. Did you clean build the project before running it on SDK 1.8.1? Please clean build it and then run. Regards, Nikhil
Can't reproduce it with the latest version of the kitchen sink and Ti SDK 1.8.1
Hello , We tested this issue with code bellow. It’s working well in android.Please check this issue with latest SDK tools. Please update the ticket with your sample if you continue to get the crash. If we don't hear back from you, we will assume the issue is invalid and the ticket can be closed.
Test Environment:
Mac OSX 10.8.5 Titanium SDK 3.2.0.GA, Android SDK: 2.3.3, Ti CLI 3.2.0Test Code
Step to Test
Create a simple project
Update app.js file with test code
Run on android device (minimum SDK level 10 for 3.2.0.GA)
Clicked on “take pic” red color button
After capturing photo will display in window
Thanks