#gsa2012 Android Basics By: Amr Mohsen
#gsa2012 What does this thing mean?! What makes Android Special? Android Fundamentals Android Components How to build a Simple App? Welcome to Activity Agenda Android Club (Day Two) 6
#gsa2012 Android is: smart mobile devices that are more aware of its owner's location and preferences. Linux based operating system designed primarily for touch screen mobile devices (phones & tablets) Initially developed by Open Handset Alliance (OHA) Inc. Google acquired Android Inc. to make it a wholly owned subsidiary of it in 2005 Unlived in 2007
#gsa2012 What makes Android Special? Open Source Fast and easy application development Has a large community of developers written primarily in a customized version of java component-based architecture Automatic management of the application life cycle Google technologies inside it (HOW)?!
#gsa2012 Android Anatomy
#gsa2012 Android Fundamentals The Android OS is a multi user Linux system Each application is a different user Each application has its own virtual machine (VM) An application runs in isolation from other applications. The Android OS implements the “ Principle of Least privilege ” SECURITY Each application, by default, has access only to the components that it requires to do its work and no mooooooooooooooore.
#gsa2012 Android Components ActivityService Broadcast Receiver Content Provider Android OS
#gsa2012 Android Components Activity represent a screen with a User Interface Service runs in the background to perform long running operations Content Provider manages a shared set of data, useful for reading and writing data that is private to your application and not shared Broadcast Receiver is a component that responds to system-wide broadcast announcements
#gsa2012 Android Components How do you know that the battery is low?!!! How do you add, remove, modify or view your contacts? How do you browse the web, chat with your FB friends during listening to your favorite music? How do you know that someone is calling you? How do you know that the battery is low?!!! How do you add, remove, modify or view your contacts? How do you browse the web, chat with your FB friends during listening to your favorite music? How do you know that someone is calling you? Which one is the Service ? Which one is the Activity? Which one is the Service ? Which one is the Activity?
#gsa2012 How to Build a Simple Application? What should I do first Download JDK (Java Development kit) Download Android SDK from Android developer Download and open Eclipse (Java IDE) Add the ADT (Android plugin) to Eclipse COOOOOOOODE!!!!! Now, lets close this boring presentation and get into work :D
#gsa2012 The Activity Life Cycle
#gsa2012 Any Questions?
#gsa2012 Thank You