Your SlideShare is downloading. ×
Android App Development 01 : Getting Start
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Android App Development 01 : Getting Start

369
views

Published on

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
369
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. 1Quick StartAnuchit Chalothornanoochit@gmail.comLicensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
  • 2. About MeCurrent● Senior Software Engineer @ SIPA● Writer @ thaiopensource.org● Open Source Contributor
  • 3. Prerequisites● Java Programming Language● Database Management System● Web Service● Web Application Programming● Version Control System
  • 4. 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
  • 5. Smartphone PlatformsSmartphone platforms ● Android ● iPhone (iOS) ● Blackberry ● Windows Phone ● Tizen ● SailFish ● Firefox OS ● Ubuntu Touch
  • 6. Tablet PlatformsTablet Platforms ● iPad (iOS) ● Android Tablet ● Surface (Windows) ● Ubuntu Touch
  • 7. 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
  • 8. What is Android ?Android is a Linux-based operating systemdesigned primarily for touchscreen mobiledevices such as smartphones and tabletcomputers.
  • 9. 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
  • 10. 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
  • 11. Opportunities● Google Play● Amazon Appstore for Android● Cisco Enterprise Market● Blackberry App World● 3th party distribution channel ○ Andspot ○ Handango ○ Getjar ○ SlideMe ○ AppBrain ○ etc
  • 12. Monetize Opportunities● Paids Apps● In-App Billing● Free Apps with Ads ○ AdMob ○ AdWhirl ○ Mobclix ○ etc
  • 13. Developer Console
  • 14. APK
  • 15. Pricing and Distribution
  • 16. Device Compatibility
  • 17. User Install by Android Version
  • 18. User Install By Device
  • 19. User Install By Country
  • 20. User Install By Language
  • 21. Monetize your App with Admob
  • 22. Admob revenue chart
  • 23. Architecture Diagram
  • 24. 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
  • 25. 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
  • 26. Diagram
  • 27. DiagramSource : http://developer.android.com/about/dashboards/index.html
  • 28. Diagram
  • 29. Android Devices● Smartphone● Tablet● Smart TV● TV Box● Android Box, Android Stick● Multimedia Box● etc
  • 30. Diagram
  • 31. 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.
  • 32. Design Tools● Pencil● Fluid UI● Device Art Generator● Google Play Badge● Android Asset Studio● Font Awesome
  • 33. 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)
  • 34. 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
  • 35. Diagram
  • 36. 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
  • 37. Project structure● src● gen● assets● libs● res ○ drawable ○ layout ○ menu ○ values● AndroidManifest.xml
  • 38. Building simple UI● Play with UI designer● Put some widgets to your activity ○ Label ○ Text Editor ○ Button ○ etc● Run your app again...
  • 39. Debug ToolsPlay with debug tools● Log● DDMS
  • 40. End

×