• Like
Android hello world application tutorial #1
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Android hello world application tutorial #1

  • 2,398 views
Published

Tutorials about how to start developing a simple Hello world Android Application.

Tutorials about how to start developing a simple Hello world Android Application.

Published in Education , Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,398
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
303
Comments
0
Likes
4

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Android Application Tutorial Instructed on: 17-Feb-2012 | Tutorial: #02 2  By : Yasmine Sherif Mahmoud Tutorial Code: APS-02-2012All Copy Rights Saved to the 7th Students’ Conference on Communication and Information Based in the Faculty of Computersand Information Cairo University – Egypt 2011/2012 www.scci-cu.com
  • 2. • You can install the SDK from here: http://developer.android.com/sdk/index.html• You can install Eclipse from here: http://www.eclipse.org/downloads/ >> Choose: Eclipse IDE for Java EE Developers• After installing the SDK and Eclipse.• Open Eclipse and follow the following steps.
  • 3. Fill in thepackage name
  • 4. Choose Any Androidversion you want
  • 5. Fill in the ApplicationName Fill in the Choose it package name according to the with a unique version you three parts chose before separated by dots name
  • 6. • By now you will have created the project and you will have the following window:
  • 7. Expand this file tosee this java file This is where you write your java code
  • 8. Expand this to see theAndroid Jar files
  • 9. Expand this to see the files concernedwith the graphics and sounds of yourapplication
  • 10. This is the main.xml file where you will havethe graphical layout of the application
  • 11. That’s how the GraphicalLayout looks like. You cancontrol the applicationlayout from there
  • 12. • Now, return to the .Java file where we will write a Hello world code.
  • 13. Write this three line codeinstead of the one you have
  • 14. • Before going to the next step we will create the AVD (Android Virtual Device) or the emulator on which we will test the application.
  • 15. Fill in the name of your emulatorChoose thetarget accordingto the version of Fill in any size for thethe application memory cardyou chose
  • 16. Now you willhave your AVDcreated.Close the windowafter that.
  • 17. • We now have to run our application.
  • 18. Right click on the project
  • 19. You may have this windowso just click ok.
  • 20. This is the AVD.It may takes up to 2 or 3minutes to launch sopatiently wait.Every version has a differentemulator shape so don’tworry if you don’t have thisshape.
  • 21. Drag this circle to the rightto unlock
  • 22. Click this circleto go to themenu
  • 23. Here is yourApplication.Click it.
  • 24. This is how it is goingto look like 
  • 25. Yasmine Sherif EL-Adly @YasmineSherif91+Yasmine Sherif EL-Adly