Showing posts with label Native android. Show all posts
Showing posts with label Native android. Show all posts
0

Run your First Android Apps in Emulator

Posted by Nantharupan on 3:15 AM in , ,
To run Android app in the Emulator, First We need to create the Emulator

Steps To create Emulator

1. Launch the Android Virtual Device Manager (AVD Manager) 
         By clicking the Icon AVD Manager from the Tool bar 
       Or By Click Window- Android Virtual Device Manager



2. In the AVD Manager Panel Click New



3. Enter the Details Specialty Select the Device screen Size, as well as Target Version and select other properties if you want, for the moment don't do anything to others


4.  That's all Emulator created, Click the Emulator in the AVD Manager and click Start button


Now we have created the Emulator, Its matter of running the app in the Emulator now,

1. Click the Application and Right click and select the Run as and Select Android application 

Eclipse installs the app on your AVD and starts it.

Your First Android App is ready, It will look like follows in Emulator









0

Build your First Android Apps using Eclipse

Posted by Nantharupan on 2:35 AM in ,
First you need to install following in order to start the android development.
1. Android SDK
2. Install ADT( Android Development Tool) Plug in for Eclipse
3. Download latest SDK tools and platforms using SDK manger in Eclipse

You can refer following document.

http://rupanl.blogspot.com/2012/07/getting-started-with-android.html


We are ready to develop our first Android Apps

1. Click File New Select Android folder and choose Android Application Project



2. Click Next and Fill the Application Name and Project Name and Package Name
( These are very important when it comes to real application that has to be deployed to android Market, Any way we can change them later)

Application Name - It will be shown as application Name in the Phone
Package Name - Only one application can be there in the Market with the same name 

Minimum Required SDK - Specify the lowest Android Version of the Android OS the app can run

Target SDK - Specify the Highest Version of the of the Android OS this application can run




3. Click Next, This section is to configure the Project location. 



4.  Click Nest This Section is to Configure the Launcher icon( Icon which will be displayed in the phone as the application icon), If you want to put your icon browse the icon you want to use. 

5. Click Next, This is the Screen to create the Activity Class( Class for the Screen). Select BlankActivity and Click Next.


6. Click Next and Click finish to create First Android application. 

This screen showing the Activity Name - Class related to our screen ( in Android Term Activity is class related to one screen)

Layout Name- XML file related to Layout of our Activity


We are done with our First Android Project. an Android Project created to you with necessary folder structure. 

Folder Structure we got is some thing like following



We will look the running and debugging the app in next post

Hope It helped you!!






Popular posts

Copyright © 2009 On the way All rights reserved. Theme by Laptop Geek. | Bloggerized by FalconHive.