You are here
Home > Android

Swipeable and Non-Swipeable ViewPager in Android

Hello Friends, recently I was developing a mobile application in which I had to make Swipeable and Non-Swipeable ViewPager in Android and to achieve this I had to create ViewPager subclass CustomViewPager class . So, I thought to share it so that anyone else required can use it. I'd created

Tabbed Activity in Android

Hello Friends, It's being long time I've not shared anything with you but today I have something to share which is Different types of Tabbed Activity in Android. In one of my application idea I needed to use tabbed activity, So i thought to share with you also, what different

Image Gallery App in Android

Hello Friends, Today I will share how to develop image gallery app in Android. Actually, recently I was developing an Android Application in which I was required to add inbuilt gallery feature for the captured images through that application. So, for learning purpose I developed separate gallery application and now I

SQLite Database Handling in Android

Hello Friends, Recently I was developing an Android application in which I was required to use SQLite Database. So, I developed a separate test application by which you can learn SQLite Database Handling in Android. Beside SQLite you can also learn how to use Spinner Control, TableView and TableRow in

File Uploading in Android using Web Service in PHP

Hello Friends, Today I will tell you file uploading in android using web service in PHP. Basically we will call web service developed in PHP using AsyncTask in android to upload file and we will get file name and file type in response. PHP Code for Web Service config.php [crayon-5b74c4df30914172083895/] user.php [crayon-5b74c4df3091b909300806/] Android Code AndroidManifest.xml [crayon-5b74c4df30920073831808/] activity_main.xml [crayon-5b74c4df30924180804022/] FilePath.java (getting selected

Android Camera 2 Api Example With & Without Preview

Hi, Friends today I am going to share code by which you can use android camera 2 api to click picture. I'd created two classes named as CameraControllerV2WithPreview for taking picture with preview and another one is CameraControllerV2WithoutPreview for taking picture without preview. Camera 2 Api is latest Api introduced

Distance Calculator in Android

Hello Friends, Today I am going to share distance calculator code in android which is basically based on GPS.  In this code we are going to use GPS location so we need to take below permissions. [crayon-5b74c4df3179f219091788/] We need to use below module dependency also [crayon-5b74c4df317a5206858093/] So, Here is the code activity_main.xml [crayon-5b74c4df317a8930630104/] MainActivity.java [crayon-5b74c4df317ad804936671/] AndroidManifest.xml [crayon-5b74c4df317b7864693488/] build.gradle [crayon-5b74c4df317bc737425024/] Screen Shot Download Android Studio

Creating Audio Recorder in Android

Hello Friends, Today I am going to share audio recording code in android. This code will work on latest version of android (Marshmallow) also. In this code we are going to use MediaRecorder class to record audio and MediaPlayer class to play recorded audio. activity_main.xml [crayon-5b74c4df31de9588805305/] MainActivity.java [crayon-5b74c4df31df1791520387/] Screen Shot Download Android Studio Project

Top