2. About Me
Current
β 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
framework
Ref: http://en.wikipedia.org/wiki/Smartphone
7. Application Platforms
Platforms Language Remark
Android Java, C, C++ http://developer.android.com
iOS Object-C,HTML5 http://developer.apple.com
Blackberry C/C++,Java,HTML5,Air http://developer.blackberry.com
Windows C# http://dev.windowsphone.com/
Tizen C++ https://developer.tizen.org/
SailFish C++ https://sailfishos.org/develop.html
Ubuntu Touch QML, HTML5 https://wiki.ubuntu.com/Touch
8. What is Android ?
Android is a Linux-based operating system
designed primarily for touchscreen mobile
devices such as smartphones and tablet
computers.
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
33. 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 intel
hardware accelerator software.
34. Design Tools
β Pencil
β Fluid UI
β Device Art Generator
β Google Play Badge
β Android Asset Studio
β Font Awesome
35. 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)
36.
37.
38. 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
42. Running your App
Only 2 ways to test your application
β Running on your device
β this is better way but don't 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
43.
44. Project structure
β src
β gen
β assets
β libs
β res
β drawable
β layout
β menu
β values
β AndroidManifest.xml
45. Building simple UI
β Play with UI designer
β Put some widgets to your activity
β Label
β Text Editor
β Button
β etc
β Run your app again...