Android camera2 API - Part 14 Feature hardening


Please note that I dont respond to questions on the youtube channel but for those that require help I provide paid consultancy services here Part 14 - Different hardware devices can expose flaws in the application and the new nexus 5x is such a device. So now is a good time to view any undesired features in the android camera2 api application and provide solutions for them. The issues we will be addressing in this tutorial are - Moving the image file creation once the camera has started capturing the image - Adding a picture captured condition to the state machine - Swapping the recyclerview image adapter after the image has been saved - Cancelling the camera capture session repeating requests when the still capture session is ready to be captured - Enabling the repeating request for the camera capture session when unlocking the focus Corresponding website posting: Github details : Tag camera2-write-swap-fix or else run this command git clone --branch camera2-write-swap-fix Previous episodes of the android camera2 api series: Part 1 Look Feel - Part 2 Surface preview sizes - Part 3 Surface preview session - Part 4 Starting camera preview - Part 5 Background Handler - Part 6 Focus Lock - Part 7 ImageReader - Part 8 Capture still image - Part 9 Update grid gallery - Part 10 RecyclerView click position - Part 11 Full screen image - Part 12 Responding to capture intents - Part 13 Preview Fix - For much more information checkout Website - Twitter - Facebook - Google - Pinterest - The previous tutorials were aimed at beginners to android but over time have been getting more complex as the original camera_intent app has developed. This tutorial series is more aimed towards the intermediate developers thought for those who have been following the previous tutorial series feel free to watch this android performance series. Android studio 1.5 is the editor of choice IDE for this tutorial series. This tutorial series is the start of what I expect to be many so I encourage comments and feedback to improve the quality and viewing experience.

Источник: rutube.ru

Сообщение от Commenton: Необходимо стартовать сессию