SlideShare a Scribd company logo
Android Application Development
        Before Getting Started




                                               Ahsanul Karim
                            http://androidstream.wordpress.com
Before Proceeding Any Further
Schedule
 Total Duration: 100 hours
 Sessions Per Week: 5
 Hours Per Session: 4 hours
Days: Monday, Tuesday, Wednesday, Thursday, Friday

We’ll take 2 days off: Saturday and Friday

Course Work
Lecture: 2-3 hours
Q/A and Assignments: 1-2 hours


Tutorial Driven Approach
Weekly Assignments
Outline

 1. Get Basic Idea on Mobile and Smartphone Applications
 2. Get Basic Idea on Mobile, Smartphone & Tablet Platforms
 3. Identify the Position of Android Platform
 4. Background and History of Android
 5. Get the Idea: Why Should We Learn Android Platform
 6. Opportunities
 7. Some App Demos
 8. System Architecture
 9. Environment Setup to Kick-start
 10. Development Environment
 11. Application Structure
Mobile and Smartphone
Applications
Smart Phones
1.   A smartphone is a mobile phone that
     offers more advanced computing
     ability, Features and connectivity
     than a contemporary mobile phones. 
2.   Smartphones may be thought of as
     handheld computers integrated with a
     mobile telephone.
3.   They also provide their own Operating
     System with Application Development
     Framework

 To learn about smart phones in details:
 http://en.wikipedia.org/wiki/Smartphone

 You’ll get detailed history about how this
 technology evolved over the years
Mobile and Smartphone
Applications
Smart Phones Platforms

 Android   iPhone        BlackBerry   Palm Pre
Mobile and Smartphone
Applications
Tablet Platforms
 Android: Galaxy Tab    Apple: iPad
Overview of Application Platforms (alphabetically)
Platform     Language (s)        Remarks
Android      Java, C, C++        Open Source OS (Based on Linux)
                                 http://developer.android.com
bada         C, C++              Samsung’s mobile platform running on Linux or
                                 RealTime OS
                                 http://developer.bada.com
BlackBerry   Java, Web Apps      Java, Web Apps, Java ME compatible, extensions
                                 enable tighter integration
                                 http://na.blackberry.com/eng/developers
iOS          Objective-C, C      Requires Apple Developer Account
                                 http://developer.apple.com/iphone
MeeGo        Qt, C++, others     Intel and Nokia guided open source OS (based on
                                 Linux)
                                 http://meego.com/developers
Symbian      C, C++, Java, Qt,   OS built from the ground up for mobile devices
             Web Apps,           http://www.forum.nokia.com/symbian
             others
Overview of Application Platforms (Cont.)
Platform       Language (s)      Remarks
webOS          HTML, CSS,        Supports widget style programming (based on Linux)
               JavaScript, C     http://developer.palm.com
Windows        C#, C             .NET CF or Windows Mobile API, most devices ship
Mobile                           with Java ME compatible JVM
                                 http://developer.windowsmobile.com
Windows        C#, VB.NET        Silverlight, XNA Frameworks
Phone                            http://create.msdn.com


 Source: http://mobileplatforms.wikidot.com/
Application Platforms
Why Android
Why Android (Cont.)
Why Android (Cont.)
Why Android (Cont.)
Why Android: Google TV
Why Android: Finally BlackBerry Gives In
Open Handset Alliance (Nov 2007)
  Manufacturers: Designing the Android Handsets




Content Providers: Developing Apps         Mobile Operators



                                          Markets: Distribution
Why Android (Cont.)
Technical Advantages
   No need to pay for any developer’s program to develop and test apps in real
        devices

   Open source platform with scope of more innovation
        (Less proprietary restrictions)

   Java programming language

   Rich and easy to integrate feature sets

   Easy, effective and cost-effective prototyping for research and business

   Development Environment Support in Windows, Mac & Linux (Ubuntu)


           Imagination is the Limit
Why Android (Cont.)
Business Advantages
     Google Play:
        Integrated market app
        One time low registration fee

     Many Distribution Channels:
        (We’ll see next)

     Low Barrier to Market:
        No approval process
        Less restrictions with copyright issues
