SlideShare ist ein Scribd-Unternehmen logo
1 von 48
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 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
Thank You !!!

Weitere ähnliche Inhalte

Was ist angesagt?

Day 3: Getting Active Through Activities
Day 3: Getting Active Through ActivitiesDay 3: Getting Active Through Activities
Day 3: Getting Active Through Activities
Ahsanul Karim
 
BHAGWANT UNIVERSITY
BHAGWANT UNIVERSITYBHAGWANT UNIVERSITY
BHAGWANT UNIVERSITY
Suraj Singh
 
Gitansh_Gupta_Resume
Gitansh_Gupta_ResumeGitansh_Gupta_Resume
Gitansh_Gupta_Resume
Gitansh Gupta
 

Was ist angesagt? (20)

PPT on Android Applications
PPT on Android ApplicationsPPT on Android Applications
PPT on Android Applications
 
Day 3: Getting Active Through Activities
Day 3: Getting Active Through ActivitiesDay 3: Getting Active Through Activities
Day 3: Getting Active Through Activities
 
Life Cycle of an iPhone App
Life Cycle of an iPhone AppLife Cycle of an iPhone App
Life Cycle of an iPhone App
 
Project presentation -chady abidi
Project presentation -chady abidiProject presentation -chady abidi
Project presentation -chady abidi
 
BHAGWANT UNIVERSITY
BHAGWANT UNIVERSITYBHAGWANT UNIVERSITY
BHAGWANT UNIVERSITY
 
FYP Presentation On Android based Google Map Application
FYP Presentation On Android based Google Map ApplicationFYP Presentation On Android based Google Map Application
FYP Presentation On Android based Google Map Application
 
Android ppt
Android pptAndroid ppt
Android ppt
 
DEVELOPING CUSTOM APPS USING DYNAMIC XML PARSING
DEVELOPING CUSTOM APPS USING DYNAMIC XML PARSINGDEVELOPING CUSTOM APPS USING DYNAMIC XML PARSING
DEVELOPING CUSTOM APPS USING DYNAMIC XML PARSING
 
Achieving quality contraints
Achieving quality contraintsAchieving quality contraints
Achieving quality contraints
 
Process of iOS App Development
Process of iOS App DevelopmentProcess of iOS App Development
Process of iOS App Development
 
Android application project presentation.
Android application project presentation.Android application project presentation.
Android application project presentation.
 
Pravin Agrawal
Pravin AgrawalPravin Agrawal
Pravin Agrawal
 
iOS Developer
iOS DeveloperiOS Developer
iOS Developer
 
IOS vs Android Apps
IOS vs Android AppsIOS vs Android Apps
IOS vs Android Apps
 
Presentation
PresentationPresentation
Presentation
 
Lecture #1 Creating your first android project
Lecture #1  Creating your first android projectLecture #1  Creating your first android project
Lecture #1 Creating your first android project
 
iOS Developer Interview Questions
iOS Developer Interview QuestionsiOS Developer Interview Questions
iOS Developer Interview Questions
 
Gitansh_Gupta_Resume
Gitansh_Gupta_ResumeGitansh_Gupta_Resume
Gitansh_Gupta_Resume
 
Android technlogy
Android technlogyAndroid technlogy
Android technlogy
 
Android app developer in india
Android app developer in indiaAndroid app developer in india
Android app developer in india
 

Andere mochten auch

mFriday Web Gathering Presentation
mFriday Web Gathering PresentationmFriday Web Gathering Presentation
mFriday Web Gathering Presentation
Web Gathering
 
RADIOLOGICAL SAFETY PRACTICES EXPERIENCED IN HANDLING OF RADIOACTIVE SOURCE D...
RADIOLOGICAL SAFETY PRACTICES EXPERIENCED IN HANDLING OF RADIOACTIVE SOURCE D...RADIOLOGICAL SAFETY PRACTICES EXPERIENCED IN HANDLING OF RADIOACTIVE SOURCE D...
RADIOLOGICAL SAFETY PRACTICES EXPERIENCED IN HANDLING OF RADIOACTIVE SOURCE D...
IAEME Publication
 

Andere mochten auch (10)

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

Ähnlich wie Android_Workshop

Day: 1 Introduction to Mobile Application Development (in Android)
Day: 1 Introduction to Mobile Application Development (in Android)Day: 1 Introduction to Mobile Application Development (in Android)
Day: 1 Introduction to Mobile Application Development (in Android)
Ahsanul Karim
 
Android Workshop Presentation
Android Workshop PresentationAndroid Workshop Presentation
Android Workshop Presentation
NAILBITER
 
Mobile next 2013 petru jucovschi
Mobile next 2013   petru jucovschiMobile next 2013   petru jucovschi
Mobile next 2013 petru jucovschi
mpgco
 
Mobile Application Development Lecture 05 & 06.pdf
Mobile Application Development Lecture 05 & 06.pdfMobile Application Development Lecture 05 & 06.pdf
Mobile Application Development Lecture 05 & 06.pdf
AbdullahMunir32
 
Android training in cochin android training in kochi android training in kera...
Android training in cochin android training in kochi android training in kera...Android training in cochin android training in kochi android training in kera...
Android training in cochin android training in kochi android training in kera...
zybotechsolutions
 
Android before getting started
Android before getting startedAndroid before getting started
Android before getting started
Ahsanul Karim
 

Ähnlich wie Android_Workshop (20)

Day: 1 Introduction to Mobile Application Development (in Android)
Day: 1 Introduction to Mobile Application Development (in Android)Day: 1 Introduction to Mobile Application Development (in Android)
Day: 1 Introduction to Mobile Application Development (in Android)
 
Android Workshop Presentation
Android Workshop PresentationAndroid Workshop Presentation
Android Workshop Presentation
 
How to become an android developer
How to become an android developerHow to become an android developer
How to become an android developer
 
Android development first steps
Android development   first stepsAndroid development   first steps
Android development first steps
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Learnings from Mobile Application Testing
Learnings from Mobile Application TestingLearnings from Mobile Application Testing
Learnings from Mobile Application Testing
 
Android terminologies
Android terminologiesAndroid terminologies
Android terminologies
 
C maksymchuk android
C maksymchuk androidC maksymchuk android
C maksymchuk android
 
Mobile next 2013 petru jucovschi
Mobile next 2013   petru jucovschiMobile next 2013   petru jucovschi
Mobile next 2013 petru jucovschi
 
Basics of Android
Basics of Android Basics of Android
Basics of Android
 
Android Minnebar
Android MinnebarAndroid Minnebar
Android Minnebar
 
Mobile Application Development Lecture 05 & 06.pdf
Mobile Application Development Lecture 05 & 06.pdfMobile Application Development Lecture 05 & 06.pdf
Mobile Application Development Lecture 05 & 06.pdf
 
Android training in cochin android training in kochi android training in kera...
Android training in cochin android training in kochi android training in kera...Android training in cochin android training in kochi android training in kera...
Android training in cochin android training in kochi android training in kera...
 
Getting started with android programming
Getting started with android programmingGetting started with android programming
Getting started with android programming
 
Beyond App Development
Beyond App DevelopmentBeyond App Development
Beyond App Development
 
Beyond App Development
Beyond App DevelopmentBeyond App Development
Beyond App Development
 
Android before getting started
Android before getting startedAndroid before getting started
Android before getting started
 
Introduction to Android Development: Before Getting Started
Introduction to Android Development: Before Getting StartedIntroduction to Android Development: Before Getting Started
Introduction to Android Development: Before Getting Started
 
Mobile application development
Mobile application developmentMobile application development
Mobile application development
 
5 beginner android application development foundation
5 beginner android application development foundation5 beginner android application development foundation
5 beginner android application development foundation
 

Android_Workshop