Skip to main content

Posts

Showing posts with the label Video Gallery

How to create Image and Video Thumbnail in Android

There are many method and Library are available using which you can load the thumbnail of the video and Image file, but as per my experience Glide is the best solution for loading thumbnail, whether you are loading from Internet or loading from local SD card. Many of the application are using the Glide library for loading the Image and Video thumbnail. You May Like:- https://www.nplix.com/2017/02/11/create-animated-video-thumbnail-android/ You can download the Glide Library from here  and alternatively, you can include the library directly in your app using Gradle. One option to download the jar file also from Glide release page .  If you are downloading the library then you have to place the library inside your project bin folder. Also Read:- How to Create Video Gallery App Using Recyclerview Step by Step Guide to create option Menu in Android Here we are going to work with Gradle as its simple to implement w.r.t other methods. In this example, we will create an activity and place one...

How to Create Video Gallery App Using Recyclerview

Here we will create a simple Video Gallery in android using Recyclerview. Below is the project structure of this tutorial. You can download the demo app from Google Play . You may Like:- How to Read and Write JSON data using GSON WP Android App using REST and volley Below is the Project Structure of our  Video Gallery using Recyclerview App Project Structure Project Setup for creating the Video Gallery using Recyclerview In above given screen shots you can see the hierarchy of our Video Gallery example tutorial. For creating the project go Android Studio File Menu - New - New Project and then give the name of your project and select an empty Activity. 1.Update build.gradle First of all you have to update your app level build.gradle file to include some gradle dependency. So modify your build.gradle file as given below. build.gradle apply plugin: 'com.android.application' android { compileSdkVersion 24 buildToolsVersion "24.0.2" defaultConfig { ...