Why Android (Cont.)
Opportunities
   Google Play: (http://market.android.com)
    Integrated Android Market Application in phones can ensure your reach to
    millions of users without any approval process.
   Amazon Appstore for Android:
        http://www.amazon.com/mobile-apps/b?ie=UTF8&node=2350149011
   Enterprise Market:
    https://marketplace.cisco.com/


   3rd Party Distribution Channels :
 7.Andspot 2. Handango 3. GetJar 4. SlideMe        5.AndAppStore
 6. AndroLib 7. AppBrain and many more…
Why Android (Cont.)
Opportunities
   Android Market: (1) Analytics to help decision making
Why Android (Cont.)
Opportunities
   Google Play: (2) Crash log to support bug fixes
Why Android (Cont.)
Opportunities
   Google Play: (3) Requirements
Why Android (Cont.)
Opportunities
   Amazon Appstore for Android:
Why Android (Cont.)
Opportunities
   Enterprise Market:




                $   $ $   $   $   $   $
Why Android (Cont.)
Monetization Opportunities
     Paid Apps $ $ $ $ $ $ $
     In-App Billing
     Free Apps with Ads
        AdMob
        AdWhirl
        Mobclix and many more
Why Android (Cont.)
Game Development Opportunities
Case Study: AhhhPah http://ahhhpah.com/




                     Development Time: 8 hours
                     Downloads: millions

 Simplified Game frameworks
  1. Libgdx:       http://code.google.com/p/libgdx/
  2. AndEngine: http://www.andengine.org/
  3. Unity3d:     http://unity3d.com/
Why Android (Cont.)
Some Interesting Apps
        Shazam
        Hear a song you don't know?       INSTALLS:10,000,000 - 50,000,000
        Shazam identifies it instantly.
Why Android (Cont.)
Some Interesting Apps

      Guitar : Solo Lite   INSTALLS:10,000,000 - 50,000,000
Why Android (Cont.)
My Story

      ProTranslate     INSTALLS: 50,000 - 100,000
                       It gave us Google’s Device Seeding Program Award
Features:
2. Support for wide range of
    languages
3. Share translated text
    (Email,SMS,twitter,facebook)
    Pronounciation and speech
    output
4. Website translation
    Document translation and
    share via email
5. Auto-prompt to translate SMS
    received
6. Optimized for all Android
    devices
Why Android (Cont.)
My Story

     ProTranslate
Why Android (Cont.)
Research Opportunities
Easy Prototyping of any idea is possible in Android. Some of the advanced
research based projects are prototyped in Android.
 Computer Vision
 MINDdroidCV(
 http://www.jataka.hu/rics/nxt_android_opencv/index.html)
Why Android (Cont.)
Research Opportunities
Easy Prototyping of any idea is possible in Android. Some of the advanced
research based projects are prototyped in Android.
 mHealth
 eMOCA (www.emocha.org)
 Developed by the 
 Johns Hopkins Center for Clinical Global Health Education
 ,
 eMOCHA uses video, audio,
 touchscreen quizzes, GPS and
 SMS to collect and analyze large
 amounts of data.
Why Android (Cont.)
Research Opportunities
Easy Prototyping of any idea is possible in Android. Some of the advanced
research based projects are prototyped in Android.
 mHealth
 ClickDiagnostics
 http://clickdiagnostics.com/

 Developed by ClickDiagnostics,
 uses video, audio, touchscreen
 Quizzes to upload data to server
 to reach the consultants.
Why Android (Cont.)
Research Opportunities
mHealth




           Clinical diagnosis + Data acquisition
Why Android (Cont.)
Research Opportunities
Android + Arduino = Innovation Unlimited
Arduino (http://www.arduino.cc/)
 1. Arduino is an open-source electronics prototyping platform
 2.  can sense the environment by receiving input from a variety of sensors and can affect its
    surroundings by controlling lights, motors, and other actuators.

                                              http://arduino.cc/blog/2011/10/12/android-ope
Why Android (Cont.)
Research Opportunities
Android in Disaster Management
       A Mobile Disaster Management System Using the Android Technology
       http://www.naun.org/journals/communications/19-280.pdf

Implementation of an Android based disaster management system
http://www.bcdph.com/download/android.pdf

       Android Incident Reporting for SAHANA Disaster Management System
       http://code.google.com/p/sahana-incident-reporter/
Why Android (Cont.)
Application Development Opportunities
Augmented Reality




Some more: http://techsplurge.com/3214/mega-list-33-awesome-augmented-reality-apps-games-android/

Real World Environment+ Sound, Video, Graphics data generated by systems= AR
Cross-platform Development
1. RhoMobile      http://rhomobile.com/




2. Appcelerator    http://www.appcelerator.com/




 3. PhoneGap       http://www.phonegap.com/
Resources: Android Developers’ Site
http://developer.android.com
 1.   Tutorials & Design Guidelines
 2.   SDK References
 3.   Articles on Pragmatic & Good Practices
 4.   & anything you’ll need including Google IO Videos
Resources: Open Source Projects
1.   http://code.google.com/p/apps-for-android/
2.   http://en.wikipedia.org/wiki/List_of_open_source_Android_applications
Questions?

More Related Content

Day 1 Android: Before Getting Started

  • 1. Android Application Development Before Getting Started Ahsanul Karim http://androidstream.wordpress.com
  • 2. Before Proceeding Any Further Schedule Total Duration: 100 hours Sessions Per Week: 5 Hours Per Session: 4 hours Days: Monday, Tuesday, Wednesday, Thursday, Friday We’ll take 2 days off: Saturday and Friday Course Work Lecture: 2-3 hours Q/A and Assignments: 1-2 hours Tutorial Driven Approach Weekly Assignments
  • 3. Outline 1. Get Basic Idea on Mobile and Smartphone Applications 2. Get Basic Idea on Mobile, Smartphone & Tablet Platforms 3. Identify the Position of Android Platform 4. Background and History of Android 5. Get the Idea: Why Should We Learn Android Platform 6. Opportunities 7. Some App Demos 8. System Architecture 9. Environment Setup to Kick-start 10. Development Environment 11. Application Structure
  • 4. Mobile and Smartphone Applications Smart Phones 1. A smartphone is a mobile phone that offers more advanced computing ability, Features and connectivity than a contemporary mobile phones.  2. Smartphones may be thought of as handheld computers integrated with a mobile telephone. 3. They also provide their own Operating System with Application Development Framework To learn about smart phones in details: http://en.wikipedia.org/wiki/Smartphone You’ll get detailed history about how this technology evolved over the years
  • 5. Mobile and Smartphone Applications Smart Phones Platforms Android iPhone BlackBerry Palm Pre
  • 6. Mobile and Smartphone Applications Tablet Platforms Android: Galaxy Tab Apple: iPad
  • 7. Overview of Application Platforms (alphabetically) Platform Language (s) Remarks Android Java, C, C++ Open Source OS (Based on Linux) http://developer.android.com bada C, C++ Samsung’s mobile platform running on Linux or RealTime OS http://developer.bada.com BlackBerry Java, Web Apps Java, Web Apps, Java ME compatible, extensions enable tighter integration http://na.blackberry.com/eng/developers iOS Objective-C, C Requires Apple Developer Account http://developer.apple.com/iphone MeeGo Qt, C++, others Intel and Nokia guided open source OS (based on Linux) http://meego.com/developers Symbian C, C++, Java, Qt, OS built from the ground up for mobile devices Web Apps, http://www.forum.nokia.com/symbian others
  • 8. Overview of Application Platforms (Cont.) Platform Language (s) Remarks webOS HTML, CSS, Supports widget style programming (based on Linux) JavaScript, C http://developer.palm.com Windows C#, C .NET CF or Windows Mobile API, most devices ship Mobile with Java ME compatible JVM http://developer.windowsmobile.com Windows C#, VB.NET Silverlight, XNA Frameworks Phone http://create.msdn.com Source: http://mobileplatforms.wikidot.com/
  • 15. Why Android: Finally BlackBerry Gives In
  • 16. Open Handset Alliance (Nov 2007) Manufacturers: Designing the Android Handsets Content Providers: Developing Apps Mobile Operators Markets: Distribution
  • 17. Why Android (Cont.) Technical Advantages No need to pay for any developer’s program to develop and test apps in real devices Open source platform with scope of more innovation (Less proprietary restrictions) Java programming language Rich and easy to integrate feature sets Easy, effective and cost-effective prototyping for research and business Development Environment Support in Windows, Mac & Linux (Ubuntu) Imagination is the Limit
  • 18. Why Android (Cont.) Business Advantages Google Play: Integrated market app One time low registration fee Many Distribution Channels: (We’ll see next) Low Barrier to Market: No approval process Less restrictions with copyright issues
  • 19. Why Android (Cont.) Opportunities Google Play: (http://market.android.com) Integrated Android Market Application in phones can ensure your reach to millions of users without any approval process. Amazon Appstore for Android: http://www.amazon.com/mobile-apps/b?ie=UTF8&node=2350149011 Enterprise Market: https://marketplace.cisco.com/ 3rd Party Distribution Channels : 7.Andspot 2. Handango 3. GetJar 4. SlideMe 5.AndAppStore 6. AndroLib 7. AppBrain and many more…
  • 20. Why Android (Cont.) Opportunities Android Market: (1) Analytics to help decision making
  • 21. Why Android (Cont.) Opportunities Google Play: (2) Crash log to support bug fixes
  • 22. Why Android (Cont.) Opportunities Google Play: (3) Requirements
  • 23. Why Android (Cont.) Opportunities Amazon Appstore for Android:
  • 24. Why Android (Cont.) Opportunities Enterprise Market: $ $ $ $ $ $ $
  • 25. Why Android (Cont.) Monetization Opportunities Paid Apps $ $ $ $ $ $ $ In-App Billing Free Apps with Ads AdMob AdWhirl Mobclix and many more
  • 26. Why Android (Cont.) Game Development Opportunities Case Study: AhhhPah http://ahhhpah.com/ Development Time: 8 hours Downloads: millions Simplified Game frameworks 1. Libgdx: http://code.google.com/p/libgdx/ 2. AndEngine: http://www.andengine.org/ 3. Unity3d: http://unity3d.com/
  • 27. Why Android (Cont.) Some Interesting Apps Shazam Hear a song you don't know? INSTALLS:10,000,000 - 50,000,000 Shazam identifies it instantly.
  • 28. Why Android (Cont.) Some Interesting Apps Guitar : Solo Lite INSTALLS:10,000,000 - 50,000,000
  • 29. Why Android (Cont.) My Story ProTranslate INSTALLS: 50,000 - 100,000 It gave us Google’s Device Seeding Program Award Features: 2. Support for wide range of languages 3. Share translated text (Email,SMS,twitter,facebook) Pronounciation and speech output 4. Website translation Document translation and share via email 5. Auto-prompt to translate SMS received 6. Optimized for all Android devices
  • 30. Why Android (Cont.) My Story ProTranslate
  • 31. Why Android (Cont.) Research Opportunities Easy Prototyping of any idea is possible in Android. Some of the advanced research based projects are prototyped in Android. Computer Vision MINDdroidCV( http://www.jataka.hu/rics/nxt_android_opencv/index.html)
  • 32. Why Android (Cont.) Research Opportunities Easy Prototyping of any idea is possible in Android. Some of the advanced research based projects are prototyped in Android. mHealth eMOCA (www.emocha.org) Developed by the  Johns Hopkins Center for Clinical Global Health Education , eMOCHA uses video, audio, touchscreen quizzes, GPS and SMS to collect and analyze large amounts of data.
  • 33. Why Android (Cont.) Research Opportunities Easy Prototyping of any idea is possible in Android. Some of the advanced research based projects are prototyped in Android. mHealth ClickDiagnostics http://clickdiagnostics.com/ Developed by ClickDiagnostics, uses video, audio, touchscreen Quizzes to upload data to server to reach the consultants.
  • 34. Why Android (Cont.) Research Opportunities mHealth Clinical diagnosis + Data acquisition
  • 35. Why Android (Cont.) Research Opportunities Android + Arduino = Innovation Unlimited Arduino (http://www.arduino.cc/) 1. Arduino is an open-source electronics prototyping platform 2.  can sense the environment by receiving input from a variety of sensors and can affect its surroundings by controlling lights, motors, and other actuators. http://arduino.cc/blog/2011/10/12/android-ope
  • 36. Why Android (Cont.) Research Opportunities Android in Disaster Management A Mobile Disaster Management System Using the Android Technology http://www.naun.org/journals/communications/19-280.pdf Implementation of an Android based disaster management system http://www.bcdph.com/download/android.pdf Android Incident Reporting for SAHANA Disaster Management System http://code.google.com/p/sahana-incident-reporter/
  • 37. Why Android (Cont.) Application Development Opportunities Augmented Reality Some more: http://techsplurge.com/3214/mega-list-33-awesome-augmented-reality-apps-games-android/ Real World Environment+ Sound, Video, Graphics data generated by systems= AR
  • 38. Cross-platform Development 1. RhoMobile http://rhomobile.com/ 2. Appcelerator http://www.appcelerator.com/ 3. PhoneGap http://www.phonegap.com/
  • 39. Resources: Android Developers’ Site http://developer.android.com 1. Tutorials & Design Guidelines 2. SDK References 3. Articles on Pragmatic & Good Practices 4. & anything you’ll need including Google IO Videos
  • 40. Resources: Open Source Projects 1. http://code.google.com/p/apps-for-android/ 2. http://en.wikipedia.org/wiki/List_of_open_source_Android_applications