SlideShare uma empresa Scribd logo
1 de 47
Android Software Development – The First Few Hours Coast Nerds – 15 March 2011 Image: www.android.com
What am I going to talk about? ,[object Object]
Why did I choose this platform?
What do you need to get started developing Android Applications?
How to create your first App?
Where to Next?
Things to Avoid,[object Object]
[object Object]
Built on modified version of the Linux Kernel
Android Inc. founded in 2003. Purchased by Google in 2005 as wholly owned subsidiary
The Open Handset Alliance (est. 2007) collaborated on development, release and on-going maintenance/development.
Ref http://en.wikipedia.org/wiki/Android_(operating_system),[object Object]
First Android Mobile Phone: T-Mobile G1 (or HTC Dream) Released October 2008
Android consists of Java Applications running on Java core libraries running on a Dalvic Virtual Machine. Some core libraries also written in C/++
Consists of 12 million lines of code including 3 million lines of XML, 2.8 million lines of C, 2.1 million lines of Java, and 1.75 million lines of C++.,[object Object]
Grew to 33% by Q4 2010
In February 2011 Android has reached 350,000 activations per day,[object Object]
Why did I choose this Platform? Image: www.popsiculturereviews.blogspot.com
[object Object]
Apple iPhone
Windows Phone
Symbian
Research In Motion (RIM/Blackberry)
HP WebOS (Palm)
AndroidCanalysis – Worldwide Q4 2010
[object Object],Image: http://www.esarcasm.com
[object Object],Image: windowsphonejunky.com
[object Object],Image: www.toptechviews.com
[object Object],[object Object]
Install Java Development Kit (JDK) http://www.oracle.com/technetwork/java/javase/downloads/index.html Install Eclipse for Java EE Developers* http://www.eclipse.org/downloads/ Install the Android SDK http://developer.android.com/sdk/index.html ,[object Object],* Eclipse is the most common IDE for Android Development but there are others.  See developer.android.com/guide/developing/other-ide.html
Install and configure the Android Plug-in for Eclipse (ADT) Start Eclipse, then select Help > Install New Software.... Click Add, in the top-right corner. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:  https://dl-ssl.google.com/android/eclipse/Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons). Click OK. In the Available Software dialog, select the checkbox next to Developer Tools and click Next. In the next window, you'll see a list of the tools to be downloaded. Click Next.  NOTE: Selecting all tools will take some time to download. Read and accept the license agreements, then click Finish. When the installation completes, restart Eclipse. More Details Here http://developer.android.com/sdk/eclipse-adt.html
Test Installation In Eclipse choose File -> New Project from the menu. You should see an option to create an Android Project and an Android Test Project
The SDK / AVD Manager The Android SDK is componentised allowing you to customise your development environment for your target platform The SDK Manager allows you to manage components for your specific requirements.  It is located in the sdk folder (installed at step 3) android-sdk-windowsDK Manager.exe You can also access the SDK Manager from within Eclipse by clicking on the toolbar icon as shown below AVD = Android Virtual Device
SDK Manager showing Available packages to download
SDK Manager showing installed packages
Android SDK Supported Operating Systems Windows XP (32-bit), Vista (32- or 64-bit), or Windows 7 (32- or 64-bit) Mac OS X 10.5.8 or later (x86 only) Linux (tested on Ubuntu Linux, Lucid Lynx) GNU C Library (glibc) 2.7 or later is required. On Ubuntu Linux, version 8.04 or later is required. 64-bit distributions must be capable of running 32-bit applications. For information about how to add support for 32-bit applications, see the Ubuntu Linux installation notes.
How to create your first App.  Hello World! Image:  www.jeffbots.com
[object Object],From the File Menu in Eclipse choose Create New Project The New Project Dialog will open.  Choose Android Project and click Next
Enter Project Name Choose a Target Platform (if the list of platforms are blank you will need to use the SDK Manager to install some for your PC). Enter Properties Application Name Package Name Ensure “Create Activity” is checked and enter the default Activity Name. Enter the Min SDK Version Click Next
The next screen asks about creating a test project for your application.  At this stage ignore this option and click next (… sorry to the TDD faithful!) Click Finish At this point your Hello World Application is done.  By default a simple “Hello World” app is created.
[object Object],From the Package Explorer, expand out the project folder for you app.  Application Manifest is at the root level.  Double click on it to open the dialog. The Application Manifest is the main configuration point for you app.  Here you can control versioning, register activities and security (among other things).
[object Object],From the Package Explorer, expand out the project folder for you app.  Then expand out res=>layout, then double click on main.xml. Layout resources define the layout of the various screens in your app.  A default main.xml layout is created but you can create others. You can edit the layout using the designer or switch to xml view.
[object Object],If you view the properties for the “Hello World” text box shown on the layout you will notice that the text is not hardcoded and in fact points to a string resource. You can view and edit the string resource to change the value of the text displayed. In the Package Explorer navigate to res=>values=>strings.xml You can view the string resources in a dialog view or in xml.  You will also notice that a resource has been created for the app name
[object Object]
Before you can run your app for the first time you need to create a debug configuration and also an Android Virtual Device (AVD).  An AVD is just a virtual target platform that can be used in the emulator. AVDs can be shared between apps so this may be a one-off process until you start needing more varied AVDs to work with.  ,[object Object]
[object Object],From the Run menu choose Debug Configurations… Choose “Android Application” from the list and then click on the New button at the top of the screen. Give your Debug Configuration a name and click Browse to select your app’s project
[object Object],Click on the Target tab Choose Automatic  Choose an AVD (you should see the AVD you created earlier in the list) Click Apply

