Date post: | 19-Jul-2015 |
Category: |
Software |
Upload: | asset-technology-group |
View: | 49 times |
Download: | 0 times |
ANDROID DEVELOPMENT
SESSION 1 – INTRODUCTION AHMED EZZ EL - DIN
facebook.com/ahmed.e.hassan 1
SESSION CONTENT • Brief History • Android Market • Android Versions • Features of Android • Android Architecture • Android Devices • Android Development Process • Required for App Development • Getting Started with New App • Creating Android Virtual Device “AVD” • Android Application Internals • Let’s Code Android
facebook.com/ahmed.e.hassan 2
BRIEF HISTORY • Initially developed by Android Inc.
• Google backed financially and later bought in 2005. • Android was unveiled in 2007 along with the foundation of the
Open Handset Alliance [OHA].
• Since the initial release of the Android OS, there have been more than 10 versions released up until the latest version 5 lollipop.
Open Handset Alliance: is a consortium of hardware, software and telecommunication companies devoted to advancing open standards for mobile devices.
facebook.com/ahmed.e.hassan 3
facebook.com/ahmed.e.hassan 4
ANDROID VERSIONS
For brief overview and differences between android versions visit this link: Android Versions facebook.com/ahmed.e.hassan 5
• Each android release is named in alphabetical order after a dessert or sugary treat.
• API Level is an Integer value that uniquely identifies the framework API version offered by a version of the android platform.
• The framework API consist of:
• A core set of packages • A set of XML attributes for declaring a manifest file • A set of intents • The set of permissions that application request
ANDROID VERSIONS
facebook.com/ahmed.e.hassan 6
ANDROID MARKET
facebook.com/ahmed.e.hassan 7
FEATURES OF ANDROID • Storage: Android uses SQLite
• Connectivity: supports GSM/EDGE, CDMA, UMTS, Bluetooth, Wi-Fi, LTE, WIMAX
• Messaging: supports SMS/MMS
• Web Browser: chrome, opera, and almost kind of browser with JavaScript
• Media: all kind of media JPEG, MPEG
• Hardware: Camera, GPS, Bluetooth, Accelerometer sensor, digital compass
• Multi Touch • Multi Tasking
facebook.com/ahmed.e.hassan 8
ANDROID ARCHITECTURE
facebook.com/ahmed.e.hassan 9
ANDROID ARCHITECTURE • Android OS is divided into six section in five main layer:
• Application Section • Application Framework Section • Libraries Section • Android Runtime Section • Hardware Abstraction Layer • Linux Kernel Section
facebook.com/ahmed.e.hassan 10
APPLICATION SECTION • Written by JAVA Programming Language
facebook.com/ahmed.e.hassan 11
APPLICATION FRAMEWORK SECTION
• Activity Manager: Handel Application Lifecycle. • Package Manager: Hold information about application loaded in the system. • Window Manager: Handel all the application related windows. • View System: provide rich and extensible set of views that can be used to build
application. • Resource Manager: provide access to non code resources. • Content Providers: enable application to access data from another application. • Notification Manager: enables all application to display custom alert. • Location Manager: provide location information. • Telephony Manager: provide telephony events incoming/outgoing calls.
facebook.com/ahmed.e.hassan 12
LIBRARIES SECTION
• Web Kit: • Based on open source Web Kit Browser • Full CSS, JS, Ajax support
• Media Framework: • Based on packet video open core platform • Support standard video, audio formats
• SQLite: • Light-weight transactional data store • Backend for most platform data storage
facebook.com/ahmed.e.hassan 13
ANDROID RUNTIME SECTION
• Core Libraries • Core APIs for JAVA provide a powerful, yet simple and familiar
development platform. • Dalvik Virtual Machine
• Compile Java code to Dalvik Executable(dex format)
facebook.com/ahmed.e.hassan 14
LINUX KERNEL SECTION
• Android is built in Linux kernel • It does not include full set of standard Linux utilities
facebook.com/ahmed.e.hassan 15
ANDROID DEVICES
facebook.com/ahmed.e.hassan 16
ANDROID DEVELOPMENT PROCESS
SETUP
Development
Debugging & Testing
Publishing
facebook.com/ahmed.e.hassan 17
REQUIRED FOR DEVELOPMENT
Install JDK on your Machine Install Android Studio
facebook.com/ahmed.e.hassan 18
CREATE FIRST APPLICATION
facebook.com/ahmed.e.hassan 19
CREATING AVD In Android Studio > Tools > Android > AVD Manager, or click the AVD Manager icon in the toolbar
facebook.com/ahmed.e.hassan 20
INSIDE APPLICATION
facebook.com/ahmed.e.hassan 21
LETS CHANGE WORLD
LETS CODE
facebook.com/ahmed.e.hassan 22