https://bugzilla.wikimedia.org/show_bug.cgi?id=39604
--- Comment #6 from Brion Vibber <[email protected]> 2012-08-29 03:58:28 UTC --- It looks like the method Cordova uses to look up the raw file path from the content database entry doesn't work on Picasa album entries. In FileUtils.getRealPathFromURI() it's trying to look up a "_data" column from the content provider, which in regular items seems to be a filesystem path, but it doesn't exist in the Picasa entry. So, we start with a URI like this: content://com.google.android.gallery3d.provider/picasa/item/5781931205767864146 and get back NULL for the path. This leads to being unable to load the bitmap image, and things explode when the camera result handling code in CameraLauncher.onActivityResult tries to discard the bitmap. :P I can get past the crash by wrapping the bitmap.recycle() in CameraLauncher.java: if (bitmap != null) { bitmap.recycle(); } however it ends up hanging when I try to actually upload, so doesn't seem like a huge improvement. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