Mais conteúdo relacionado

Mais procurados

I phone first app ducat
I phone first app ducatI phone first app ducat
I phone first app ducatPragati Singh
 
Mobile App Testing ScanAgile 2012
Mobile App Testing ScanAgile 2012Mobile App Testing ScanAgile 2012
Mobile App Testing ScanAgile 2012Daniel Knott
 
Android best training-in-mumbai
Android best training-in-mumbaiAndroid best training-in-mumbai
Android best training-in-mumbaivibrantuser
 
Android chapter02-setup1-sdk
Android chapter02-setup1-sdkAndroid chapter02-setup1-sdk
Android chapter02-setup1-sdkTran Le Hoan
 
Android the first app - hello world - copy
Android   the first app - hello world - copyAndroid   the first app - hello world - copy
Android the first app - hello world - copyDeepa Rani
 
Android studio installation
Android studio installationAndroid studio installation
Android studio installationPoojaBele1
 
Day: 2 Environment Setup for Android Application Development
Day: 2 Environment Setup for Android Application DevelopmentDay: 2 Environment Setup for Android Application Development
Day: 2 Environment Setup for Android Application DevelopmentAhsanul Karim
 
Day 4: Android: UI Widgets
Day 4: Android: UI WidgetsDay 4: Android: UI Widgets
Day 4: Android: UI WidgetsAhsanul Karim
 
Day 3: Getting Active Through Activities
Day 3: Getting Active Through ActivitiesDay 3: Getting Active Through Activities
Day 3: Getting Active Through ActivitiesAhsanul Karim
 
Supplement J Eclipse
Supplement J EclipseSupplement J Eclipse
Supplement J Eclipsenga
 
Ios actions and outlets
Ios actions and outletsIos actions and outlets
Ios actions and outletsveeracynixit
 

Mais procurados (20)

I phone first app ducat
I phone first app ducatI phone first app ducat
I phone first app ducat
 
Getting started with android studio
Getting started with android studioGetting started with android studio
Getting started with android studio
 
Mobile App Testing ScanAgile 2012
Mobile App Testing ScanAgile 2012Mobile App Testing ScanAgile 2012
Mobile App Testing ScanAgile 2012
 
Android best training-in-mumbai
Android best training-in-mumbaiAndroid best training-in-mumbai
Android best training-in-mumbai
 
Android development module
Android development moduleAndroid development module
Android development module
 
Android chapter02-setup1-sdk
Android chapter02-setup1-sdkAndroid chapter02-setup1-sdk
Android chapter02-setup1-sdk
 
android studio
 android studio android studio
android studio
 
Android the first app - hello world - copy
Android   the first app - hello world - copyAndroid   the first app - hello world - copy
Android the first app - hello world - copy
 
Google Android
Google AndroidGoogle Android
Google Android
 
Android wear notes
Android wear notesAndroid wear notes
Android wear notes
 
Android Applications Development
Android Applications DevelopmentAndroid Applications Development
Android Applications Development
 
Android studio installation
Android studio installationAndroid studio installation
Android studio installation
 
Training android
Training androidTraining android
Training android
 
Day: 2 Environment Setup for Android Application Development
Day: 2 Environment Setup for Android Application DevelopmentDay: 2 Environment Setup for Android Application Development
Day: 2 Environment Setup for Android Application Development
 
Day 4: Android: UI Widgets
Day 4: Android: UI WidgetsDay 4: Android: UI Widgets
Day 4: Android: UI Widgets
 
Day 3: Getting Active Through Activities
Day 3: Getting Active Through ActivitiesDay 3: Getting Active Through Activities
Day 3: Getting Active Through Activities
 
Swift
SwiftSwift
Swift
 
Testing on Android
Testing on AndroidTesting on Android
Testing on Android
 
Supplement J Eclipse
Supplement J EclipseSupplement J Eclipse
Supplement J Eclipse
 
