SlideShare ist ein Scribd-Unternehmen logo
1 von 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.

Weitere ähnliche Inhalte

Mehr von Pantech ProLabs India Pvt Ltd

Brainsense -Introduction to brain computer interface
Brainsense -Introduction to brain computer interfaceBrainsense -Introduction to brain computer interface
Brainsense -Introduction to brain computer interfacePantech ProLabs India Pvt Ltd
 

Mehr von 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
 

Kürzlich hochgeladen

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
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.pdfPoh-Sun Goh
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
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).pptxEsquimalt MFRC
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
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.pptxDr. Sarita Anand
 
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_.pdfSherif Taha
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
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.docxRamakrishna Reddy Bijjam
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 

Kürzlich hochgeladen (20)

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
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
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
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
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
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
 
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
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 

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.