Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Learn to Implement Android MediaPlayer in 10 minutes [Video Tutorial]

Android Provides MediaPlayer Class to handle the functionality of media player. MediaPlayer Class can be used to control playback of audio/video files and streams. In this Android MediaPlayer Video Example, I am using methods of MediaP...

Android Runtime Permission - Video Tutorial

In this Android Video Tutorial we will learn about Runtime Permission in Android with Example Android M has introduced a new concept of permissions model with its release. Each Android application is started in its own process thus are isolat...

Android Services - Video Tutorial With Example

In this Android Video Tutorial, we will learn about Services in Android. Basically, in this tutorial, I am explaining what Service is?, providing a demo of Started Service using Service class and IntentService class. Android service is a ...

Sending complex data with image using Retrofit

Let us suppose you have to create post request params in below mentioned format: Here I have to send a user object which include the picture parameter ,to achieve  this you have to create HashMap which include RequestBody as paramete...

Android BroadcastReceiver - Video Tutorial

Hello, I am again here with another Android Video Tutorial and that is BroadcastReceiver in Android.  With this Video blog I am attaching demo code file at bottom for your further reference and for any queries feel free to co...

Android Notifications Video Tutorial

Hi, In this Android Video Tutorial you will get to know about Building or Creating Android Notifications. I am also attaching demo code file for your further reference, for any queries feel free to comment.

TimePicker in Android - Video Tutorial

Hello again, I am again here with another Android Video Tutorial which is TimePicker in Android. I am also attaching demo code file for your further reference, for any queries feel free to comment.

AutoCompleteTextView in Android - Video Tutroial

Hi, In this Android Video Tutorial you will get to know about AutoCompleteTextView in Android. I am also attaching demo code file for your further reference, for any queries feel free to comment.

VideoView in Android - Video Tutorial

Hello everyone, In this Android Video Tutorial you will get to know about VideoView in Android. For your reference I am attaching file with this blog. For any query feel free to ask in comment section.

Video Tutorial: Bluetooth in Android

Hello everyone, In this Android Video Tutorial you will get to know about How Bluetooth in Android Devices functions. For your reference I am attaching file with this blog. For any query feel free to ask in comment section.

How to get Current month name,date and year in android

In the below example code I have described, how to get Current month name , date and year from Calendar to do this I have used getInstance() method.   protected void onCreate(Bundle savedInstanceState) { super.onCreate(...

Realm for Android - Video Tutorial

In this Android Video Tutorial, I have explained the basics of Realm. Realm is a mobile database and a good substitute for SQLite (Android). Realm store data in a universal, table-based format. In this tutorial, I have explained how to install Re...

Dependency injection use in java or android

We know that there are lots of design patterns uses in Android during development like factory pattern, abstract factory pattern or singleton pattern etc so that object can be handle easily, Dependency injection is also a design pattern. We kn...

How to get current location of an android device using Google Location Sevices API.

The Google Location Services API, part of Google Play services, is the preferred way to add location-awareness to an android app. Follow the below steps to get current position of an android device. 1. To use the location manager make the G...

Android AsyncTask Video Tutorial with Example

This Video Tutorial is on Android AsyncTask. AsyncTask is an abstract class in which implementation is hidden and only functioning is visible to user. This class allows us to perform long/background operations and generates its result on the main...

Android Shared Preferences - Video Tutorial

In this Android Video Tutorial, I have explained The Shared Preference. You’re going to experience the power of Shared Preference in action and learn: The purpose of a Shared Preference  The components that make up a Sh...

How to share image that was loaded from a remote url?

Hello Nerds, This tutorial is for forwarding/sharing image from one application to other which was loaded from a remote url. Assuming that you have loaded an image from remote url and displayed it in your ImageView. The basic procedure is by taki...

Android Image Loading Libraries Video Tutorial

In this Android Video Tutorial I am guiding about four different libraries for loading images using URL: Universal Image Loader Picasso Glide Fresco Along with I am explaining their description, performance and implemen...

Android SQLite Database Video Tutorial

What is SQLite? SQLite is a opensource SQL database that stores data to a text file on a device. Android comes in with built in SQLite database implementation. It is RDBMS, no connection establishment is required like JDBC and ODBC Ligh...

Introduction to Fresco image loading library for Android Application

Hello Nerds, Are you still facing lazy image loading or OutOfMemoryException using Universal image loader, Picasso, Glide or any other library? If Yes, then this tutorial will be very helpful for you. Fresco image loading library provides quick l...

Activity state transition when going from Activity A to B.

Hi we know that life cycle methods of a activity are onCreate() - onStart() - onResume() - onPause() - onStop() - onDestroy(). but what will be the transition of these life cycle methods when going from Activity A to B, below is the example to...

How hashMap internally works in java ?

It’s not wrong to say that HashMap is an implementation of Map interface as it allows value storing in key value pairs. Although unique elements are present in Hashmap, null values and only one null key are allowed. Hashmap basically wor...

Fingerprint scanner

Hello guys wellcome to the tutorial of fingerprint scanner,   This is a simple tutorial through which you could implement one touch login to your application. Following are the steps to implement it.   Step 1. Add p...

Video Tutorial-How to make network calls using retrofit in Android?

Hello everyone, This Android Video Tutorial will guide you about How you can make network calls using retrofit in Android?   For any queries feel Free to post in comment section.

Implementing Custom ListView in Android App via BaseAdapter-Video Tutorial

This "Android ListView Video Tutorial" describes how to implement custom listview in an android application using BaseAdapter. Android ListView is a view which groups several items and displays them in the vertical scrollable list. &...

Introduction to Collapsing Toolbar

In this Android Video Tutorial, you will learn about how we create a Collapsing toolbar by learning few XML tags. XML tags covered in this tutorial are: CoordinatorLayout, AppBarLayout, CollapsingToolbarLayout and NestedScrollView. You can a...

Android RecyclerView Video Tutorial

In this Android Video Tutorial I have explained the major differences between RecyclerView and the ListView and also covered the part how to make RecyclerView in three steps.   you’re going to experience the power of Recycle...

Android Fragments Video Tutorial

Fragment are the android component that are meant to make the UI more flexible and dynamic screens. In this Android Video tutorial we will learn :- What are fragments 1) Component that is used to implement the complex UI in a simpler man...

Integrate Realm in android application

What is Realm? We all are aware of SQLite for internal storage in android but now we can use Realm as SQLite replacement. Realm has become popular for being a database with its own C++ core. It’s not just an alternative for SQLite, but ...

Layouts in Android

This Android Video Tutorial will guide you about layouts in android. A Layout is a class that handles arranging the way its children appear on the screen  In this video you will also learn about how to declare a layout, how to write xm...

Android Intents Video Tutorial

In this tutorial, you will learn the Intents and its usage in Android Intents are the Activity-launcher and also act as a message carrier. Intents is very much helpful in performing various functions that make use of other application like came...

How to refresh your list when you swipe down at the top / use of SwipeRefreshLayout

Sometime we need to refresh our list when we swipe down at top of our list so this feature is attained with the help of Swipe Refresh Layout. Here I am showing the list with the help of recyclerView, so we need to add SwipeRefreshLayout tag in ou...

An Overview of Android Activity - Video Tutorial

As far as Android platform is concerned, the fundamental building blocks rely on activities, too. They make it possible for a user to interact with an app. Besides, they also play a big role in how a user navigates within an app.   For...

How to make use of RecyclerView to show the chats between two people in your app?

If your app wants to show the chats between you n your friend then you can make use of RecyclerView. Here in the layout that is being inflated in RecylerView, I have used the visibility concept that the layout consists of two major layouts one...

Network calls in Android via Volley

Hello Nerds, This Video Tutorial describes how to use volley for making network calls in Andorid application along with the following points:- 1) How to integrate volley in your Andorid project. 2) What are advantageous and disadvantageo...

