Introduction The camera intent android nougat support tutorial describes the changes required for how to support file Uri’s to android nougat and later. For android nougat (SDK 24) and later a file Uri can no longer be passed to another android application via the android intent. Instead a Content:Uris with storage permissions applied must […]

Read more

Tutorial that describes how to upgrade the android camera2 api to android marshmallow. For this android tutorial we need camera & write storage permissions. The android camera2 api application requires in theory three permissions to function, read external storage access for the recyclerview gallery, camera permission to access the camera2 services and write external storage permission for saving the […]

Read more

For this tutorial we describe how to upgrade the android video app to android marshmallow. For this android tutorial we will be supporting read external storage. The android video application requires two permissions to function, read external storage access to load the video and the access to an external camera application for the video capture. Because the application […]

Read more

For this tutorial we describe how to upgrade the camera-intent to android marshmallow. Which will adding runtime permissions for writing to external storage. The security permissions in android marshmallow have gone through significant changes where the user now grants permissions while using the application instead of the old way which was to accept a list […]

Read more

Different types of hardware can stress an application in different ways like the nexus 5x so I took the opportunity to do some android camera2 api bug fixes Get Code The code is now on github you can get it from here https://github.com/mobapptuts/recyclerview_image_gallery.git Tag camera2-write-swap-fix or else run this command git clone https://github.com/mobapptuts/recyclerview_image_gallery.git –branch camera2-write-swap-fix Bug fixes […]

Read more

Load Bitmaps Properly Part 6 explains the issues involved when loading bitmaps and the correct procedure to use.  

Read more

Save Photo to Storage Part 5 explains how to create a file whose location will be passed to  the camera application where it will save the photo on capture.  

Read more

Display Thumbnail Part 4 grabs the bitmap returned from the external camera application and puts it on to the image view created in the layout.  

Read more

Take Photo Part 3 involves calling an external camera application to capture the photo and then return back to the application.  

Read more

Add camera button Part 2 explains how to replace the standard hello world text view and replaces it with a clickable button view.  

Read more