• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Android getting started

shariefbe

Lurker
Hi friends,
I have learned the android developers guide to get start my new android emulator. But after completing the new project wizard i dont know what to do? Can anyone help me what to do to start an emulator in eclipse?
 
Hey

Window -> Android SDK and AVD Manager

There crate a new Virtual Device. Give it a name & API Level. If youre not developing something that needs an SDCard, leave that empty. Skin to default.

Then Right Click on your project -> Run As -> Android Application


Cheers
 
ok i have created the virtual device and i have given the name and API level. But i didnt find this "Right Click on your project -> Run As -> Android Application"
where it is?
i didnt find any Run As option under projects tab. what to do?
 
Window -> ShowView -> PackageExplorer.

Now the package explorer shows your project structure. Right click on your projects name there and select runas.
 
yes it works fine. i got the emulator. But i have an big doubt. how this hello world comes? i didnt write ant program and didnt even copy it. then how it happens?
 
setContentView(resource)

Hello World is defined in resource.xml

...

Now it's time for you to read up on Android instead of posting a question for every little thing you encounter.


Cheers.
 
if you want only add on java code

TextView txtv = new TextView(this);
txtv.setText("Hello Android");
setContentView(txtv)


got it !
 
ok is it nessary to learn java to do android development?why?java is only the UI for android right? If i want to develop the android kernel part..what should i do?
 
Linux -> Java VM -> Android

If you want to write applications for Android, you'll have to learn Java.
You may write libraries in C though, I have never done that however.
 
Back
Top Bottom