Ios actions and outlets
Ios actions and outletsIos actions and outlets
Ios actions and outlets
 

Semelhante a Android software development – the first few hours

Android deep dive
Android deep diveAndroid deep dive
Android deep diveAnuSahniNCI
 
Industrial Training in Android Application
Industrial Training in Android ApplicationIndustrial Training in Android Application
Industrial Training in Android ApplicationArcadian Learning
 
Homework seriesandroidworkshop JUly 12th
Homework seriesandroidworkshop JUly 12thHomework seriesandroidworkshop JUly 12th
Homework seriesandroidworkshop JUly 12thRishi Kumar
 
Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studioParinita03
 
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 1Frank Pham
 
How to create android applications
How to create android applicationsHow to create android applications
How to create android applicationsTOPS Technologies
 
Android development session
Android development sessionAndroid development session
Android development sessionEsraa Ibrahim
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspectiveGunjan Kumar
 
Introduction to Android and Java.pptx
Introduction to Android and Java.pptxIntroduction to Android and Java.pptx
Introduction to Android and Java.pptxGandhiMathy6
 
Mad&pwa practical no. 1
Mad&pwa practical no. 1Mad&pwa practical no. 1
Mad&pwa practical no. 1nikshaikh786
 
Android SDK and PhoneGap
Android SDK and PhoneGapAndroid SDK and PhoneGap
Android SDK and PhoneGapDoncho Minkov
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorialkatayoon_bz
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorialEd Zel
 

Semelhante a Android software development – the first few hours (20)

Android deep dive
Android deep diveAndroid deep dive
Android deep dive
 
Industrial Training in Android Application
Industrial Training in Android ApplicationIndustrial Training in Android Application
Industrial Training in Android Application
 
Homework seriesandroidworkshop JUly 12th
Homework seriesandroidworkshop JUly 12thHomework seriesandroidworkshop JUly 12th
Homework seriesandroidworkshop JUly 12th
 
Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studio
 
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
 
Build Your First Android App
Build Your First Android AppBuild Your First Android App
Build Your First Android App
 
Android
AndroidAndroid
Android
 
How to create android applications
How to create android applicationsHow to create android applications
How to create android applications
 
Android development session
Android development sessionAndroid development session
Android development session
 
Android Basic
Android BasicAndroid Basic
Android Basic
 
Android
Android Android
Android
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspective
 
Introduction to Android and Java.pptx
Introduction to Android and Java.pptxIntroduction to Android and Java.pptx
Introduction to Android and Java.pptx
 
Mad&pwa practical no. 1
Mad&pwa practical no. 1Mad&pwa practical no. 1
Mad&pwa practical no. 1
 
Android SDK and PhoneGap
Android SDK and PhoneGapAndroid SDK and PhoneGap
Android SDK and PhoneGap
 
Android wear notes
Android wear notesAndroid wear notes
Android wear notes
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 

Último

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 

