Android Tutorials for beginners

How to spoof or fake GPS location in Marshmallow?

Android Tutorials

Android Tutorials

Objectives :

  • How to spoof GPS location in Marshmallow?
  • How to fake GPS location in Marshmallow?

To spoof / fake GPS location in Marshmallow follow the steps below :

  1. Go to “Settings”
  2. Go to “About phone”
  3. Scroll to the bottom until you see Build Number.
  4. Repeatedly tap it until you unlock “Developer options”
  5. Go back to “Settings”
  6. Right above “About phone”, you will now see “Developer options”.
  7. Look for “Select mock location app”
  8. Click on this to select the app you use to GPS spoof.

 

Subscribe blog for more updates.

Passing data between activities in Android

Objective :

  • Passing data between activities in Android
  • Passing multiple data between activities in Android
  • Passing array between activities in Android
  • Passing ArrayList between activities in Android
  • Passing ArrayList to another activity in Android
  • Sending data via Intent in Android
  • Sending multiple data via Intent in Android
  • Sending array between activities in Android
  • Sending ArrayList between activities in Android
  • Sending ArrayList to another activity in Android
  • Sending data via Intent and Bundle in Android
  • Sending multiple data via Intent and Bundle in Android
  • Passing array between activities in Android using Intent and Bundle
  • How to pass array to another activity in Android?
  • How to pass array between activities in Android?
  • How to pass data to another activity in Android?
  • How to pass data to activity in Android?
  • How to pass data to between activities in Android?
  • How to pass ArrayList to another activity in Android?
  • How to pass ArrayList between activities in Android?

 

Code for passing data between activities in Android :

ActivityOne.java

[sourcecode lang=”java”]

String value = "Hello!";
Intent in = new Intent(this,ActivityTwo.class);
in.putExtra("Key", value);
startActivity(in);

[/sourcecode]

ActivityTwo.java

[sourcecode lang=”java”]

Bundle bundle = getIntent().getExtras();
String valueReceived = bundle .getString("Key");

[/sourcecode]

 

Code for passing multiple data or values between activities in Android :

Method 1 : Using Intent to pass data and Bundle to extract data between activities in Android

ActivityOne.java

[sourcecode lang=”java”]

String value1 = "Hello!";
String value2 = "Hi!";
Intent in = new Intent(this,ActivityTwo.class);
in.putExtra("Key1", value1);
in.putExtra("Key2", value2);
startActivity(in);
[/sourcecode]

ActivityTwo.java

[sourcecode lang=”java”]
Bundle bundle = getIntent().getExtras();
String valueReceived1 = bundle .getString("Key1");
String valueReceived2 = bundle .getString("Key2");
[/sourcecode]

 

Method 2 : Using Bundle to pass and to extract data between activities in Android

ActivityOne.java

[sourcecode lang=”java”]

String value1 = "Hello!";
String value2 = "Hi!";
Intent in = new Intent(this,ActivityTwo.class);
Bundle bundle = new Bundle();
bundle.putString("Key1", value1);
bundle.putString("Key2", value2);
in.putExtras(bundle);
startActivity(in);
[/sourcecode]

ActivityTwo.java

[sourcecode lang=”java”]
Bundle bundle = getIntent().getExtras();
String valueReceived1 = bundle .getString("Key1");
String valueReceived2 = bundle .getString("Key2");
[/sourcecode]

 

Code for passing array between activities in Android :

ActivityOne.java

[sourcecode lang=”java”]
String[] array = new String[]{"Item1", "Item2", "item3", "Item4", "item5"};
Intent in = new Intent(this,ActivityTwo.class);
Bundle bundle = new Bundle();
bundle.putStringArray("MyArray", array);
in.putExtras(bundle);
startActivity(in);
[/sourcecode]

ActivityTwo.java

[sourcecode lang=”java”]
Bundle bundle = getIntent().getExtras();
String arrayReceived[] = bundle.getStringArray("MyArray");
[/sourcecode]

 

Code for passing ArrayList between activities in Android :

ActivityOne.java

[sourcecode lang=”java”]
ArrayList<String> array = new ArrayList<String>();
array.add("Hello");
array.add("Hi");
array.add("Bye");
Intent intent = new Intent(this, ActivityTwo.class);
intent.putExtra("array_list", array);
startActivity(intent);
[/sourcecode]

ActivityTwo.java

[sourcecode lang=”java”]
Bundle bundle = getIntent().getExtras();
ArrayList<String> array = (ArrayList<String>) bundle.getStringArrayList("array_list");
[/sourcecode]


Have fun with Intent.

Android Online Training Session 1

Android is the most popular mobile operating system and booming day by day. Everyday huge number of Android mobile devices are getting activated and people are looking for different application to ease their life and to do some day to day task on the go. Many important things can also be done with mobile device like paying bills, money transfer and so on.

Many people who do not have time to go and attend classes due to college, work or some other reason can attend Online Android Training seating at their own place and as per their convenience.

Recording of actual Online Android Training :

[youtube=https://www.youtube.com/watch?v=mneHOSwAtRY]

The video is recorded during the actual Online Android Training Session 1. If you are looking for Online Android Training, please go through it and let us know if you are interested in the same and feel free to contact me at aatul@ancyber.com

Android 5.0 Lollipop

Android 5.0 Lollipop

Finally Google has announced Android 5.0 and the curtains have raised from the suspense of Android L, the Android 5.0 is Lollipop.

Android 5.0 Lollipop has come up with great features and with full fledged support for Android wearable and Android TV. Let’s take a look at the features here.

Android 5.0 Lollipop features :

  • Material Design
    • A bold, colorful, and responsive UI design for consistent, intuitive experiences across all your devices
    • Responsive, natural motion, realistic lighting and shadows, and familiar visual elements make it easier to navigate your device
    • Vivid new colors, typography, and edge-to-edge imagery help to focus your attention
  • Notifications
    • New ways to control when and how you receive messages – only get interrupted when you want to be
    • View and respond to messages directly from your lock screen. Includes the ability to hide sensitive content for these notifications
    • For fewer disruptions, turn on Priority mode via your device’s volume button so only certain people and notifications get through. Or schedule recurring downtime like 10pm to 8am when only Priority notifications can get through
    • With Lollipop, incoming phone calls won’t interrupt what you’re watching or playing. You can choose to answer the call or just keep doing what you’re doing
    • Control the notifications triggered by your apps; hide sensitive content and prioritize or turn off the app’s notifications entirely
    • More intelligent ranking of notifications based on who they’re from and the type of communication. See all your notifications in one place by tapping the top of the screen
  • Battery
    • Power for the long haul
    • A battery saver feature which extends device use by up to 90 mins
    • Estimated time left to fully charge is displayed when your device is plugged in
    • Estimated time left on your device before you need to charge again can now be found in battery settings
  • Security
    • Keep your stuff safe and sound
    • New devices come with encryption automatically turned on to help protect data on lost or stolen devices
    • SELinux enforcing for all applications means even better protection against vulnerabilities and malware
    • Use Android Smart Lock to secure your phone or tablet by pairing it with a trusted device like your wearable or even your car
  • Device Sharing
    • More flexible sharing with family and friends
    • Multiple users for phones. If you forget your phone, you still can call any of your friends (or access any of your messages, photos etc.) by simply logging into another Android phone running Lollipop. Also perfect for families who want to share a phone, but not their stuff
    • Guest user for phones and tablets means you can lend your device and not your stuff
    • Screen pinning: pin your screen so another user can access just that content without messing with your other stuff
  • New Quick Settings
    • Get to the most frequently used settings with just two swipes down from the top of the screen
    • New handy controls like flashlight, hotspot, screen rotation and cast screen controls
    • Easier on/off toggles for Wi-Fi, Bluetooth, and location
    • Manually adjust your brightness for certain conditions. Then, adaptive brightness will kick in based on ambient lighting
  • Connectivity
    • A better internet connection everywhere and more powerful Bluetooth low energy capabilities
    • Improved network handoffs resulting in limited interruption in connectivity. For example, continue your video chat or VoIP calls without interruption as you leave the house and switch from your home Wi-Fi back to cellular
    • Improved network selection logic so that your device connects only if there is a verified internet connection on Wi-Fi
    • Power-efficient scanning for nearby Bluetooth low energy (“BLE”) devices like wearables or beacons
    • New BLE peripheral mode
  • Runtime and Performance
    • A faster, smoother and more powerful computing experience
    • ART, an entirely new Android runtime, improves application performance and responsiveness
      • Up to 4x performance improvements
      • Smoother UI for complex, visually rich applications
      • Compacting backgrounded apps and services so you can do more at once
    • Support for 64 bit devices, like the Nexus 9, brings desktop class CPUs to Android
      • Support for 64-bit SoCs using ARM, x86, and MIPS-based cores
      • Shipping 64-bit native apps like Chrome, Gmail, Calendar, Google Play Music, and more
      • Pure Java language apps run as 64-bit apps automatically
  • Media
    • Bolder graphics and improved audio, video, and camera capabilities
    • Lower latency audio input ensuring that music and communication applications that have strict delay requirements provide an amazing realtime experience
    • Multi-channel audio stream mixing means professional audio applications can now mix up to eight channels including 5.1 and 7.1 channels
    • USB Audio support means you can plug USB microphones, speakers, and a myriad of other USB audio devices like amplifiers and mixers into your Android device
    • OpenGL ES 3.1 and Android extension pack brings Android to the forefront of mobile graphics putting it on par with desktop and console class performance
    • A range of new professional photography features for Android Lollipop that let you
      • Capture full resolution frames around 30 fps
      • Support raw formats like YUV and Bayer RAW
      • Control capture settings for the sensor, lens, and flash per individual frame
      • Capture metadata like noise models and optical information
    • State of the art video technology with support for HEVC to allow for UHD 4K video playback, tunneled video for high quality video playback on Android TV and improved HLS support for streaming
  • OK Google
    • Easy access to information and performing tasks
    • Even if your screen is off, you can say “OK Google” on devices with digital signal processing support such as Nexus 6 and Nexus 9
    • Talk to Google on the go to get quick answers, send a text, get directions and more
  • Android TV
    • Support for living room devices
    • User interface adapted for the living room
    • Less browsing, more watching with personalized recommendations for content like movies and TV shows
    • Voice search for Google Play, YouTube and supported apps so you can just say what you want to see
    • Console-style Android gaming on your TV with a gamepad
    • Cast your favorite entertainment apps to your big screen with Google Cast support for Android TV devices
  • Accessibility
    • Enhanced low vision and color blind capabilities
    • Boost text contrast or invert colors to improve legibility
    • Adjust display to improve color differentiation
  • Now in 68+ languages
    • 15 new additions
    • Basque, Bengali, Burmese, Chinese (Hong Kong), Galician, Icelandic, Kannada, Kyrgyz, Macedonian, Malayalam, Marathi, Nepali, Sinhala, Tamil, Telugu
    • That means now I support for my mother tounge Marathi
  • Device set up
    • Get up and running in no-time
    • Tap & go: instant set up of your new Android phone or tablet by simply tapping it to your old one (requires NFC)
    • Whenever you get a new Android phone or tablet, you can bring over your apps from Google Play automatically from any of your old Android devices
  • And a whole lot more
    • Tap & pay: easily manage multiple payment apps by quickly switching between them
    • Print preview and page range support
    • Revamped display for battery, Bluetooth, data usage, and Wi-Fi settings and new search functionality in settings
    • New device level feedback for Nexus devices in Settings > about phone > send feedback
    • Easier sharing with
      • Improved ranking of your options within the share menu
      • Android Beam: lets you share a file with someone nearby by gently tapping the two devices together
    • Where supported by the hardware, your device will wake up as soon as you pick it up or tap the screen twice
    • Improved hardware keyboard accessory support including support for multilingual, emoji input, search key, and improved app and system key chords

Source : Google Android Lollipop

Callback number for lost or stolen Android device

Objectives :

  • How to Recover lost Android Phone?
  • How to Recover lost Android Device?
  • How to Recover stolen Android Phone?
  • How to Recover stolen Android Device?
  • How to set callback number to recover lost Android device?
  • How to set callback number to recover lost Android phone?
  • How to set callback number to recover stolen Android device?
  • How to set callback number to recover stolen Android phone?
Android Device Manager

Android Device Manager

Have you or your loved one has lost their Android device or Android phone? If yes, you might have come to a conclusion that people do not bother to return your device. But now you can ask them or appeal them to return your lost device or phone.

Amazed! Yes, this is possible because of new update in Google’s Android Device Manager which is now giving an option to set “call me back” phone number to recover lost Android device.

How does it work? Features :

  • Display callback number on lock screen, once you lock device using Android Device Manager
  • Display custom message on lock screen again to phone’s finder or thief

Now your Android device is more secure and no need to worry about the lost or stolen android phone or device.

AutoScroll TextView Demo

Objectives :
– How to use TextView in Android?
– How to scroll Text in Android?
– How to implement Marquee Text in Android?
– How to make text scrollable in Android?

Getting Started :
1. Create a New Android Application titled as “AutoscrollTextviewDemo” with blank activity.
2. Update the layout xml with code given below.

How to do it?
Here is the XML code for Auto Scroll TextView, update your layout xml file with code below.

[code language=”xml” 1=”highlight(14,15,16,17,18)”]
<LinearLayout xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="AutoScroll TextView" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:scrollHorizontally="true"
android:ellipsize="marquee"
android:marqueeRepeatLimit ="marquee_forever"
android:focusable="true"
android:focusableInTouchMode="true"
android:text="This is small example for auto scroll text view simply using XML, no need to code Java. Hope you like it! Try it on your own, it is very easy to perform" />

</LinearLayout>
[/code]

Download Source Code
Output :

Output in Potrait mode

Output in Potrait mode

Output in Landscape mode

Output in Landscape mode

This is small example for auto scroll text view simply using XML, no need to code Java. Hope you like it! Try it on your own, it is very easy to perform.

Click here to download source code.

Taking text input in Android via EditText

Objectives :

  • How to take input in Android?
  • How to take text input in Android?
  • How to use EditText in Android?
  • How to take multiline input in Android?

If you wish to take text input in Android, you can use <EditText> to take the text input in Android.

Here is the small example showing different uses of EditText. EditText can be also used to take multiline input as that of textarea.

[sourcecode language=”xml”]

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >

<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="First Name" />

<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:id="@+id/EditTextFirstName"
android:hint="First Name" />

<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Cell No" />

<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="number"
android:hint="Cell No." />

<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Email ID" />

<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="textEmailAddress"
android:hint="Email Name" />

<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Message" />

<EditText
android:id="@+id/editText1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="textMultiLine"
android:lines="5" />

</LinearLayout>

[/sourcecode]

Multiline Input in Android

If you need, you can use the same <EditText> to take multiline input as per the code snippet given below :

[sourcecode language=”xml”]
<EditText
android:id="@+id/editText1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="textMultiLine"
android:lines="5" />
[/sourcecode]

Here, android:inputType=”textMultiLine” will convert the single line text input into multi line input and android:lines=”5″ will give 5 (five) visible lines input.

Working with Layouts in Android

Objectives :

  • Which layouts does Android have?
  • How to implement a layout in Android?
  • How to use different layouts in Android?
  • How to use Linear Layout in Android?
  • How to use Relative Layout in Android?
  • How to use Absolute Layout in Android?
  • How to use Frame Layout in Android?
  • How to use Table Layout in Android?
  • How to use nested layouts in Android?
  • How to use a layout inside another layout in Android?

In Android, there are main five (5) layouts which are as follows;

  1. Linear Layout
  2. Relative Layout
  3. Absolute Layout
  4. Table Layout
  5. Frame Layout

Here I have used the same form controls/components in form to show how it looks in different layouts except Frame Layout.

Linear Layout in Android

Here I have used nested linear layout.

XML Code for Linear Layout :

[sourcecode language=”xml”]

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">

<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content">

<TextView
android:text="User Name"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

<EditText
android:width="100px"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

</LinearLayout>

<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content">

<TextView
android:text="Password"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

<EditText
android:width="100px"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

</LinearLayout>

</LinearLayout>

[/sourcecode]

Here android:orientation=”vertical” will render controls in vertical manner and android:orientation=”horizontal” will render controls in horizontal manner.

Relative Layout in Android

Here in Relative layout we don’t need to nest layouts generally.

XML Code for Relative Layout :

[sourcecode language=”xml”]

<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">

<TextView
android:id="@+id/userName"
android:text="First Name"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

<EditText
android:id="@+id/editUserName"
android:width="100px"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/userName"
android:layout_below="@id/userName"/>

<EditText
android:id="@+id/editpassword"
android:width="100px"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/editUserName"
android:layout_alignLeft="@id/editUserName"/>

<TextView
android:id="@+id/password"
android:text="Password"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toLeftOf="@id/editpassword"
android:layout_below="@id/editUserName" />

</RelativeLayout>

[/sourcecode]

Here we need to specify android:layout_toLeftOf=”@id/controlId”, android:layout_toRightOf=”@id/controlId”, android:layout_below=”@id/controlId”, android:layout_alignLeft=”@id/controlId”, etc. parameters so as to render the control at particular place.

Absolute Layout in Android

Here in Absolute Layout we need to specify exact pixel location or (x,y) coordinate where we need to render our controls.

XML Code for Absolute Layout :

[sourcecode language=”xml”]
<AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">

<TextView
android:layout_x="10px"
android:layout_y="110px"
android:text="User Name"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

<EditText
android:layout_x="150px"
android:layout_y="100px"
android:width="100px"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

<TextView
android:layout_x="10px"
android:layout_y="160px"
android:text="Password"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

<EditText
android:layout_x="150px"
android:layout_y="150px"
android:width="100px"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

</AbsoluteLayout>

[/sourcecode]

Table Layout in Android

Whenever you need to manage data in tabular manner, you can use Table Layout. Table Layout will help you to show data in rows and columns.
Here is the sample code showing how to use Table Layout :

[sourcecode language=”xml”]
<TableLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">

<TableRow>

<TextView
android:text="User Name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_column="1" />

<EditText
android:width="100px"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

</TableRow>

<TableRow>

<TextView
android:text="Password"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_column="1" />

<EditText
android:width="100px"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

</TableRow>

</TableLayout>
[/sourcecode]

Here in Table Layout, we use <TableRow> tag to add contents to a row same as that of HTML.

Frame Layout in Android

Frame Layout can be used to display various contents such as text, images, videos, image galleries, etc.
Sample code for Frame Layout is as follows :

[sourcecode language=”xml”]<FrameLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">

<TextView
android:text="http://aatul.me"
android:textSize="24sp"
android:textColor="#000000"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:gravity="center"/>

</FrameLayout>
[/sourcecode]

Writing HelloWorld in Android

Objective :

  • How to write HelloWorld Application in Android?
  • How to write HelloWorld App in Android?
  • How to write HelloWorld in Android?

To create HelloWorldApp follow the steps below :

  • Go to File Menu > Go to New > Click on Android Application Project.

  • In New Android Application Window, enter Application Name as “HelloWorldApp”. Do not change anything else and click Next.

  • While you are in Configure Project Window, uncheck the Create custom launcher icon. Do not change anything else. Click Next.

  • In Create Activity window, click Next.

  • In Blank Activity Window, change the Activity Name to “HelloWorldApp”. Do not change anything else. Click Finish. And your HelloWorldApp Android application will be created.

Here is snapshot of HelloWorldApp project structure :

HelloWorldApp Project Structure in Android

XML Code for UI

File : activity_hello_world_app.xml

[sourcecode language=”xml”]

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world" />

</RelativeLayout>
[/sourcecode]

XML code which manages all the string items or labels.

File : strings.xml

[sourcecode language=”xml”]
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">HelloWorldApp</string>
<string name="action_settings">Settings</string>
<string name="hello_world">Hello world!</string>
</resources>

[/sourcecode]

Java Code

File : HelloWorldApp.java

[sourcecode language=”java”]
package com.example.helloworldapp;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class HelloWorldApp extends Activity {

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_hello_world_app);
}

}
[/sourcecode]

After writing your code, to run this snippet you need an AVD (Android Virtual Device) or Emulator. Here is tutorial link which will help you to create AVD so as to run your Android application.

How to create AVD (Android Virtual Device) or Emulator?

Objectives :

  • How to create AVD?
  • How to create Android Virtual Device?
  • How to create Emulator for Android?
  • What is AVD (Android Virtual Device)?

AVD (Android Virtual Device) / Emulator

AVD (Android Virtual Device) is an Emulator which helps in running Android applications onto your computer/laptop and you don’t need physical device every time you write/change code. Using an AVD you can run and test nearly every feature of your application right from simple text, GPS, Camera, Database, etc.

Creating AVD :

  • To create go to Window menu > Click on “Android Virtual Device Manager” or “AVD Manager” option.

  • In Android Virtual Device Manager or AVD Manager window, click New button.

  • In Create new Android Virtual Device (AVD) window, set credentials for new AVD you wish to create, press OK.

  • Select AVD you have created from the list and click Start > click Launch.

  • Here is an AVD you have created, now you are ready to run your Android application.

You can have a look at this tutorial so that you can Quickstart Android Application Development. So start writing your Android applications now.