In this article, we will discuss the easiest way to upload all types of files, images, videos, pdf, and all other to the server in Android using Kotlin. We are going to upload file to Server in Android Kotlin using OKHTTP multipart request. In the following, the code is shared in the form of Utility […]
Capture Video From Camera in Kotlin Android
In this article, we will discuss how to open the Default camera App in our App to capture video from the camera in Kotlin Android. After capturing video from the camera we will also play that video in the device’s default video player to check is the video recorded and saved perfectly. Following is the […]
Get File Path From URI in Android JAVA
In Android when we pick an image, video, or any other type of file from the gallery, documents folder, or capture directly from the camera, we receive a URI object in intent. We have different ways to get a full file path from URI based on content providers. In this article, we will discuss how […]
Get Path From URI In Kotlin Android
When we pick an image, video, audio, or any other file from the gallery or documents directory we receive URI in intent in the onActivityResult(…) method. So we always further required to get a full file path from that URI. If we directly try to get the path through URI.getData() method, it doesn’t serve the […]