New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timob-8899: Android: showCamera - does not work on htc sensation #2102
Conversation
I'm still getting the error running on DroidX v8, https://gist.github.com/a83e327efbb6d27435bc, without SD card. |
Yes, the error message still shows in the log when there is no SD card because we can not create the image file. But the error message won't stop camera from showing up. |
I'm not seeing the camera showing, just a JS error dialog: |
Our platform has a special check for HTC phone. That's why I can not see the crash with my HTC Sensation. For functional test, please run the test case on HTC phone and also on non-HTC phone. |
So this only fixes HTC but not the rest? |
Tested on HTC, works fine w/o SD card, but doesn't work on non-HTC w/o SD card |
My fix is supposed to work for any phone. But I don't have a non-HTC phone with me right now, so I can not test. Do you still get the JS error dialog on non-HTC phone w/o SD card? |
Tested on a Samsung phone (2.3.7) without SD card with my fix and it passed. Expected behavior is: the camera shows with a message on the screen "please insert SD card". At the same time the IOExeption is caught and the error message is printed in the logcat. |
https://jira.appcelerator.org/browse/TIMOB-8899
Test case in jira.
For functional test, please run the test case with / without "saveToPhotoGallery: true" and with / without SD card. It can be tested using any phone, not just HTC sensation.