How to use WebView in Android?

This tutorial describes how to integrate WebView in Android. A Webview is the UI element which is use to load webpage inside the application.   For any queries feel free to post comment.

How to set your camera to a particular location in yor google map in android app?

If you wish to show a particular location on google map in your android app, this can be done by using the following code in the activity where you have implemented the map :- public class LTJMapActivity extends FragmentActivity implements O...

How to inflate two layouts in a single RecyclerView?

Sometimes we need to show the list with different views so for this we can inflate two layouts in RecyclerView. To know how it is achieved follow the steps mentioned below:-  Create two layouts xml files I have named them "program...

How to initiate Skype call through your android app

To initiate a skype call through your android app please add the code mentioned below :- The third line Uri skypeUri = Uri.parse("skype:" + number + "?call");  in the code below helps you to make call but  if you need vi...

How to change checkbox icon

In certain cases, according to the application we need to change the mark or the drawable of the checkbox. Step 1:- Create selector in the  drawable, say checkbox_selector.xml :- <?xml version="1.0" encoding="utf-8"?> <sele...

Sending parameters using GET request RETROFIT

Sending the parameters in GET request is quite different you can't append dynamic query to the URL . Another way of using it. http://testserver.com/api/login?api=login&value=test Using retrofit as follows: Map<String...

Create a Radar view in android

Hello All, Looking to create a view like radar in android. Step 1:- Find the java file along this blog and add it to your project. Step 2: In your xml use this class to create view. <com.example.RadarView android:id="@+i...

How to create Contextual action mode over toolbar using recycler view in android?

While creating list on a recycler view we need more functionality like delete, copy and more. Like our popular apps what's app, gmail and hike we found toolbar in action mode if we long press list items on that, same UI with functionality we ...

How to open hyperlink text in webview/browser in a android app

Suppose in out text/paragraph of textview, some words are clickable or hyperlinked. In case you have a task to open those hyperlinked text in a webview of any browser you have to use SpannableStringBuilder. Below code with details will help you t...

Count Steps in Android

We can count steps in Android by using two sensors i.e. TYPE_STEP_COUNTER and TYPE_STEP_DETECTOR. These two sensors were introduced in API level 19. TYPE_STEP_COUNTER:- This sensor returns number of steps taken by the user since l...

Customise Progress Bar

To make the layout interactive and to look good, we need to modify the default of certain widgets. Here is the simple customisation of the progress bar:- Step 1:- Create a drawable xml say customised_progress.xml <?xml version="1.0" e...

Gridview Inside the GridView as its item

There are certain conditions when you need to use nested gridview or gridview as an item of parent gridview.   Step 1:- Create an xml file. A) xml that contain the parent_gridview_item.xml <GridView android:id="@+i...

justify text in android using webview

Android does not support justification of text,but we can achieve this using loading the text in WebView. String youtContentStr = String.valueOf(Html .fromHtml("<![CDATA[<body style=\"text-align:justify;color:#222222; \">" ...

Android Pie chart example using MpAndroidChart Library

Step1: Adding MpAndroidChart android library into project dependencies { compile 'com.github.PhilJay:MPAndroidChart:v2.1.6' } repositories { maven { url "https://jitpack.io" } } Step2: Pie Chart layout in your xml...

Debugging local databases and Preferences.

When you need to debug database  and shared prefrences in an android application, it is difficult to debug it. Android Debug makes it easy to debug the databases Add this to app’s build.gradle- debugCompi...
prev 1 2 20
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: