{ "id": "154760", "key": "TIMOB-20352", "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": "2016-02-04T23:25:33.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-04-02T20:11:07.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Our current Camera implementation still uses android.hardware.camera, which is deprecated last year. We need to implement android.hardware.camera2 and use them on API 21+\r\nLink: http://developer.android.com/intl/zh-cn/reference/android/hardware/camera2/package-summary.html", "attachment": [], "flagged": false, "summary": "Android: Implement support for Camera2 API", "creator": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "393150", "author": { "name": "mfogg", "key": "mfogg", "displayName": "Mike Fogg", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "mfogg", "key": "mfogg", "displayName": "Mike Fogg", "active": true, "timeZone": "America/New_York" }, "created": "2016-08-15T14:28:11.000+0000", "updated": "2016-08-15T14:28:11.000+0000" }, { "id": "454952", "author": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hey guys -- anyone looking into this one? Im getting some crashes in my dashboard now about autofocus with SDK 9.0.0. \r\n\r\nLooks like this ticket has not been updated since March 2017?\r\n\r\nautoFocus failed\r\nautoFocus failed\r\n\r\nstacktrace:\r\n android.hardware.Camera.native_autoFocus(Native Method)\r\n android.hardware.Camera.autoFocus(Camera.java:1379)\r\n ti.modules.titanium.media.TiCameraActivity$2.onAutoFocus(TiCameraActivity.java:735)\r\n android.hardware.Camera$EventHandler.handleMessage(Camera.java:1232)\r\n android.os.Handler.dispatchMessage(Handler.java:102)\r\n android.os.Looper.loop(Looper.java:148)\r\n android.app.ActivityThread.main(ActivityThread.java:5585)\r\n java.lang.reflect.Method.invoke(Native Method)\r\n com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)\r\n com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)", "updateAuthor": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-02T19:56:20.000+0000", "updated": "2020-04-02T19:56:20.000+0000" }, { "id": "454953", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~eric.harms@gmail.com] that one should be fixed in 9.0.1: https://github.com/appcelerator/titanium_mobile/pull/11562\r\nIf you want to start implementing Camera2 you can have a look at this: https://gist.github.com/m1ga/f95beee242d1e1a75225fc9834b2dfeb\r\nit will create a live preview already but wrong aspect ratio and all other features are missing :) ", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-04-02T20:01:04.000+0000", "updated": "2020-04-02T20:01:04.000+0000" }, { "id": "454954", "author": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Awesome thanks Michael, glad to see this is in the works and is in the pipeline for release!\r\n", "updateAuthor": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-02T20:04:49.000+0000", "updated": "2020-04-02T20:04:49.000+0000" }, { "id": "454955", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "Just the focus fix (it is already merged so you can check it with a version from builds.appcelerator.com/)\r\n\r\nThe Camera2 part is nothing official! Just some testing by me ;)", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-04-02T20:06:48.000+0000", "updated": "2020-04-02T20:06:48.000+0000" }, { "id": "454956", "author": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "body": "ah good to know, thanks!", "updateAuthor": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-02T20:11:07.000+0000", "updated": "2020-04-02T20:11:07.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }