SlideShare a Scribd company logo
Welcome !
Android Workshop
&
Motivation
Senthil ACS
Welcome All !
Three Things
Engineering
Android
JOB !!! 
What is Engineering?
“It is an art of making things
that benefit people”
Engineering
Innovative & Creative
Design
Develop
Deliver
Maintain Quality
Self Motivation – Most important
Why Self Motivation?
Motivation drives your growth
Beneficiaries – You and your organization
Today’s Motivation – Android
Helps you get a job !
Don’t Ignore
Theoretical Knowledge – Very Important
Mathematics
Data Structures & Algorithms
C Language, OOP
Engineering Ethics
What is Android?
No!
It is NOT an
Operating System !
What is Android?
An open source software stack build on top of Linux
Layered Architecture like any typical Operating System
Android_Workshop
Android Development
Third party app development
Our agenda
Ability to monetize apps
http://developer.android.com
Native Platform development
Mobile Phone makers (HTC, Samsung, Motorola)
Genuine geeks
Cannot monetize
http://source.android.com
Android Development
Languages in Android
Java
C, C++
Hybrid using JNI [Java Native Interface]
Android SDK
Started – Cupcake (1.5)
Current – Kit Kat(4.4.2)
Specialty – Works on low memory models
Your requirements
Windows/Linux/Mac
Android SDK – Free from http://developer.android.com
Writing an Exam
I do…
Listen when the bell rings to Start, Stop
Think of the answer
Write the answer
Remember that I have written the answer
Android Correlation
Listen when the bell rings to Start, Stop
Broadcast Receivers
Think of the answer
Services
Write the answer
Activity
Remember that I have written the answer
Storage
Android SDK
It is a ZIP file ~ 500 MB
Extract it to some location
Open <SDK>eclipseeclipse.exe
Opens up ADT (Android Development Tools)
Simple Application
Use Android ADT
File -> New-> Android Application Project
Provide App Name
Finish
You are DONE !!
App Components
Source
Resources
Drawables (various screen sizes)
Layout (various screen sizes)
Strings (various languages)
Manifest
Contains all activities, services, providers, receivers,
permissions required by the application
Concepts Revisited..
UI (Activity)
Background Worker (Service)
App Storage (Shared Prefs, Internal/External Storage,
Content Providers)
Change Listeners (Broadcast Receiver)
Android Activity
Foreground concept
A UI window containing various views (Button,
TextView, Label etc) – Similar to Java Swings
View elements may listen for user actions
An application can have various activities
One can start another (Opening one window from
another window) – Using startActivity(intent)
Launcher Activity
The activity that shows up when the app is launched
Manifest changes
<activity android:name=".ExampleActivity"
android:icon="@drawable/app_icon">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Activity Lifecycle
Activity Lifecycle
Services
To run in background & no UI
Types - Started Services, Bound Services
Started Services
Owned by the application
Typically started by an activity
Bound Services
Owned by the application
Shared by others – Binder
Invoking a Service
startService()
Code to start a service
Intent intent = new Intent(this, HelloService.class);
startService(intent);
onStartCommand()
bindService()
onBind()
Requires an Intent action/Service class name
Started Service
Intent Service
Offloads to a Worker Thread
Provides a Work Queue
Stops the service once work is done
Less code
Normal Service
Manually create background thread
Multi threaded work
More code
Service Lifecycle
Application Storage
Shared Preferences
User’s settings
Key-Value Pairs
Internal Storage
App’s private data
Cannot be accessed by other apps
External Storage
Public data
Typically sdcard
Content Providers
http://, ftp://, smtp://, isbn://
Content is categorized and is provided access
Content Providers
content://
SQLite databases
Efficient data access
Can be accessed by other apps (Controllable)
Example: content://com.android.contacts/friends
Content Providers
Contacts
Browser History
SMS Inbox
Images
Songs
Videos
Broadcast Receivers
Hey Friend! Inform us when the results are out!!
Above statement – Registration
You – Listener
Your Friend – Broadcaster
“When the results are out” – Intent
Broadcast Receivers
Register for event notifications
Signal Change Notification
On boot complete Notification
Battery Notification
Location Change Notification
Etc…
Communicate results from one app to other/others
Broadcast Receivers
Registration
Permanent
Register in Manifest
Example: onBootComplete
On/Off
Register/Unregister when required
Example: Location Change Notification
Intent & Intent Filter
Intent – The intention behind doing something
Pass Data - Used in Services example
Intent Filter – What are my intentions?
What to listen for - Used in Broadcast receivers
Android Permissions
Declared in Manifest
Required if your app uses Android sensitive infrastructure
Read/Write contacts
Read Network State
Read/Write External Storage (App Storage)
OnBootComplete
Etc…
We are done!!!
Benefits of learning Android
Massive market share (>80%) of global smartphone
share.
Samsung, Motorola, Sony, LG, HTC are major players
Play Store – 1 million apps
Get a fundoo job
Monetize your application
IT Slow Down
Not really
IT slow down – Services Company
Outsourcing problems
Indian Rupee depreciation
Product Companies still doing good
JOB !!!
Show your marks and answer simple Questions
Learn Android + One app in PlayStore
Data Structures + Algorithms + 1 Mobile Platform
JOB !!!
Show your marks and answer simple questions – Indian
Services Companies
Infosys, Wipro, HCL, CTS, TCS
Android – Good Product Companies
Zomato, Zynga, SAP, Ericsson
Data Structures + Algorithms + 1 Mobile Platform –
Premium Product Companies
Google, Yahoo, Microsoft, Akamai
What Now !!!
Students
Pick up Android SDK and use the developer link to kick start
Develop small apps and relish 
Find an idea, develop it and put it in playstore.
25$ to put in PlayStore
What Now !!!
College
Get a Google Play Store account
Motivate students to develop more mobile apps
Let the students place their apps after thorough review
Benefits
Better job opportunities for students
Better brand image for the college
Increased technological competency
Android_Workshop
Thank You !!!

More Related Content

PPT
Android_ver_01
PPTX
Publishing and delivery of mobile application ios
PDF
Mobile Software Engineering Crash Course - C07 Frameworks and Conclusion
DOC
Arunkarthick_iOS_CV (4)
PPTX
CSE Final Year Project Presentation on Android Application
PPTX
Architecting mobile application
PPTX
Mobile Accessibility - How To Become Socially Responsible Mobile Developer
PPT
Sogeti - Android tech track presentation - 24 february 2011
Android_ver_01
Publishing and delivery of mobile application ios
Mobile Software Engineering Crash Course - C07 Frameworks and Conclusion
Arunkarthick_iOS_CV (4)
CSE Final Year Project Presentation on Android Application
Architecting mobile application
Mobile Accessibility - How To Become Socially Responsible Mobile Developer
Sogeti - Android tech track presentation - 24 february 2011

What's hot (20)

PPTX
PPT on Android Applications
PPT
Day 3: Getting Active Through Activities
KEY
Life Cycle of an iPhone App
PPTX
Project presentation -chady abidi
PPTX
BHAGWANT UNIVERSITY
PPTX
FYP Presentation On Android based Google Map Application
PPT
Android ppt
PDF
DEVELOPING CUSTOM APPS USING DYNAMIC XML PARSING
PPTX
Achieving quality contraints
PDF
Process of iOS App Development
PPTX
Android application project presentation.
DOC
Pravin Agrawal
DOC
iOS Developer
PDF
IOS vs Android Apps
PPTX
Presentation
PPTX
Lecture #1 Creating your first android project
PPTX
iOS Developer Interview Questions
PDF
Gitansh_Gupta_Resume
PPTX
Android technlogy
PPTX
Android app developer in india
PPT on Android Applications
Day 3: Getting Active Through Activities
Life Cycle of an iPhone App
Project presentation -chady abidi
BHAGWANT UNIVERSITY
FYP Presentation On Android based Google Map Application
Android ppt
DEVELOPING CUSTOM APPS USING DYNAMIC XML PARSING
Achieving quality contraints
Process of iOS App Development
Android application project presentation.
Pravin Agrawal
iOS Developer
IOS vs Android Apps
Presentation
Lecture #1 Creating your first android project
iOS Developer Interview Questions
Gitansh_Gupta_Resume
Android technlogy
Android app developer in india
Ad

Viewers also liked (10)

PDF
mFriday Web Gathering Presentation
PPTX
Portalegre
PPTX
Using Time Domain Reflectometry (TDR) to Monitor the Geophysical Properties o...
PPTX
Evaluation Question 1
DOC
SAMIR JAHAGIRDAR
PPTX
British soldier
PDF
RADIOLOGICAL SAFETY PRACTICES EXPERIENCED IN HANDLING OF RADIOACTIVE SOURCE D...
PPT
Факторы тревожности у детей
PDF
Earth station and satellite antenna
PPTX
Solid Waste Management
mFriday Web Gathering Presentation
Portalegre
Using Time Domain Reflectometry (TDR) to Monitor the Geophysical Properties o...
Evaluation Question 1
SAMIR JAHAGIRDAR
British soldier
RADIOLOGICAL SAFETY PRACTICES EXPERIENCED IN HANDLING OF RADIOACTIVE SOURCE D...
Факторы тревожности у детей
Earth station and satellite antenna
Solid Waste Management
Ad

Similar to Android_Workshop (20)

PDF
Androidoscon20080721 1216843094441821-9
PDF
Androidoscon20080721 1216843094441821-9
PPTX
Seminar on android app development
PDF
Marakana android-java developers
PPTX
Android101 - Intro and Basics
PPT
Introduction to Android Development
PDF
Android development first steps
PPTX
Android OS & SDK - Getting Started
PPTX
Android Framework
RTF
Android_Course_Content
PPS
Getting Started With Android
PPT
android-tutorial-for-beginner
PPTX
Android quick talk
PPTX
Android beginners David
PPTX
Android 101 Session @thejunction32
PDF
Android Jumpstart Jfokus
PPTX
Technology and Android.pptx
PPTX
Dori waldman android _course_2
PPT
A Noob’S Guide To Android Application Development
PDF
Getting Started with Android - OSSPAC 2009
Androidoscon20080721 1216843094441821-9
Androidoscon20080721 1216843094441821-9
Seminar on android app development
Marakana android-java developers
Android101 - Intro and Basics
Introduction to Android Development
Android development first steps
Android OS & SDK - Getting Started
Android Framework
Android_Course_Content
Getting Started With Android
android-tutorial-for-beginner
Android quick talk
Android beginners David
Android 101 Session @thejunction32
Android Jumpstart Jfokus
Technology and Android.pptx
Dori waldman android _course_2
A Noob’S Guide To Android Application Development
Getting Started with Android - OSSPAC 2009

Android_Workshop