Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
ANDROID 101
SANIKA GUPTA
ABOUT ME
• MS in CS (UT Arlington)
• PhD in Human Computer Interaction
• Virtual Reality
• Augmented Reality
• User Experience (UX) / User Interface (UI) Design
AGENDA
• History of Android
• Prerequisite
• Android Studio Setup
• Android components & description
• Android Development – DEMO
• Useful learning resources
• Tips
HISTORY
• Android is a mobile operating system developed by Google, based on the Linux
kernel and designed primarily for touchscreen mobile devices such
as smartphones and tablets.
• Initially developed by Android, Inc., which Google bought in 2005
• An April–May 2013 survey of mobile application developers found that
• 71% of developers create applications for Android
• 40% of full-time professional developers see Android as their priority target
platform
• Android has over 1.4 billion monthly active devices
WHAT IS ANDROID?
• Mobile Platform
• Operating System
• Middleware
• Key applications
ARCHITECTURE
Operating System (Linux Kernel)
Memory Mgmt Resource Mgmt Driver Mgmt Power Mgmt
Android Applications (Java/C/C++/.net)
Java LibrariesNative Libraries
(OPENGLES)
Applications Framework
WHY ANDROID ?
JAVA
ANDROID STUDIO
ANDROID STUDIO
COMPONENTS & DESCRIPTION
ACTIVITY They dictate the UI and handle the user interaction to the smart
phone screen.
SERVICE They handle background processing associated with an application.
CONTENT PROVIDERS They handle data and database management issues.
EVENT Action that occurs when UI interacts with widgets
FRAGMENTS Represents a portion of user interface in an Activity.
VIEWS UI elements that are drawn on-screen including buttons, lists forms
etc.
LAYOUTS View hierarchies that control screen format and appearance of the
views.
INTENTS Messages wiring components together.
RESOURCES External elements, such as strings, constants and drawable pictures.
MANIFEST Configuration file for the application.
ACTIVITY LIFE CYCLE
INTENT
• An Android Intent can be used to perform following 3 tasks :
1. Open another Activity or Service from the current Activity
2. Pass data between Activities and Services
3. Delegate responsibility to another application. For example, you can use Intents to
open the browser application to display a URL.
Intent can be broadly classified into 2 categories:
1. Explicit Android Intent
2. Implicit Android Intent
USEFUL LEARNING RESOURCES
• Android studio developer official site :
https://developer.android.com/training/index.html
• Thenewboston videos on YouTube:
https://www.youtube.com/watch?v=QAbQgLGKd3Y&list=PL6gx4Cwl9DGBsvRxJJOz
G4r4k_zLKrnxl
• TutorialsPoint:
https://www.tutorialspoint.com/android/android_environment_setup.htm
• Search according to your need.
TIPS
• 20 hours
• Start early
• Learn by doing
• Find the team’s sweet spot
• Whenever stuck – Search Online rigorously
• Do this project in a way you’ll be proud of.
THAT’S IT FOR TODAY!____________________________________
THANK YOU