SlideShare una empresa de Scribd logo
1 de 19
HELLO ANDROID!!!
Getting Started with Android
        Software Development




Technology beyond the Dreams™   Copyright © 2006 Pantech Solutions Pvt Ltd.
SYSTEM/SOFTWARE REQUIREMENTS

     •   OS-Windows/Linux/MacOS
     •   Android SDK
     •   Eclipse IDE
     •   JDK 1.5 (minimum)
     •   At least 2 GB disk space recommended




Technology beyond the Dreams™         Copyright © 2006 Pantech Solutions Pvt Ltd.
Installing JDK and Android SDK

    • Download JDK from
      http://www.oracle.com/technetwork/java/javase/do
      wnloads/index.html
    • Download Android SDK from
      http://developer.android.com/sdk/index.html
    • Install JDK first and then install the Android SDK



Technology beyond the Dreams™          Copyright © 2006 Pantech Solutions Pvt Ltd.
ECLIPSE IDE AND ADT PLUGIN

    • Download ECLIPSE
      IDE from

       http://www.eclipse.org/
       downloads/packages/e
       clipse-ide-java-
       developers/indigosr1



Technology beyond the Dreams™    Copyright © 2006 Pantech Solutions Pvt Ltd.
ECLIPSE IDE AND ADT PLUGIN

    •   Open Eclipse IDE
    •   Install ADT plugin(Android Development Tool) for Eclipse
    •   Choose HelpInstall New Software option
    •   Click Add Button
    •    Add the Name(any) and Location as given here




Technology beyond the Dreams™                Copyright © 2006 Pantech Solutions Pvt Ltd.
SETTING UP EMULATOR

    • Open SDK Manager
    • Choose ToolsManage AVDs
    • Android Virtual Device (AVD)
    • Choose New and Enter the
      options as you prefer in the dialog
      box shown here
    • Click Create AVD



Technology beyond the Dreams™               Copyright © 2006 Pantech Solutions Pvt Ltd.
CONFIGURING ECLIPSE

    • Open System Propertries
      or use the shortcut key
      Win+Break
    • Open Advanced tab and
      click on Environment
      Variables button




Technology beyond the Dreams™   Copyright © 2006 Pantech Solutions Pvt Ltd.
CONFIGURING ECLIPSE

   • Create a new system
     variable with name Path
     and the value as the
     installation directory of jdk
     as shown here.




Technology beyond the Dreams™        Copyright © 2006 Pantech Solutions Pvt Ltd.
CONFIGURING ECLIPSE

   • In Eclipse,Choose
     WindowsPreferences
     option
   • Under the Android menu
     enter the Android SDK
     location as shown here




Technology beyond the Dreams™   Copyright © 2006 Pantech Solutions Pvt Ltd.
HELLO WORLD APPLICATION




Technology beyond the Dreams™   Copyright © 2006 Pantech Solutions Pvt Ltd.
HELLOWORLD APP

    • Open Eclipse
    • Choose
      FileNewProject
      option
    • Select Android Project
      option from Android
      menu
    • Click Next



Technology beyond the Dreams™   Copyright © 2006 Pantech Solutions Pvt Ltd.
HELLOWORLD APP

   • Enter the ProjectName in
     the typebox
   • Click Next




Technology beyond the Dreams™   Copyright © 2006 Pantech Solutions Pvt Ltd.
HELLOWORLD APP

    • Choose the desired build
      target
    • Here we chose the target
      as Android 2.2
    • Click Next




Technology beyond the Dreams™    Copyright © 2006 Pantech Solutions Pvt Ltd.
HELLOWORLD APP
    • Enter Application Name
    • Enter Package Name
    • Enter Minimum SDK
      Version
    • Click Finish
    • A new Project is created
      now
    • Note:The HelloWorld
      code is automatically
      generated by Eclipse
Technology beyond the Dreams™    Copyright © 2006 Pantech Solutions Pvt Ltd.
HELLOWORLD APP

    • Choose
      RunConfigurations
      option or Use    icon
    • DoubleClick on Android
      Application.
    • Enter a Config name and
      the Project name as
      shown here



Technology beyond the Dreams™   Copyright © 2006 Pantech Solutions Pvt Ltd.
HELLOWORLD APP

    • In Run Configurations
      Under Target tab
    • Choose the AVD and the
      target selection mode as
      Automatic (default)
    • Click Apply
    • Click Run




Technology beyond the Dreams™    Copyright © 2006 Pantech Solutions Pvt Ltd.
EMULATOR OUTPUT




Technology beyond the Dreams™   Copyright © 2006 Pantech Solutions Pvt Ltd.
Technology beyond the Dreams™   Copyright © 2006 Pantech Solutions Pvt Ltd.

Más contenido relacionado

Más de Pantech ProLabs India Pvt Ltd

Más de Pantech ProLabs India Pvt Ltd (20)

Brain Computer Interface
Brain Computer InterfaceBrain Computer Interface
Brain Computer Interface
 
Electric Vehicle Design using Matlab
Electric Vehicle Design using MatlabElectric Vehicle Design using Matlab
Electric Vehicle Design using Matlab
 
