{ "id": "124666", "key": "TIMOB-16174", "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": [], "resolution": null, "resolutiondate": null, "created": "2014-01-10T21:38:19.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:48.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "It would great, if when setting saveToPhotoGallery = true for an image taken with the camera, that file information is returned to the Blob. \r\n\r\nCurrently, the file is saved, but we have no way of know the name or path of this file.\r\n\r\nThis would require a quick update to TiCameraActivity.java turning\r\n\r\nprivate static void saveToPhotoGallery(byte[] data)\r\n\r\ninto\r\n\r\nprivate static File saveToPhotoGallery(byte[] data)\r\n\r\nAnd updating the Blob in \r\n\r\npublic void onPictureTaken(byte[] data, Camera camera)\r\n\r\nWith a TiFile reference.\r\n\r\nI'm not sure if iOS has this same issue.\r\n", "attachment": [], "flagged": false, "summary": "TiAPI: Add file information to returned Blob when camera is set to saveToPhotoGallery = true", "creator": { "name": "andrew@gstreetmedia.com", "key": "andrew@gstreetmedia.com", "displayName": "Andrew Greenstreet", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "andrew@gstreetmedia.com", "key": "andrew@gstreetmedia.com", "displayName": "Andrew Greenstreet", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "287869", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this enhancement request to engineering for further evaluation and prioritization.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-12T06:07:27.000+0000", "updated": "2014-01-12T06:07:27.000+0000" }, { "id": "288134", "author": { "name": "andrew@gstreetmedia.com", "key": "andrew@gstreetmedia.com", "displayName": "Andrew Greenstreet", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I've made this change. Please see:\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4968", "updateAuthor": { "name": "andrew@gstreetmedia.com", "key": "andrew@gstreetmedia.com", "displayName": "Andrew Greenstreet", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-14T19:58:59.000+0000", "updated": "2014-01-14T19:58:59.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }