SlideShare a Scribd company logo
Android Studio
Paresh Mayani
Android Developer
@pareshmayani
www.TechnoTalkative.com
Hello World
16th May 2013
During Google I/O
2013
@pareshmayani
@pareshmayani
What is Android Studio?
@pareshmayani
@pareshmayani
Android focused IDE
@pareshmayani
Android focused IDE
(designed specifically for Android
development)
@pareshmayani
Similar to Eclipse with the ADT Plug-in
@pareshmayani
Contains All the Android SDK Tools to
design, test, debug, and profile your app
@pareshmayani
New Android development
environment
http://www.jetbrains.com/idea/
New Android development
environment based on
http://www.jetbrains.com/idea/
Is based on
New Android development
environment based on IntelliJ IDEA
http://www.jetbrains.com/idea/
Is based on
Why a New IDE?
@pareshmayani
Eclipse for Android….huh !!
@pareshmayani
What is the difference between
IntelliJ Idea and Android Studio?
@pareshmayani
Nothing
If you use IntelliJ…
– Keep using it.
– IntelliJ 13 will have the same stuff
– EAP of IntellJ Idea 13 includes all the new stuffs
If Not…
– Give Android Studio a try
@pareshmayani
IntelliJ Idea and Android Studio? FAQ
http://blog.jetbrains.com/idea/2013/05/intellij-idea-and-
android-studio-faq/
@pareshmayani
Let’s Download
@pareshmayani
Let’s Download
http://developer.android.com/sdk/installing/studio.html
@pareshmayani
Features of Android Studio
@pareshmayani
• Powerful code editing (smart editing, code
refactoring)
@pareshmayani
• Powerful code editing (smart editing, code
refactoring)
• Rich layout Editor
@pareshmayani
• Powerful code editing (smart editing, code
refactoring)
• Rich layout Editor
• Gradle-based build support
@pareshmayani
• Powerful code editing (smart editing, code
refactoring)
• Rich layout Editor
• Gradle-based build support
• Maven support
@pareshmayani
• Powerful code editing (smart editing, code
refactoring)
• Rich layout Editor
• Gradle-based build support
• Maven support
• Template based wizards
@pareshmayani
• Powerful code editing (smart editing, code
refactoring)
• Rich layout Editor
• Gradle-based build support
• Maven support
• Template based wizards
• Lint tool analysis
@pareshmayani
• Powerful code editing (smart editing, code
refactoring)
• Rich layout Editor
• Gradle-based build support
• Maven support
• Template based wizards
• Lint tool analysis
• Easy access to Google service (e.g GCM)
@pareshmayani
Gradle
@pareshmayani
Gradle - The New Build System
@pareshmayani
• Gradle is an advanced build management
system based on Groovy
@pareshmayani
• Gradle is an advanced build management
system based on Groovy
• Its an Open source build system
@pareshmayani
• Gradle is an advanced build management
system based on Groovy
• Its an Open source build system
• Combines the power of Ant and Maven
@pareshmayani
Features & Benefits of Gradle
@pareshmayani
• Dependency Management (Flexible
approach to dependency management that can
reuse existing maven repositories or reference
local JARs)
@pareshmayani
• A single build system (Gradle is the
authoritative build across the IDE and the
command-line.)
@pareshmayani
• Product Flavors (Free & Paid version)
• Build Variants (Play store OR Amazon OR Any
other store)
• Build Type (Debug, QA, Release)
@pareshmayani
• Binary Bundles for Libaries (.aar) (Gradle
supports the new .aar binary bundle format for the
library projects)
@pareshmayani
Dependency Management
@pareshmayani
Ant
Dependency
Management
Compiled
with
ANDROID APK
All source & JARs are
Combined into APK
Source code files &
Libs are stored together
@pareshmayani
Maven Builds
Dependency
Management
Compiled
with
ANDROID APK
All source & JARs are
Combined into APK
Maven
Central
RespositoryRead pom.xml
Get dependencies
Source code files
@pareshmayani
Gradle Builds
Dependency
Management
Compiled
with
ANDROID APK
All source & JARs are Combined into APK
Maven
Central
Respository
Read gradle.build
Get dependencies
Local files
Project itself
Debug QA Release
Source code files
@pareshmayani
Migrating from Eclipse
http://developer.android.com/sdk/installing/migrate.html
@pareshmayani
Awesome stuffs Inside
@pareshmayani
Dracula “Darcula” Theme
File > Settings > IDE Settings > Appearance >
Theme: Darcula
@pareshmayani
Preview All Screens
Device framed screen capture
New things:
1. Frame Capture
2. Drop Shadow
3. Screen Glare
@pareshmayani
Color Preview
Live Preview of all
the color values
@pareshmayani
Color Preview – Activity class
@pareshmayani
Hard coded Strings
1. Settings > Editor > Code Folding > Android
String References
OR
2. Select String and right click on it and then go
to Folding > Collapse
OR
CTRL + Numpad ‘-’
@pareshmayani
Alert - Potential Null Pointer Exception
Alert: There is potential Null pointer exception
@pareshmayani
Oops – Rendering Problems
Shows you Rendering Problem while designing
layout
@pareshmayani
Create Landscape variation
Option to create variant layouts
in single click
@pareshmayani
Keyboard Shortcuts
@pareshmayani
Go to file
CTRL + SHIFT + N
@pareshmayani
Go to class
CTRL + N
@pareshmayani
Renaming
SHIFT + F6
@pareshmayani
Get documentation
To quickly see the documentation for the class
or method used at the editor's caret, press
Ctrl+Q
@pareshmayani
Which IDE to use?
@pareshmayani
All the Keyboard Shortcuts
• Help => Default Keymap Reference
(To view all the keyboard shotcuts)
@pareshmayani
No
It’s EARLY ACCESS PREVIEW
Should wait until Beta
Should I use Android Studio?
@pareshmayani
Links
• Android Studio: An IDE built for Android => http://goo.gl/iHRvYF
• Google I/O 2013 - What's New in Android Developer Tools => http://goo.gl/VRCEIb
• DevBytes: Android Studio => http://goo.gl/28UB94
• https://speakerdeck.com/donnfelker/introduction-to-android-studio
• Google I/O 2013 - The New Android SDK Build System => http://goo.gl/N9e2Fq
@pareshmayani
<Stay in Touch>
Paresh Mayani
Manager, GDG Ahmedabad
Android Developer
pareshmayani@gmail.com
@pareshmayani
www.TechnoTalkative.com

