[
https://issues.apache.org/jira/browse/CB-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13554151#comment-13554151
]
Greg commented on CB-2174:
--------------------------
[~bowserj] Sorry - here is more information right from the user:
Sure, here are screenshots for:
(1) My camera view (the screenshot won’t capture what’s portrayed in the
lens, but this is what the viewfinder looks like) =
http://im.grega.co/image/3t0A0c1A062W
(2) Gallery view (photos taken with camera are automatically added to this
folder) - http://im.grega.co/image/353x3W161R0U
(3) Selecting a photo in “Photo Library” within the Untappd app -
http://im.grega.co/image/1K0D3x463r2c
(4) Taking a photo using “Camera” in the Untappd app -
http://im.grega.co/image/0m3t2S2K3H2q
(5) Successfully uploading a picture using “Camera” in the app -
http://im.grega.co/image/000G021a2v2y
(6) File names for photos back in November/December. The top four photos
uploaded properly back in Nov/Dec while the bottom two failed. If I try
uploading any of the top four photos now, they don’t work. -
http://im.grega.co/image/3i2F0D3L1U1I
While getting these shots, there was a new development. I have three pictures
in my gallery of that Duvel bottle. One was taken with the camera outside of
the app and will not upload. I have no clue where the second one came from,
and it will not upload. The third photo is the one taken with the camera
inside of the app. I can select this third photo from “photo library” and it
will upload properly. I tried it four times and it worked consistently with
that photo. I also took some new photos using this same method and they upload
properly.
So if I take a picture of something using my default camera, it is added to
gallery automatically. If I then select this picture from “Photo Library” it
will not upload. If I take a picture of something using the camera inside the
app, it will upload successfully and add a copy to my gallery. If I select
this copy from “Photo Library” it will upload.
I’ve included the pictures as well. At first glance, the obvious difference is
file size. So I went to my camera, lowered every quality setting that I could,
and took a 66kb photo using it. This photo won’t upload, either, though. The
difference seems to somehow be about the method of taking the picture… if I
take it using my camera (default camera, no third party app), it won’t upload.
If I take it using the camera in Untappd, it will upload, even if I select it
from Photo Library later on.
I tried one more thing, and I think it found the problem. I went into my file
manager and changed the name of that 66kb low-quality photo. I changed it to
something without spaces. Lo and behold, it uploaded properly in Untappd.
Although all of the files I uploaded in October and November had spaces in
their names and uploaded just fine, it looks like a space in the file name
prevents uploads from succeeding now."
Let me know if this helps.
> 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