• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Android App Development 01 : Getting Start

Android App Development 01 : Getting Start






Total Views
Views on SlideShare
Embed Views



1 Embed 24

http://www.classstart.org 24



Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    Android App Development 01 : Getting Start Android App Development 01 : Getting Start Presentation Transcript

    • 1Quick StartAnuchit Chalothornanoochit@gmail.comLicensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
    • About MeCurrent● Senior Software Engineer @ SIPA● Writer @ thaiopensource.org● Open Source Contributor
    • Prerequisites● Java Programming Language● Database Management System● Web Service● Web Application Programming● Version Control System
    • Smartphone● Mobile phone that offer more advanced computing ability, feature and connectivity● Handheld computer integrated with mobile telephone● They also provide their own operating system with application development frameworkRef: http://en.wikipedia.org/wiki/Smartphone
    • Smartphone PlatformsSmartphone platforms ● Android ● iPhone (iOS) ● Blackberry ● Windows Phone ● Tizen ● SailFish ● Firefox OS ● Ubuntu Touch
    • Tablet PlatformsTablet Platforms ● iPad (iOS) ● Android Tablet ● Surface (Windows) ● Ubuntu Touch
    • Application PlatformsPlatforms Language RemarkAndroid Java, C, C++ http://developer.android.comiOS Object-C,HTML5 http://developer.apple.comBlackberry C/C++,Java,HTML5,Air http://developer.blackberry.comWindows C# http://dev.windowsphone.com/Tizen C++ https://developer.tizen.org/SailFish C++ https://sailfishos.org/develop.htmlUbuntu Touch QML, HTML5 https://wiki.ubuntu.com/Touch
    • What is Android ?Android is a Linux-based operating systemdesigned primarily for touchscreen mobiledevices such as smartphones and tabletcomputers.
    • Why Android ?Technical advantage ● No need to pay, you can develop and test in your own device ● Open Source Platform ● Java programming language ● Rich and easy to integrate feature set ● Development environment support in Windows, Mac, Linux
    • Why Android ?Business advantage ● Google Play ○ Integrated market app ○ One time low registration fee ($25) ● Many Distribution Channel ● Low Barrier to Market ○ No approval process ○ Less restriction copyright issue
    • Opportunities● Google Play● Amazon Appstore for Android● Cisco Enterprise Market● Blackberry App World● 3th party distribution channel ○ Andspot ○ Handango ○ Getjar ○ SlideMe ○ AppBrain ○ etc
    • Monetize Opportunities● Paids Apps● In-App Billing● Free Apps with Ads ○ AdMob ○ AdWhirl ○ Mobclix ○ etc
    • Developer Console
    • APK
    • Pricing and Distribution
    • Device Compatibility
    • User Install by Android Version
    • User Install By Device
    • User Install By Country
    • User Install By Language
    • Monetize your App with Admob
    • Admob revenue chart
    • Architecture Diagram
    • Android Version● Android 1.0● Android 1.1● Android 1.5 Cupcake● Android 1.6 Donut● Android 2.0 - 2.1 Eclair● Android 2.2 - 2.2.3 Froyo● Android 2.3 - 2.3.7 Gingerbread
    • Android Version● Android 3.0 - 3.2 Honeycomb● Android 4.0 - 4.0.4 Ice Cream Sandwich● Android 4.1 Jelly Bean● Android 4.2 Jelly Bean● Android 5.0 Key Lime Pie
    • Diagram
    • DiagramSource : http://developer.android.com/about/dashboards/index.html
    • Diagram
    • Android Devices● Smartphone● Tablet● Smart TV● TV Box● Android Box, Android Stick● Multimedia Box● etc
    • Diagram
    • Developer Tools● Java SDK (6 is better)● Eclipse or ADT bundle● Android Development Toolkit (ADT)● Android SDK● Smartphone or Tablet (optional)● Install emulator images a.k.a AVD* If you want to use an emulator your machine must have at least 4GB of ram, atom image and intelhardware accelerator software.
    • Design Tools● Pencil● Fluid UI● Device Art Generator● Google Play Badge● Android Asset Studio● Font Awesome
    • 30 Minutes install software● Java SDK● Eclipse or ADT bundle● Install ADT● Install Android SDK Tools● Install Android Platform Tools● SDK Platform & Google APIs (10,17)● Install System images (Atom)● Android Support Library● Google Admob Ads SDK● Intel x86 Emulator Accelerator (HAMX)
    • Create your first App● Create new Android project...● Identify project name or application name● Identify package name usually use reverse domain name eg: com.example.appname● Select Minimum API Level● Select Target API Level● Select Compile with API Level● Theme
    • Diagram
    • Running your AppOnly 2 ways to test your application● Running on your device ○ this is better way but dont forget to install USB driver for debugging and set your device to USB debugging● Running on your emulator ○ very slow, you should accept this issue T_T
    • Project structure● src● gen● assets● libs● res ○ drawable ○ layout ○ menu ○ values● AndroidManifest.xml
    • Building simple UI● Play with UI designer● Put some widgets to your activity ○ Label ○ Text Editor ○ Button ○ etc● Run your app again...
    • Debug ToolsPlay with debug tools● Log● DDMS
    • End