So let's start, with a new project.
Goto File -> New -> Android Project
Note: If Android Project doesn't appear as said goto File -> New -> Project. There you can find Android Project.
Now you've got these
Note: If Android API version doesn't appear in Build Target table. Follow the below procedure.
Goto Window -> Preferences -> Android
Specify the location where you installed your Android SDK (Ex: C:\Program Files (x86)\Android\android-sdk)
Hit Apply and OK.
Now get our hands on the new window just popped up.
So you got to specify a Project name, big deal.
Then you should specify the Android API version you're going to use. Most probably version 3.0
Then below you've got some very special set of properties which are mandatory.
Application name: The name that the Application will appear under.
Package Name: something like com.TestApp (Note: you definitely need something of format "(something).(something)").
Create Activity: This is like the Main class of JAVA.
Min SDK version: you can skip it.
Hit Finish.
Damn..! It's not easy like JAVA, is it. Well, it get's better
Now in order to test your App you need to set up an Emulator. This can be done using AVD manager.
Goto Window -> Android SDK and AVD manager -> Virtual Devices -> New
Now you have a whole lot of options where you can create the device in your dream....
On the Hardware tab click New, there you can have any fancy facility modern mobile device supports.
So all done now all you need is a code which will run.
Wait, it's not finished yet, we still have some immersing to do.
No comments:
Post a Comment