{ "id": "173957", "key": "TIMOB-27298", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "20033", "name": "Release 9.0.0", "archived": false, "released": true, "releaseDate": "2020-03-18" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-02-06T19:17:05.000+0000", "created": "2019-07-30T01:46:51.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "hyperloop" ], "versions": [], "issuelinks": [ { "id": "57791", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "171986", "key": "TIMOB-26248", "fields": { "summary": "Hyperloop: Android - Cannot use android.provider.MediaStore.Images.Media API", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-02-06T19:17:05.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" }, { "id": "13715", "name": "Hyperloop", "description": "Hyperloop project" } ], "description": "*Summary:*\r\nHyperloop can currently access the 1st level of inner classes under a Java class, but cannot access an inner class belonging to an inner class (ie: 2 inner classes deep).\r\n\r\nThis makes using certain Android classes such as {{MediaStore}}'s 2 level deep nested classes impossible.\r\nhttps://developer.android.com/reference/android/provider/MediaStore\r\n\r\n*Test:*\r\n# Create a Classic Titanium project.\r\n# Add \"hyperloop\" module to \"tiapp.xml\".\r\n# Copy the below code to your \"app.js\".\r\n# Build and run on Android.\r\n# Notice that an exception happens for the last line of code below.\r\n\r\n{code:javascript}\r\nvar mediaStore = require(\"android.provider.MediaStore\");\r\n\r\n// This works.\r\nTi.API.info(\"### MediaStore.ACTION_IMAGE_CAPTURE: \" + mediaStore.ACTION_IMAGE_CAPTURE);\r\n\r\n// This works.\r\nTi.API.info(\"### MediaStore.MediaColumns.DISPLAY_NAME: \" + mediaStore.MediaColumns.DISPLAY_NAME);\r\n\r\n// This fails.\r\nTi.API.info(\"### MediaStore.Images.Media.EXTERNAL_CONTENT_URI: \" + mediaStore.Images.Media.EXTERNAL_CONTENT_URI);\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: Hyperloop should allow access to a Java inner class within an inner class", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1175, "state": "closed", "name": "2019 Sprint 26", "startDate": "2019-12-16T06:12:12.044Z", "endDate": "2019-12-21T06:12:00.000Z", "completeDate": "2019-12-22T03:07:15.802Z", "originBoardId": 114 }, { "id": 1177, "state": "closed", "name": "2020 Sprint 2", "startDate": "2020-01-20T17:44:37.733Z", "endDate": "2020-01-31T17:44:00.000Z", "completeDate": "2020-01-31T16:57:44.689Z", "originBoardId": 114 }, { "id": 1179, "state": "closed", "name": "2020 Sprint 3", "startDate": "2020-02-03T16:58:00.000Z", "endDate": "2020-02-14T16:58:00.000Z", "completeDate": "2020-02-17T09:45:06.128Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "453187", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/hyperloop.next/pull/329", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-12-14T02:52:57.000+0000", "updated": "2019-12-14T02:52:57.000+0000" }, { "id": "454032", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.\r\nPR Merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-04T23:05:20.000+0000", "updated": "2020-02-04T23:05:20.000+0000" }, { "id": "454081", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (titanium_mobile): https://github.com/appcelerator/titanium_mobile/pull/11465", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-06T01:24:06.000+0000", "updated": "2020-02-06T01:24:06.000+0000" }, { "id": "454103", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with SDK 9.0.0.v20200206090105 which consists of module 5.0.0.\r\nClosing", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-06T19:16:51.000+0000", "updated": "2020-02-06T19:16:51.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }