Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Android for Java Developers
Search
Siva G
March 15, 2017
Programming
53
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Android for Java Developers
Siva G
March 15, 2017
More Decks by Siva G
See All by Siva G
iOS for Android Developers
sivag1
2
60
Android: Develop fast with Libraries; well not too fast!
sivag1
0
47
Other Decks in Programming
See All in Programming
contenteditable と日本語入力に向き合う
colorful12
0
200
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
180
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
220
sbt 2.0: takeoff
eed3si9n
0
160
AmebaブログはKMPから卒業します
kmars0605
0
180
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.2k
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
390
AWSに止められる覚悟してますか?
morizo_1984
2
530
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
270
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
410
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
Featured
See All Featured
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Rails Girls Zürich Keynote
gr2m
96
14k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
540
Designing Experiences People Love
moore
143
24k
How STYLIGHT went responsive
nonsquared
100
6.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
630
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
Transcript
Do you know Java? You know Android. Android for Java
Developers
In collaboration with 2 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Siva Govindarajan - Who am I? § Solution Architect and Technology Enthusiast § Co-founder of Central Florida GDG Chapter § Loves, lives and teaches Android! § Hobbyist Android and iOS developer. google.com/+SivaG1 @sivag1 about.me/sivag1 sivag1.wordpress.com
[email protected]
In collaboration with 3 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Why mobile? Why Android? How different are iOS and Android anyway? Well, not so much after all! http://www.redmondpie.com/ios-9-vs- android-m-visual-comparison- screenshots/
In collaboration with 4 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. But really, why? This is why.
In collaboration with 5 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. What is Android? § The Android OS is a Linux system § Android apps are written in Java, yes the same Java we love! § Android app lives in its own security sandbox § System assigns each app a unique Linux user ID
In collaboration with 6 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. How much Java in Android? Android = Java – some APIs + Android SDK What is included in Android? http://developer.android.com/reference/packages.html What encompasses Java? http://docs.oracle.com/javase/8/docs/api/ Android includes the essential packages from the Java SE API (java.lang, java.util, java.net, etc.) It excludes AWT, Swing, Java 2D, Java Sound, RMI, CORBA, the scripting API, JMX, JAXB, the Java Print Service API, parts of JDBC and probably several other things.
In collaboration with 7 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Android Versions and Naming
In collaboration with 8 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Development Environment Setup § Simple and basic steps to get an App running – Step 1: Install JDK – Step 2: Install and configure the Android SDK – Step 3: Create your first Android App – Step 4: Build and Run your App Download Android SDK from http://developer.android.com Or Simply download and install Android Studio bundle (including Android SDK) for your OS
In collaboration with 9 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Create new Android project
In collaboration with 10 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Create new Android project
In collaboration with 11 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Configure the App
In collaboration with 12 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Create Activity
In collaboration with 13 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Enter Activity Details
In collaboration with 14 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Voila, your app is ready!
In collaboration with 15 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Run on emulator or device
In collaboration with 16 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. iOS vs Android http://www.csectioncomics.com/2010/11/iphone-vs-android-vs-blackberry.html
In collaboration with 17 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. The Manifest File
In collaboration with 18 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. How do I build for installation? – Gradle, advanced build management system based on Groovy – Open source, combines power of Ant and Maven – Powerful dependency management – A single build system, across IDEs and Command Line
In collaboration with 19 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Building Process Running
In collaboration with 20 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. No Android Device? Emulator to the rescue!
In collaboration with 21 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Sample Activity Layout Code 1
In collaboration with 22 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Sample Activity Java Code Important points 1. UI Element has an Id 2. Variables in our code link to UI elements 3. Update UI element content from the program 1 2 3
In collaboration with 23 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Running Sample App
In collaboration with 24 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Application Components
In collaboration with 25 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Activity Activity Lifecycle § Lifecycle Callbacks
In collaboration with 26 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Java Developer FAQ Do I need to learn more API? • Yes, that’s Android SDK. • And UI design via simple XMLs. Can I use my Java patterns? • Yes • Anything that applies for POJO can be used. Are iOS and Android development similar? • Yes, in many ways. • Just learn Swift for iOS and many things are comparable. Are there lots of boilerplate coding? • Yes, unfortunately. • But, can use many open source libraries to make life easy.
In collaboration with 27 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Next Steps, other resources Free Self Learning: • Developing Android Apps by Udacity.com (Most Recommended) • YouTube and tons of other online materials Free In-Class Training: • Central Florida Android Study Jams (Follow on G+ and Meetup) Orlando Code Camp: (presented by me) • Develop Android apps fast with Libraries, well, not so fast. • Beginning iOS for Android developers. • http://orlandocodecamp.com
You knew Android all along, but didn’t realize it! Questions?
Appendix
In collaboration with 30 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. 30 Android Framework
In collaboration with 31 The information contained in this document
is proprietary. Copyright © 2014 Capgemini. All rights reserved. Service Lifecycle