200 likes | 387 Vues
INTRODUCTION TO ANDROID. Who the hell is this? Barka Fori aka Boss GDG Evangelist, Bingham University. +Barka Fori Barka Fori @221biii codemobiz.blogspot.com. WHAT IS ANDROID?.
E N D
Who the hell is this? Barka Foriaka Boss GDG Evangelist, Bingham University +Barka Fori Barka Fori @221biii codemobiz.blogspot.com
WHAT IS ANDROID? Android is a comprehensive open source mobile platform championed by Google and the Open Handset Alliance (OHA)
ANDROID and JAVA • Android applications are built with Java programming language, it is a less complex version of the Java Standard Edition (J2SE)
THE ANDROID STACK Android is made of various technologies stacked on each other.
ANDROID STACK – Linux Kernel • Open source • Portability • Security • Other Features • Memory management • Power management • Networking
ANDROID STACK – Libraries These are libraries written in C or C++ developed by the open source community aimed at providing some powerful services to the Android ecosystem. Some examples are: • SQLite • OpenGL • Webkit
ANDROID STACK – Dalvik VM The Dalvik Virtual Machine is a virtual machine designed mainly for the Android OS. It is a Stripped down version of the JVM, designed to suite the limited resources faced by mobile devices.
ANDROID STACK – Application Framework • Activity manager • Content providers • Services • Package manager
ANDROID STACK – Applications These are the applications and games that YOU as developers create, leveraging power from the lower levels of the stack. These apps are saved as .apk files meaning Android Package.
Android Application Building blocks • Activity • IntentReceiver • Services • ContentProvider • BroadcastReceiver
Activity • These are the visual components of the application
Intents • Gets notification in the Android system and triggers Activities, Services and BroadcastRecievers.
Services • Long running background tasks. Normally HTTP, FTP, etc…
Content providers • Allows sharing of data between different applications. Examples are Whatsapp, PicMixetc.
BroadcastReceiver • This is an Android component that allows you to register for an event and get notification once this event happens.