{ "id": "85034", "key": "TIMOB-7254", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13277", "name": "Sprint 2012-08", "archived": true, "released": true, "releaseDate": "2012-04-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-06-06T17:23:53.000+0000", "created": "2012-01-17T10:18:24.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "core", "dr-list", "module_android", "qe-testadded", "regression" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2014-06-06T17:23:53.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "attachment": [ { "id": "48304", "filename": "console_logs.txt", "author": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-05-23T11:32:32.000+0000", "size": 17508, "mimeType": "text/plain" }, { "id": "48305", "filename": "Screenshot_TIMOB-7254.png", "author": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-05-23T11:32:32.000+0000", "size": 272220, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Intent - return EXTRA_STREAM data as blob", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK version: 1.8.0.1\r\nJavascript Engine: Rhino & V8 \r\nPlatform & version: Android 2.2+ \r\nHost Platform: Mac OSX 10.7.2 \r\nTitanium Studio version: 1.0.7.201112132151", "comment": { "comments": [ { "id": "179573", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm working on a pull request for this feature now. Just needed to create a corresponding Jira ticket first.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-17T10:19:44.000+0000", "updated": "2012-01-17T10:19:44.000+0000" }, { "id": "198372", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "h3. Additional Testing Notes\r\n\r\nHere's how to get this to work (the part about the additions to the Android Manifest might be a little confusing).\r\n\r\n* Create an app with the code Tony put in above.\r\n\r\n* After you create the app, create a platform/android folder.\r\n\r\n* Copy build/android/AndroidManifest.xml to platform/android/AndroidManifest.xml. This makes a custom AndroidManifest.xml.\r\n\r\n* Open platform/android/AndroidManifest.xml.\r\n\r\n* Find the section for the default activity. It will look like this (though the name might be different in your case):\r\n\r\n{code}\r\n\r\n\r\n \r\n \r\n\r\n\r\n{code}\r\n\r\n* See that \"intent-filter\" section? You'll want to make a second one right below it, using the intent-filter Tony provided above. So in my example it will end up looking like:\r\n\r\n{code}\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n{code}\r\n\r\n* Save that file.\r\n\r\n* Build and install the app on a device/emulator that has some photos in its photo gallery.\r\n\r\n* Go to the device's photo gallery and long-press a photo, then select \"Share\" (or \"Send\" or whatever).\r\n\r\n* You'll see a list of installed applications that are able to share/send a photo. The app you just created should be listed among them -- choose it.\r\n\r\n* The app should open and display the photo.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-06-13T14:14:00.000+0000", "updated": "2012-06-13T14:15:10.000+0000" }, { "id": "198391", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with Nexus One 2.2.2 with 2.1.0.v20120612170248", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-13T15:55:58.000+0000", "updated": "2012-06-13T15:55:58.000+0000" }, { "id": "201010", "author": { "name": "smbat.yeranyan@gmail.com", "key": "smbat.yeranyan@gmail.com", "displayName": "Smbat Yeranyan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm having a bit of a trouble with this function, I did exactly as followed but my App throws an exception saying Uncaught TypeError: Object # has no method 'getBlobExtra'\r\n\r\nI suppose I have to reference a library in Titanium, but I'm having a difficult time understanding where and what to to reference. I even have SDK 2.1.0 installed. I simply just wanted to fetch my image path from the gallery so that I can upload it but that did not work traditionally and through hours of reading I ended up here. \r\n\r\nThanks in advance", "updateAuthor": { "name": "smbat.yeranyan@gmail.com", "key": "smbat.yeranyan@gmail.com", "displayName": "Smbat Yeranyan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-30T03:38:17.000+0000", "updated": "2012-06-30T03:38:17.000+0000" }, { "id": "306216", "author": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Reopening this ticket as application is getting crashed on launching.\r\nThis is a regression . The test app is working fine using 3.2.3.GA build.\r\nConfigurations used:\r\nMac :10.9.2\r\nAppcelerator Studio, build:3.3.0.201405211748\r\nSDK - 3.3.0.v20140522144936\r\nacs-1.0.14\r\nalloy@1.4.0-alpha3\r\nnpm-1.3.2\r\ntitanium@3.3.0-alpha5\r\ntitanium-code-processor-1.1.1\r\nXcode :5.1.1\r\nDevices Used: \r\nNexus 4 (4.1.1)\r\n\r\nPlease find attached log (console_logs.txt) and screenshot.\r\n", "updateAuthor": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-05-23T11:30:18.000+0000", "updated": "2014-05-23T11:41:56.000+0000" }, { "id": "306317", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tried to reproduce but the issues is not reproducible.\r\n\r\nFollowed steps by [~billdawson] & the app does not crash. Selecting the app to share the pic from the gallery shows the shared pic in the app.\r\n\r\nEnvironment:\r\nAppc Studio : 3.3.0.201405211748\r\nTi SDK : 3.3.0.v20140523120121\r\nMac OSX : 10.8.5\r\nAlloy : 1.4.0-alpha4\r\nCLI - 3.3.0-alpha5\r\nCode Processor: 1.1.1\r\nSamsung Galaxy S4 - android 4.2.2\r\nSony Xperia - android 2.3.7\r\nSamsung S3 - android 4.0.4", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-23T20:54:03.000+0000", "updated": "2014-05-23T20:54:03.000+0000" }, { "id": "307233", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~dpandey] We are unable to reproduce. Can you attempt?", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-02T20:28:46.000+0000", "updated": "2014-06-02T20:28:46.000+0000" }, { "id": "307295", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing the issue since it is not reproducible.\r\n\r\nFollowed steps by Bill Dawson & the app does not crash. Selecting the app to share the pic from the gallery shows the shared pic in the app.\r\n\r\nBut on importing and using the app from titanium_mobile_tests_internal/FeatureTest/Android/TIMOB-7254 app crashes.Hence test app needs modification.\r\n\r\nVerified with Environment:\r\nAppc-Studio:3.3.0.201405271647\r\nsdk:3.3.0.v20140602174112\r\nacs:1.0.14\r\nalloy:1.4.0-beta\r\nnpm:1.3.2\r\ntitanium:3.3.0-beta2\r\ntitanium-code-processor:1.1.1\r\nxcode:5.1.1\r\nDevice:Nexus7(v4.4.2)\r\nOS:Maverick(10.9.2)\r\n\r\nHence closing the issue.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-03T06:02:44.000+0000", "updated": "2014-06-03T06:02:44.000+0000" }, { "id": "307609", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Modifications made to the test app & pushed to repo.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-04T23:33:25.000+0000", "updated": "2014-06-04T23:33:25.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }