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
How to know the call state in Android
Android provide us the facility to know the call state. Android gives this feature by providing Telephonymanager class. We need to implement PhoneStateListener interface that has one method onCallStateChanged().
Below is the example.
publ...
Add Dynamic Layout in Android
Generally we add layout from xml but sometimes we need to add layout using java. Here I am adding linear layout from java file. I am creating LinearLayout class which is provided by Android and add params on it. We have methods to set orientation...
Logging in android
A very nice system is use for logging in android, usually called a centralized system.
Developer can filter log statements by using android tools.
We can create log statements by using android.util.Log class. Log class have so many methods l...
Generate SHA1 Key in android
In android we need to generate SHA1 key fingerprint to get Google Api key for Google Map.
It just a one line command to generate SHA1 key.
First of all create your .keystore file and sign to your app and take down this keystore lo...
Check Network Availability on android
We know that Its not possible that our android device should be always connected with a network.
It might be a situation when we would not connected with any network, So to check it whether we are connected with any network or not.
We check...
Custom Toast in Android
Android give facility to change the view of a Toast. Sometimes we need to show message on a better way to user .
Here I am writing code to implement custom Toast. I make a separate layout for Toast .
Here I am showing a ImageView and TextVie...
Scan Wifi networks in your App
Android give facility to access the Wifi Network in your Application. You can access nearly every information of the connection.
Android have WifiManager API to handle all Wifi Connectivity.You can use it like this:
WifiManager wifiManagerO...
Run Multiple AsyncTask on a Single Time
In android, thread pool pattern is use in AsyncTask.
Early the size of the pool was 1 i.e,
there was no support for parallel bunching of AsyncTasks.But from HONEYCOMB version Android allows multiple Asynctask at a time.
We just have to use...