Image processing application
Image processing applicationImage processing application
Image processing application
 
Internet of Things using Raspberry Pi
Internet of Things using Raspberry PiInternet of Things using Raspberry Pi
Internet of Things using Raspberry Pi
 
Internet of Things Using Arduino
Internet of Things Using ArduinoInternet of Things Using Arduino
Internet of Things Using Arduino
 
Brain controlled robot
Brain controlled robotBrain controlled robot
Brain controlled robot
 
Brain Computer Interface-Webinar
Brain Computer Interface-WebinarBrain Computer Interface-Webinar
Brain Computer Interface-Webinar
 
Development of Deep Learning Architecture
Development of Deep Learning ArchitectureDevelopment of Deep Learning Architecture
Development of Deep Learning Architecture
 
Future of AI
Future of AIFuture of AI
Future of AI
 
Gate driver design and inductance fabrication
Gate driver design and inductance fabricationGate driver design and inductance fabrication
Gate driver design and inductance fabrication
 
Brainsense -Brain computer Interface
Brainsense -Brain computer InterfaceBrainsense -Brain computer Interface
Brainsense -Brain computer Interface
 
Median filter Implementation using TMS320C6745
Median filter Implementation using TMS320C6745Median filter Implementation using TMS320C6745
Median filter Implementation using TMS320C6745
 
Introduction to Code Composer Studio 4
Introduction to Code Composer Studio 4Introduction to Code Composer Studio 4
Introduction to Code Composer Studio 4
 
Waveform Generation Using TMS320C6745 DSP
Waveform Generation Using TMS320C6745 DSPWaveform Generation Using TMS320C6745 DSP
Waveform Generation Using TMS320C6745 DSP
 
Interfacing UART with tms320C6745
Interfacing UART with tms320C6745Interfacing UART with tms320C6745
Interfacing UART with tms320C6745
 
Switch & LED using TMS320C6745 DSP
Switch & LED using TMS320C6745 DSPSwitch & LED using TMS320C6745 DSP
Switch & LED using TMS320C6745 DSP
 
Led blinking using TMS320C6745
Led blinking using TMS320C6745Led blinking using TMS320C6745
Led blinking using TMS320C6745
 
Introduction to tms320c6745 dsp
Introduction to tms320c6745 dspIntroduction to tms320c6745 dsp
Introduction to tms320c6745 dsp
 
Brainsense -Introduction to brain computer interface
Brainsense -Introduction to brain computer interfaceBrainsense -Introduction to brain computer interface
Brainsense -Introduction to brain computer interface
 
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
 

Ú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)

Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
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
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
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
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
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_...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.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
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
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
 
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
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 

Getting started with android software development

  • 2. Getting Started with Android Software Development Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 3. SYSTEM/SOFTWARE REQUIREMENTS • OS-Windows/Linux/MacOS • Android SDK • Eclipse IDE • JDK 1.5 (minimum) • At least 2 GB disk space recommended Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 4. Installing JDK and Android SDK • Download JDK from http://www.oracle.com/technetwork/java/javase/do wnloads/index.html • Download Android SDK from http://developer.android.com/sdk/index.html • Install JDK first and then install the Android SDK Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 5. ECLIPSE IDE AND ADT PLUGIN • Download ECLIPSE IDE from http://www.eclipse.org/ downloads/packages/e clipse-ide-java- developers/indigosr1 Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 6. ECLIPSE IDE AND ADT PLUGIN • Open Eclipse IDE • Install ADT plugin(Android Development Tool) for Eclipse • Choose HelpInstall New Software option • Click Add Button • Add the Name(any) and Location as given here Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 7. SETTING UP EMULATOR • Open SDK Manager • Choose ToolsManage AVDs • Android Virtual Device (AVD) • Choose New and Enter the options as you prefer in the dialog box shown here • Click Create AVD Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 8. CONFIGURING ECLIPSE • Open System Propertries or use the shortcut key Win+Break • Open Advanced tab and click on Environment Variables button Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 9. CONFIGURING ECLIPSE • Create a new system variable with name Path and the value as the installation directory of jdk as shown here. Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 10. CONFIGURING ECLIPSE • In Eclipse,Choose WindowsPreferences option • Under the Android menu enter the Android SDK location as shown here Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 11. HELLO WORLD APPLICATION Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 12. HELLOWORLD APP • Open Eclipse • Choose FileNewProject option • Select Android Project option from Android menu • Click Next Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 13. HELLOWORLD APP • Enter the ProjectName in the typebox • Click Next Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 14. HELLOWORLD APP • Choose the desired build target • Here we chose the target as Android 2.2 • Click Next Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 15. HELLOWORLD APP • Enter Application Name • Enter Package Name • Enter Minimum SDK Version • Click Finish • A new Project is created now • Note:The HelloWorld code is automatically generated by Eclipse Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 16. HELLOWORLD APP • Choose RunConfigurations option or Use icon • DoubleClick on Android Application. • Enter a Config name and the Project name as shown here Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 17. HELLOWORLD APP • In Run Configurations Under Target tab • Choose the AVD and the target selection mode as Automatic (default) • Click Apply • Click Run Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 18. EMULATOR OUTPUT Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  • 19. Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.