More Related Content

PPTX
Introduction to Android and Android Studio
PPT
Diffiehellman
PPTX
Android studio installation
PDF
Android Location and Maps
PDF
Introduction to django framework
PPTX
Android studio ppt
PPTX
Android studio installation
PPTX
androidstudio.pptx
Introduction to Android and Android Studio
Diffiehellman
Android studio installation
Android Location and Maps
Introduction to django framework
Android studio ppt
Android studio installation
androidstudio.pptx

What's hot (20)

PPT
Big Data: Social Network Analysis
PPT
Javascript
ODP
An Introduction to Hashing and Salting
PDF
Android Basic Components
PPTX
Cryptography
PPTX
C# Loops
PDF
Hadoop & MapReduce
PPT
JDBC Architecture and Drivers
PPTX
Day: 1 Introduction to Mobile Application Development (in Android)
PPSX
Introduction to Java
PPTX
cryptography
PPTX
Practical Malware Analysis: Ch 2 Malware Analysis in Virtual Machines & 3: Ba...
PPTX
Message digest 5
PPTX
Cryptography
PPT
Data Formats
PPTX
Hash function
PDF
Android Components & Manifest
PPTX
Dns server
Big Data: Social Network Analysis
Javascript
An Introduction to Hashing and Salting
Android Basic Components
Cryptography
C# Loops
Hadoop & MapReduce
JDBC Architecture and Drivers
Day: 1 Introduction to Mobile Application Development (in Android)
Introduction to Java
cryptography
Practical Malware Analysis: Ch 2 Malware Analysis in Virtual Machines & 3: Ba...
Message digest 5
Cryptography
Data Formats
Hash function
Android Components & Manifest
Dns server
Ad

Similar to Android studio (20)

PDF
Android studio
PDF
Next Step, Android Studio!
PPTX
Android-studio-reporting ntrue.pptx.....
PPTX
Comparison between Eclipse and Android Studio for Android Development
PPTX
Android
PPTX
Project a day 2 introduction to android studio
PDF
Android : Deep dive into developing MobileApp using Android
PPTX
Using Android Studio and Genymotion for improved productivity
PPTX
PPTX
Module-I_Introduction-to-Android.pptx
PPTX
Android Studio development model and.pptx
PPTX
2.Android Platform_Theory.pptx
PPTX
Android studio&Gradle&Autotest
PPTX
this is PPT for mobail application development
PPTX
Developing for Android-Types of Android Application
PPTX
W1_Lec01_Lec02_Intro.pptx
PPTX
Creating the first app with android studio
PPT
Getting started with android studio
PDF
Programming Android Zigurd Mednieks Laird Dornin Blake Meike
PDF
Emergency androidstudiochapter
Android studio
Next Step, Android Studio!
Android-studio-reporting ntrue.pptx.....
Comparison between Eclipse and Android Studio for Android Development
Android
Project a day 2 introduction to android studio
Android : Deep dive into developing MobileApp using Android
Using Android Studio and Genymotion for improved productivity
Module-I_Introduction-to-Android.pptx
Android Studio development model and.pptx
2.Android Platform_Theory.pptx
Android studio&Gradle&Autotest
this is PPT for mobail application development
Developing for Android-Types of Android Application
W1_Lec01_Lec02_Intro.pptx
Creating the first app with android studio
Getting started with android studio
Programming Android Zigurd Mednieks Laird Dornin Blake Meike
Emergency androidstudiochapter
Ad

Recently uploaded (20)

PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Approach and Philosophy of On baking technology
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
KodekX | Application Modernization Development
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
Cloud computing and distributed systems.
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Understanding_Digital_Forensics_Presentation.pptx
Chapter 3 Spatial Domain Image Processing.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Approach and Philosophy of On baking technology
Agricultural_Statistics_at_a_Glance_2022_0.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
cuic standard and advanced reporting.pdf
KodekX | Application Modernization Development
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Cloud computing and distributed systems.
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Digital-Transformation-Roadmap-for-Companies.pptx
Machine learning based COVID-19 study performance prediction
Dropbox Q2 2025 Financial Results & Investor Presentation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Spectral efficient network and resource selection model in 5G networks
“AI and Expert System Decision Support & Business Intelligence Systems”

Android studio