Quantcast
Viewing all articles
Browse latest Browse all 8068

Android openPhotoGallery / showCamera don't trigger success/cancel/error events

Using Titanium 3.3.0GA with Android (4.1x to 4.4.4) doesn't trigger events with Ti.Media.openPhotoGallery and Ti.Media.showCamera

I am using API level 19 or 20 with a Nexus 4 (Android 4.4.4).

With iOS it works perfect.

I use normal code, no fancy things... just print on console the result of success event, for example.

Is anybody having this problem too?

The Android console show a lot of camera related errors... they don't look like being realted with Titanium though... Once I accept the taken picture:

07-31 18:59:54.823: E/mm-libcamera2(176): PROFILE HAL: stopPreview(): E: 1406825994.832896587 07-31 18:59:54.823: E/QCameraHWI(176): android::status_t android::QCameraHardwareInterface::setPreviewWindow(preview_stream_ops_t):Received Setting NULL preview window 07-31 18:59:54.823: E/QCameraHWI(176): android::status_t android::QCameraHardwareInterface::setPreviewWindow(preview_stream_ops_t): mPreviewWindow = 0x0x0, mStreamDisplay = 0x0xb8cae240 07-31 18:59:54.823: E/mm-camera(213): config_shutdown_pp Camera not in streaming mode. Returning. 07-31 18:59:54.823: E/mm-camera(213): vfe_ops_deinit: E 07-31 18:59:54.853: E/qcom_sensors_hal(570): hal_process_report_ind: Bad item quality: 11

Thanks a lot.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>