Último (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 

Android software development – the first few hours

  • 1. Android Software Development – The First Few Hours Coast Nerds – 15 March 2011 Image: www.android.com
  • 2.
  • 3. Why did I choose this platform?
  • 4. What do you need to get started developing Android Applications?
  • 5. How to create your first App?
  • 7.
  • 8.
  • 9. Built on modified version of the Linux Kernel
  • 10. Android Inc. founded in 2003. Purchased by Google in 2005 as wholly owned subsidiary
  • 11. The Open Handset Alliance (est. 2007) collaborated on development, release and on-going maintenance/development.
  • 12.
  • 13. First Android Mobile Phone: T-Mobile G1 (or HTC Dream) Released October 2008
  • 14. Android consists of Java Applications running on Java core libraries running on a Dalvic Virtual Machine. Some core libraries also written in C/++
  • 15.
  • 16. Grew to 33% by Q4 2010
  • 17.
  • 18. Why did I choose this Platform? Image: www.popsiculturereviews.blogspot.com
  • 19.
  • 23. Research In Motion (RIM/Blackberry)
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31. Install and configure the Android Plug-in for Eclipse (ADT) Start Eclipse, then select Help > Install New Software.... Click Add, in the top-right corner. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location: https://dl-ssl.google.com/android/eclipse/Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons). Click OK. In the Available Software dialog, select the checkbox next to Developer Tools and click Next. In the next window, you'll see a list of the tools to be downloaded. Click Next. NOTE: Selecting all tools will take some time to download. Read and accept the license agreements, then click Finish. When the installation completes, restart Eclipse. More Details Here http://developer.android.com/sdk/eclipse-adt.html
  • 32. Test Installation In Eclipse choose File -> New Project from the menu. You should see an option to create an Android Project and an Android Test Project
  • 33. The SDK / AVD Manager The Android SDK is componentised allowing you to customise your development environment for your target platform The SDK Manager allows you to manage components for your specific requirements. It is located in the sdk folder (installed at step 3) android-sdk-windowsDK Manager.exe You can also access the SDK Manager from within Eclipse by clicking on the toolbar icon as shown below AVD = Android Virtual Device
  • 34. SDK Manager showing Available packages to download
  • 35. SDK Manager showing installed packages
  • 36. Android SDK Supported Operating Systems Windows XP (32-bit), Vista (32- or 64-bit), or Windows 7 (32- or 64-bit) Mac OS X 10.5.8 or later (x86 only) Linux (tested on Ubuntu Linux, Lucid Lynx) GNU C Library (glibc) 2.7 or later is required. On Ubuntu Linux, version 8.04 or later is required. 64-bit distributions must be capable of running 32-bit applications. For information about how to add support for 32-bit applications, see the Ubuntu Linux installation notes.
  • 37. How to create your first App. Hello World! Image: www.jeffbots.com
  • 38.
  • 39. Enter Project Name Choose a Target Platform (if the list of platforms are blank you will need to use the SDK Manager to install some for your PC). Enter Properties Application Name Package Name Ensure “Create Activity” is checked and enter the default Activity Name. Enter the Min SDK Version Click Next
  • 40. The next screen asks about creating a test project for your application. At this stage ignore this option and click next (… sorry to the TDD faithful!) Click Finish At this point your Hello World Application is done. By default a simple “Hello World” app is created.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56. Note that you do not need to stop the debugger or close the application in any way from Eclipse.
  • 57. When finished debugging simply go back to your phone and disable the debugging features (enabled in the previous slide) then continue to disconnect your phone in the normal manor.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62. Debugging using the Dalvik Debug Monitor Service (DDMS). This is a more advanced debugging tool that give you more visibility and control over the debugging process.
  • 63. Application Design – Context, Activities and Intents. These are the main building blocks to an Android app. This is where the actual coding begins!
  • 64. More on Resources and State management. Using images and how to store app/user settings.
  • 65.
  • 66. That’s All. Image: www.blogs.eveningsun.com

Notas do Editor

  1. Software/Solution Stack – OS, Middleware + Key ApplicationsOpen Handset Alliance consists of 80 firms including Google, HTC, Dell, Intel, Motorola, Qualcomm, Texas Instruments, Samsung, LG, T-Mobile, Nvidia, and Wind River Systems.[
  2. - Dalvic Virtual Machine also Open Source. Uses different bytecode to standard Java VM. Based on the Apache implementation of Java. - In 2010 Oracle sued Google of infringing it’s Intellectual Property on several patents.- C libraries include Surface manager, SQLite and OpenGL graphics engines
  3. - Dalvic Virtual Machine also Open Source. Uses different bytecode to standard Java VM. Based on the Apache implementation of Java. - In 2010 Oracle sued Google of infringing it’s Intellectual Property on several patents.- C libraries include Surface manager, SQLite and OpenGL graphics engines
  4. Another survey by Gartner puts Symbian ahead but forecasts Android to lead by 2014.
  5. http://www.computerworld.com/s/article/9178684/Developing_for_the_iPhone_and_Android_The_pros_and_cons?taxonomyId=18&pageNumber=2http://developer.apple.com/programs/ios/
  6. Feb 2011 Nokia and Microsoft announced strategic partnership which sees Windows Phone 7 as Nokia’s primary OS.http://social.msdn.microsoft.com/Forums/en/mktplace/thread/4b727251-7089-4261-8928-1a218f96a300http://blogs.computerworld.com/16622/windows_phone_7s_achilles_heel_no_enterprise_app_deployment_toolhttp://www.zdnet.co.uk/news/mobile-apps/2010/10/21/microsoft-hints-at-windows-phone-7-enterprise-future-40090605/
  7. http://pocketnow.com/windows-phone/nokia-undertaking-two-year-plan-for-wp7-transition-symbian-gone-by-2013
  8. http://pocketnow.com/windows-phone/nokia-undertaking-two-year-plan-for-wp7-transition-symbian-gone-by-2013
  9. Eclipse for Java EE Developers contains additional plug-ins including the Java Development Tools (JDT) for eclipse as well as the Web Tools Platform (WTP)
  10. Eclipse for Java EE Developers contains additional plug-ins including the Java Development Tools (JDT) for eclipse as well as the Web Tools Platform (WTP)
  11. Eclipse for Java EE Developers contains additional plug-ins including the Java Development Tools (JDT) for eclipse as well as the Web Tools Platform (WTP)
  12. Eclipse for Java EE Developers contains additional plug-ins including the Java Development Tools (JDT) for eclipse as well as the Web Tools Platform (WTP)