Featured
-
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
An Overview of Android Activity - Video Tutorial
As far as Android platform is concerned, the funda
by amit.rai -
How to get IMEI number,serial number and software version of your phone
Hello... Sometimes we need to know the country
by shahbaz.ahmmod -
Search location by using place on google map
Here below is the code for searching places by usi
by shahbaz.ahmmod -
How to know free space in sdcard android
I have written code to know free space in sdcard
by shahbaz.ahmmod
Tags
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
This example shows how to get / Display the current month, date and year from calendar. To acomplish this I have used Calender.getInstance() method of Calender class. let's see the code example:
protected void onCreate(Bundl...
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...
How to update/refresh device gallery after adding new images
In some of the devices while uploading/adding new image into media are not shown to the custom gallery view. However this does not seem to update until the device reboots. To update your custom gallery with new images, below few lines of code wil...
Http request to search Image using Vuforia Rest api
In our previous blog we know that how to generate signature to perform valid api request. Now we ll see how to get target image id from vuforia database.
We know that how to find the path of an image after taking it from camera or gallery so w...
How to set MD5 and SHA1 encryption for image recognition using Vuforia rest Api ?
In our previous tutorial we learn how to configure vuforia for Cloud recognition, in this tutorial we will learn about how to set encryption technique while hitting rest apis of Vuforia and in our next tutorial we will share the basic http reques...
How to scan image from cloud database using Vuforia ?
Using Vuforia we can scan any label and image from cloud database of Vuforia.
You need to create free developer account there and then you can create your own application.
Then you can create your database in develop tab where you hav...
How to configure vuforia for android ?
Vuforia is basically used for image recognization or object recognization, you can scan from local images or from cloud database.
In this tutorial, we will learn how to use vuforia service to recognize images from cloud database.
1. First o...
How to show orders history from shopify store ?
This is our last blog on shopify where we will show listing of orders history of particular customer.
With this api you can track all orders in your webview by passing only order number.
1. Fetch orders in your main activity like this :
...
How to checkout using credit card using shopify ?
In our previous tutorial we learn about checkout and shipping address process, now we ll learn about payment process. Basically Shopify provides paypal, credit card shopify payments, web checkout etc you can check all the payments options on shop...