The android image viewer panning tutorial describes how to implement panning on the image view when it is in zoomed in position. There are a couple of issues which will be resolved in the following tutorial. Which are there are no limits to the panning length. And the previous coordinate of the last pan movement […]

Read more

The android video app video capture request tutorial describes how to setup the video capture session request for recording & saving videos. Get Code The code to this android tutorial can be found on github https://github.com/mobapptuts/android_camera2_api_video_app.git Tag camera2-video-capture or you can run this command git clone https://github.com/mobapptuts/android_camera2_api_video_app.git –branch camera2-video-capture Steps Create a method to setup the capture request session for […]

Read more

The android image viewer pinch zoom tutorial describes how to implement a scale gesture detector which provides the X & Y scale values representing how much the image is to be zoomed. Get Code The code can be found on github from the following instructions below https://github.com/mobapptuts/android_image_viewer.git Tag image-viewer-pinch-zoom or you can run this command […]

Read more

The android video app setup media recorder tutorial describes how to create and configure a media recorder object that will be passed to the capture request for the recording session. Get Code The code to start this tutorial is on github here https://github.com/mobapptuts/android_camera2_api_video_app.git Tag camera2-video-media-recorder or you can run this command git clone https://github.com/mobapptuts/android_camera2_api_video_app.git –branch camera2-video-media-recorder Steps Create […]

Read more

The android video app creating file storage tutorial describes the how to create the video folder and it’s files. Support for android marshmallow write external storage runtime permissions is also added. Get Code The code to start this tutorial is on github here https://github.com/mobapptuts/android_camera2_api_video_app.git Tag camera2-video-storage or you can run this command git clone https://github.com/mobapptuts/android_camera2_api_video_app.git –branch camera2-video-storage Steps Add […]

Read more

The android image viewer onDraw bitmap tutorial describes how to display the image bitmap in the custom image view using the onDraw method. To get the bitmap from the calling activity we will be passing the bitmap’s Uri to the custom image view and then loading it from there. Once we have the bitmap we […]

Read more

The android image viewer custom view onMeasure tutorial describes how to set the size of your image view. If your image view settings have been done in the layout xml file then your height will have been defined. This size could either be MATCH_PARENT, WRAP_CONTENT or a specific size. In our sample we have set […]

Read more

The android video app enabling record button tutorial describes the how to create an on click listener for the ImageButton view. And then how to change the image to a red icon for recording and then back to a green icon to indicate that recording is available. Get Code The code to start this tutorial is […]

Read more

The android image viewer zoom animation tutorial describes the steps of how to add animations to an image view when zooming from a thumbnail to full screen image. Get Code The code can be found on github from the following instructions below https://github.com/mobapptuts/android_image_viewer.git Tag image-viewer-thumb-animation or you can run this command git clone https://github.com/mobapptuts/android_image_viewer.git –branch image-viewer-thumb-animation […]

Read more

The android video app starting preview display tutorial describes the steps involved to get the preview screen running on the android camera2 video app. Get Code The code to start this tutorial is on github here https://github.com/mobapptuts/android_camera2_api_video_app.git Tag camera2-video-preview-display or you can run this command git clone https://github.com/mobapptuts/android_camera2_api_video_app.git –branch camera2-video-preview-display Steps Create the CameraRequest Builder member private CaptureRequest.Builder mCaptureRequestBuilder; […]

Read more