android 101 - university of texas at arlingtonheracleia.uta.edu/~sharifara/5324/android_101.pdf ·...

20
ANDROID 101 SANIKA GUPTA

Upload: others

Post on 11-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User

ANDROID 101

SANIKA GUPTA

Page 2: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User

ABOUT ME

• MS in CS (UT Arlington)

• PhD in Human Computer Interaction

• Virtual Reality

• Augmented Reality

• User Experience (UX) / User Interface (UI) Design

Page 3: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User

AGENDA

• History of Android

• Prerequisite

• Android Studio Setup

• Android components & description

• Android Development – DEMO

• Useful learning resources

• Tips

Page 4: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User

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

Page 5: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User

WHAT IS ANDROID?

• Mobile Platform

• Operating System

• Middleware

• Key applications

Page 6: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User

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

Page 7: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User

WHY ANDROID ?

Page 8: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User
Page 9: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User

JAVA

Page 10: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User

ANDROID STUDIO

Page 11: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User

ANDROID STUDIO

Page 12: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User
Page 13: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User
Page 14: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User

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.

Page 15: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User

ACTIVITY LIFE CYCLE

Page 16: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User

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

Page 17: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User
Page 18: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User

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.

Page 19: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User

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.

Page 20: ANDROID 101 - University of Texas at Arlingtonheracleia.uta.edu/~sharifara/5324/ANDROID_101.pdf · •PhD in Human Computer Interaction •Virtual Reality •Augmented Reality •User

THAT’S IT FOR TODAY!____________________________________

THANK YOU