SlideShare una empresa de Scribd logo
1 de 30
Android Application Tutorial

  Instructed on: 17-Feb-2012 | Tutorial: #02




                                                                    2 
                                                      By : Yasmine Sherif Mahmoud
                                                                                                                           Tutorial Code: APS-02-2012




All Copy Rights Saved to the 7th Students’ Conference on Communication and Information Based in the Faculty of Computers
and Information Cairo University – Egypt 2011/2012 www.scci-cu.com
• 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.
Fill in the
package name
Choose Any Android
version you want
Fill in the Application
Name
                          Fill in the
    Choose it             package name
    according to the      with a unique
    version you           three parts
    chose before          separated by
                          dots name
• By now you will have created the project and
  you will have the following window:
Expand this file to
see this java file




                      This is where you write your java
                      code
Expand this to see the
Android Jar files
Expand this to see the files concerned
with the graphics and sounds of your
application
This is the main.xml file where you will have
the graphical layout of the application
That’s how the Graphical
Layout looks like. You can
control the application
layout from there
• Now, return to the .Java file where we will
  write a Hello world code.
Write this three line code
instead of the one you have
• Before going to the next step we will create
  the AVD (Android Virtual Device) or the
  emulator on which we will test the
  application.
Fill in the name
                          of your emulator



Choose the
target according
to the version of   Fill in any size for the
the application     memory card
you chose
Now you will
have your AVD
created.
Close the window
after that.
• We now have to run our application.
Right click on the project
You may have this window
so just click ok.
This is the AVD.

It may takes up to 2 or 3
minutes to launch so
patiently wait.

Every version has a different
emulator shape so don’t
worry if you don’t have this
shape.
Drag this circle to the right
to unlock
Click this circle
to go to the
menu
Here is your
Application.
Click it.
This is how it is going
to look like 
Yasmine Sherif EL-Adly



 @YasmineSherif91



+Yasmine Sherif EL-Adly

Más contenido relacionado

Similar a Android hello world application tutorial #1

Android SDK and PhoneGap
Android SDK and PhoneGapAndroid SDK and PhoneGap
Android SDK and PhoneGap
Doncho Minkov
 

Similar a Android hello world application tutorial #1 (20)

Introduction to Android and Java.pptx
Introduction to Android and Java.pptxIntroduction to Android and Java.pptx
Introduction to Android and Java.pptx
 
Bai thuc hanh lap trinh Android so 1
Bai thuc hanh lap trinh Android so 1Bai thuc hanh lap trinh Android so 1
Bai thuc hanh lap trinh Android so 1
 
android market
android marketandroid market
android market
 
Homework seriesandroidworkshop JUly 12th
Homework seriesandroidworkshop JUly 12thHomework seriesandroidworkshop JUly 12th
Homework seriesandroidworkshop JUly 12th
 
Introduction To Android For Beginners.
Introduction To Android For Beginners.Introduction To Android For Beginners.
Introduction To Android For Beginners.
 
Methods to set up android app development environment
Methods to set up android app development environmentMethods to set up android app development environment
Methods to set up android app development environment
 
Ppt of tutorial android app
Ppt of tutorial android appPpt of tutorial android app
Ppt of tutorial android app
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app development
 
Android app upload
Android app uploadAndroid app upload
Android app upload
 
Android programming-basics
Android programming-basicsAndroid programming-basics
Android programming-basics
 
Android - Getting started with Android
Android - Getting started with Android Android - Getting started with Android
Android - Getting started with Android
 
Intro to android (gdays)
Intro to android (gdays)Intro to android (gdays)
Intro to android (gdays)
 
Part 2 android application development 101
Part 2 android application development 101Part 2 android application development 101
Part 2 android application development 101
 
Android SDK and PhoneGap
Android SDK and PhoneGapAndroid SDK and PhoneGap
Android SDK and PhoneGap
 
yogeshmulchandaninew
yogeshmulchandaninewyogeshmulchandaninew
yogeshmulchandaninew
 
techSocAndroid1
techSocAndroid1techSocAndroid1
techSocAndroid1
 
AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...
AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...
AN IDE FOR ANDROID MOBILE PHONES WITH EXTENDED FUNCTIONALITIES USING BEST DEV...
 
Cs4hs android-01hello
Cs4hs android-01helloCs4hs android-01hello
Cs4hs android-01hello
 
Webinar on How to use MyAppConverter
Webinar on How to use  MyAppConverterWebinar on How to use  MyAppConverter
Webinar on How to use MyAppConverter
 
How to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step GuideHow to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step Guide
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 

Android hello world application tutorial #1

  • 1. Android Application Tutorial Instructed on: 17-Feb-2012 | Tutorial: #02 2  By : Yasmine Sherif Mahmoud Tutorial Code: APS-02-2012 All Copy Rights Saved to the 7th Students’ Conference on Communication and Information Based in the Faculty of Computers and 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.
  • 4.
  • 7. Fill in the Application Name Fill in the Choose it package name according to the with a unique version you three parts chose before separated by dots name
  • 8. • By now you will have created the project and you will have the following window:
  • 9. Expand this file to see this java file This is where you write your java code
  • 10. Expand this to see the Android Jar files
  • 11. Expand this to see the files concerned with the graphics and sounds of your application
  • 12. This is the main.xml file where you will have the graphical layout of the application
  • 13. That’s how the Graphical Layout looks like. You can control the application layout from there
  • 14. • Now, return to the .Java file where we will write a Hello world code.
  • 15. Write this three line code instead of the one you have
  • 16. • Before going to the next step we will create the AVD (Android Virtual Device) or the emulator on which we will test the application.
  • 17.
  • 18.
  • 19. Fill in the name of your emulator Choose the target according to the version of Fill in any size for the the application memory card you chose
  • 20. Now you will have your AVD created. Close the window after that.
  • 21. • We now have to run our application.
  • 22. Right click on the project
  • 23. You may have this window so just click ok.
  • 24. This is the AVD. It may takes up to 2 or 3 minutes to launch so patiently wait. Every version has a different emulator shape so don’t worry if you don’t have this shape.
  • 25. Drag this circle to the right to unlock
  • 26. Click this circle to go to the menu
  • 28. This is how it is going to look like 
  • 29.
  • 30. Yasmine Sherif EL-Adly @YasmineSherif91 +Yasmine Sherif EL-Adly