[ 
https://issues.apache.org/jira/browse/CB-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13554404#comment-13554404
 ] 

Joe Bowser commented on CB-2174:
--------------------------------

I'm not able to reproduce this on Android 2.3.6 on the Nexus S.  I'd try on our 
2.3 Samsung device, but it doesn't seem to want to mount USB storage.  I 
suspect that I might have fixed this when I fixed the case bug with the mime 
type, since this only should happen if the MIME type or the file location has 
to be null for that error above to happen.  It also may be possible that the 
image database on this phone is borked and it's handing out cached images 
instead of proper JPEG data, since this could cause it as well.  If that's the 
case, we can't really do anything about that, since that's technically a bug 
with the Gallery app.  We expect to have a file with a proper mime type to come 
out of the content URI.
                
> Users with CoolIris Android Gallery App Can't Select Photo
> ----------------------------------------------------------
>
>                 Key: CB-2174
>                 URL: https://issues.apache.org/jira/browse/CB-2174
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.3.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: camera
>
> For some users with Android 2.3.x runing Cooliris - the photo is not returned 
> to the the UI. It doesn't crash the app or reload it, just doesn't get 
> returned. Here is a log from the Production version of Untappd (2.1.3):
> 01-04 02:31:38.187 I/InputDispatcher(132): Delivering touch to current input 
> target: action: 0, channel '40a90ab8 
> com.cooliris.media/com.cooliris.media.Gallery (server)'
> 01-04 02:31:38.191 W/UriTexture(11002): writeToCache file = 
> /mnt/sdcard/Android/data/com.cooliris.media/cache/hires-image-cache/4785486220386293994_1280.cache
> 01-04 02:31:38.253 I/InputReader(132): dispatchTouch::touch event's action is 
> 1
> 01-04 02:31:38.253 I/InputDispatcher(132): Delivering touch to current input 
> target: action: 1, channel '40a90ab8 
> com.cooliris.media/com.cooliris.media.Gallery (server)'
> 01-04 02:31:38.261 D/TEST    (11002): onSingleTapUp231
> 01-04 02:31:38.265 D/Gallery (11002): performReturn : contentUri = 
> content://media/external/images/media/462
> 01-04 02:31:38.265 D/Gallery (11002): performReturn : result = Intent { 
> dat=content://media/external/images/media/462 }
> 01-04 02:31:38.265 I/GLThread(11002): onPause tid=64
> 01-04 02:31:38.265 I/Main thread(11002): onPause waiting for mPaused.
> 01-04 02:31:38.273 I/Main thread(11002): onPause waiting for mPaused.
> 01-04 02:31:38.296 I/GLThread(11002): mPaused is now true tid=64
> 01-04 02:31:38.296 I/GLThread(11002): releasing EGL surface because paused 
> tid=64
> 01-04 02:31:38.296 W/EglHelper(11002): destroySurface()  tid=64
> 01-04 02:31:38.320 W/EglHelper(11002): finish() tid=64
> 01-04 02:31:38.359 I/GLThread(11002): releasing EGL context because paused 
> tid=64
> 01-04 02:31:38.359 I/RenderView(11002): OnPause RenderView 
> com.cooliris.media.RenderView@40524a88
> 01-04 02:31:38.359 E/SensorManager(11002): unregisterListener:: all sensors,  
> listener = com.cooliris.media.RenderView@40524a88
> 01-04 02:31:38.363 D/WakeLock(11002):  onpause mCheckDecodeWakeLock : result 
> = false
> 01-04 02:31:38.363 D/StatusBarManagerService(132): manageDisableList what=0x0 
> pkg=com.cooliris.media
> 01-04 02:31:38.378 D/CameraLauncher(10958): I either have a null image path 
> or bitmap
> 01-04 02:31:38.382 D/DroidGap(10958): Resuming the App
> 01-04 02:31:38.382 D/DroidGap(10958): Resuming the App
> 01-04 02:31:38.457 D/MediaItemTexture(11002): 
> uriStringcontent://media/external/images/media/448
> 01-04 02:31:38.457 I/MediaItemTexture(11002): Decoding Start
> 01-04 02:31:38.457 I/MediaItemTexture(11002): Decoding End
> 01-04 02:31:38.535 D/MediaItemTexture(11002): 
> uriStringcontent://media/external/images/media/449
> 01-04 02:31:38.535 I/MediaItemTexture(11002): Decoding Start
> 01-04 02:31:38.535 I/MediaItemTexture(11002): Decoding End
> 01-04 02:31:38.535 D/MediaItemTexture(11002): 
> uriStringcontent://media/external/images/media/450
> 01-04 02:31:38.535 I/MediaItemTexture(11002): Decoding Start
> 01-04 02:31:38.535 I/MediaItemTexture(11002): Decoding End
> 01-04 02:31:38.613 D/CordovaLog(10958): MESSAGE FAIL: Unable to retrieve path 
> to picture!
> 01-04 02:31:38.613 D/CordovaLog(10958): 
> file:///android_asset/www/assets/js/photo.js: Line 187 : MESSAGE FAIL: Unable 
> to retrieve path to picture!
> 01-04 02:31:38.613 I/Web Console(10958): MESSAGE FAIL: Unable to retrieve 
> path to picture! at file:///android_asset/www/assets/js/photo.js:187

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to