SlideShare a Scribd company logo
1 of 24
Download to read offline
Next Step, Android Studio! 
Federal University of Ceará 
Federal 
University of Ceará 
ÉDIPO DA SILVA SOUZA 
www.ediposouza.com
• Introduction 
• New Concepts 
• Advantages 
• Gradle 
• The Environment 
• Features 
• Productivity 
Federal University of Ceará 
SCHObEjeDtivUoLE
Federal University of Ceará 
Objetivo 
INTRODUCTION 
• Google project 
• Alpha version 0.1 was announced in Google IO 2013 (May/15) 
• Beta version 0.8 was announced in Google IO 2014 (June/25) 
• Actual(Nov/18) beta version is 0.8.14 
• Actual(Nov/18) canary version is 0.9.3 
• Based on JetBrain' IntelliJ IDEA 
• Gradle based build system and dependency manager 
• Free available for Windows, Mac OS X and Linux 
• Support for Java 7 language features
NEW CONCEPTS 
Federal University of Ceará 
Objetivo 
• One Project open at time 
• New project structure 
• Build-in dependency manager 
• Dependency (Eclipse jar files in libs) 
• Modules (Eclipse project library)
Federal University of Ceará 
Objetivo 
ADVANTAGES 
• IntelliJ IDEA is faster and lighter 
• Very stable and does not leak memory forcing constant reboots 
• No need to constantly clean my projects 
• Layout editor tools are vastly improved 
• Live layout let you see the UI preview as you type layout XML 
• UI previews elements and correspondent layout XML tag are synchronized 
• Many news Lint checks 
• Better code complete action 
• Smart Code Completion 
• Integrated console terminal 
• Integrated Version Control more efficient 
• Can use external merging tool
Federal University of Ceará 
Objetivo 
What??? 
GRADLE 
Gradle is a project automation tool used for Android Studio as build system 
and dependency manager. 
Cool, but what is a dependency??? 
Understand how what you know as a library, whether a jar file or a project 
marked as ‘is library’. If you project need external sources, it’s a dependency. 
Without it... 
• We search on google for a jar file, download and put it on libs folder. 
• Push the jar files to our remote repository, making it grow up. 
• Have some painkiller when us taken a project that use a old jar version (what 
we don’t know) and when we put the latest jar version, it broken.
Federal University of Ceará 
Objetivo 
GRADLE 
With it!!! 
• We just need to indicate the package of the dependence we want. 
• We can specify the dependency version or ‘+’ for latest version. 
• Gradle search the dependency, download and configure your project to use it. 
• With scripted build process, we can customize to add new features. 
• Build variants make easy to configure an Internal, Demo, Free, Paid build. 
• Export APKs with the version number in the filename 
• Run a script when your APK is exported like automatically upload the APK to 
TestFlight for internal testing. 
After hate it, you will love it!
THE ENVIRONMENT 
Federal University of Ceará
THE ENVIRONMENT 
Federal University of Ceará
Federal University of Ceará 
Objetivo 
Better Project Wizard 
• Steps better distributed. 
• Helper for choose the 
Minimum/Maximum SDK level. 
• Many Templates. 
• Better Template configuration. 
FEATURES 
Source: http://tools.android.com/recent/androidstudio061released
Federal University of Ceará 
Objetivo 
FEATURES 
Android Project View 
• Groups the build files for all modules at the 
top level of the project hierarchy. 
• Shows the most important source directories 
at the top level of the module hierarchy. 
• Groups all the manifest files for each module. 
• Shows resource files from all Gradle source 
sets. 
• Groups resource files for different locales, 
orientations, and screen types in a single 
group per resource type. 
Source: http://developer.android.com/sdk/installing/studio-androidview.html
Federal University of Ceará 
Objetivo 
FEATURES 
New Layout Editor 
• You can edit the XML layout and see the 
preview at same time. 
• Synchronized XML Tag and layout selection. 
• Resource inlining like strings and dimens. 
• Multi layout and real time preview based in 
many device configuration (Language, RTL, 
Android version, Screen Size, SDK version). 
• Save screenshot from Layout editor preview. 
• Support for xliff strings in Layout Rendering. 
Source: http://tools.android.com/recent/androidstudiobetareleased
Federal University of Ceará 
Objetivo 
Designtime Layout Attributes 
You can edit the XML layout and see the preview at same time. 
• text 
• visibility 
• listitem 
• listheader 
• listfooter 
• menu 
• actionBarNavMode 
• fastScrollAlwaysVisible 
FEATURES 
More info: http://tools.android.com/tech-docs/tools-attributes Source: http://tools.android.com/tips/layout-designtime-attributes
Federal University of Ceará 
Objetivo 
FEATURES 
Enhanced Code Editor 
• Instant Completion 
• Context-aware Completion 
• Smart code completion search 
• Multi-language Refactorings 
• Drawable preview in code editor 
• Color preview in code editor 
• Code visualization simplified 
• Resource inline 
More info: 
● http://www.jetbrains.com/idea/features/refactoring.html 
● http://www.jetbrains.com/idea/features/code_completion.html 
● http://jetbrains.dzone.com/articles/top-20-code-completions-in-intellij-idea 
Source: http://tools.android.com/recent/androidstudio044released
Federal University of Ceará 
Objetivo 
New AVD Manager 
• Wizard for AVD creation. 
• More integrated to IDE. 
• Easy to create a new AVD 
base on existence hardware. 
• Differents device category. 
FEATURES 
Source: http://tools.android.com/recent/androidstudio0812released
Federal University of Ceará 
Objetivo 
FEATURES 
Library Dependency Editor 
• More easy than just type the package. 
• Easy search for the library package. 
• Google libraries. 
• Most commonly requested libraries. 
Source: http://tools.android.com/recent/androidstudio045released
Federal University of Ceará 
Objetivo 
Translate Editor 
• Multi language at same time. 
• Check untranslated strings. 
• Quick Inline edit. 
• Open it with right click on a file 
named "strings.xml". 
FEATURES 
Source: http://tools.android.com/recent/androidstudio087released
Federal University of Ceará 
Objetivo 
FEATURES 
• Integrated terminal console 
• Integrated Version control 
• Build variants 
• Live updated with small patch 
• Screen record feature in DDMS 
• Drawable preview in code editor (Shapes, Colors, Menus). 
• Bitmap rendering in the debugger 
• New memory monitor 
• Code Checker 
• Copyright manager 
• Auto import
Federal University of Ceará 
Objetivo 
PRODUCTIVITY 
List keyboard shortcuts for common operations. 
Source: http://developer.android.com/sdk/installing/studio-tips.html
Federal University of Ceará 
PRODOUbjeCtivToIVITY 
Source: http://developer.android.com/sdk/installing/studio-tips.html
Federal University of Ceará 
Objetivo 
PRODUCTIVITY 
Mac OSX Windows/Linux Eclipse (Windows) equivalent Description 
● Cmd+ ← Ctrl+Y Ctrl+D Delete line 
● Cmd+Shift+ ← Ctrl+shift+ ← - Last edit location 
● Cmd+Option+V Ctrl+Alt+V Alt+Shift+L Extract variable 
● Cmd+Option+F Ctrl+Alt+F - Extract Field 
● Cmd+Option+C Ctrl+Alt+C - Extract constant 
● Cmd+Option+P Ctrl+Alt+P - Extract param 
● Cmd+Option+M Ctrl+Alt+M Alt+Shift+M Extract Method 
● Cmd+Option+T Ctrl+Alt+T Alt+Shift+Z Surround with 
● Cmd+Option+/ Ctrl+Shift+/ Ctrl+Shift+/ Block Comment 
● Cmd+/ Ctrl+/ Ctrl+Shift+C Inline Comment 
● Cmd+P Ctrl+P Ctrl+Shift+Space Show method params 
● Cmd+1 Alt+1 Alt+Shift+Q, P Show/hide Project view 
● Cmd+ + Ctrl+ + - Expand block 
● Cmd+ - Ctrl+ - - Contract block 
● Cmd+J Ctrl+J - Live template
Federal University of Ceará 
Objetivo 
PRODUCTIVITY 
Mac OSX Windows/Linux Eclipse (Windows) equivalent Description 
● Cmd+K Ctrl+K Ctrl+# Commit vcs changes 
● Cmd+T Ctrl+T - Update vcs changes 
● Ctrl+V Ctrl+ ` - Version Control popup 
● Ctrl+Enter Alt+Insert Ctrl+Shift+S Generate popup 
● Ctrl+Tab Ctrl+Tab - Next tab 
● Ctrl+Shift+Tab Ctrl+Shift+Tab - Previous tab 
● Ctrl+R Shift+F10 Ctrl+F11 Run app 
● Ctrl+D Shift+F9 F11 Debug app 
● Ctrl+O Ctrl+O - Override method 
● Ctrl+Up Alt+Up Ctrl+Shift+Up Navigate next method 
● Ctrl+Down Alt+Down Ctrl+Shift+Down Navigate previous method 
● Crtl+Option+O Ctrl+Alt+O Ctrl+Shift+O Organize imports 
● Option+Space Ctrl+Shift+I - Quick definition 
● Option+Enter Alt+Enter Ctrl+1 Quick Fix 
● Shift+F6 Shift+F6 Alt+Shift+R Rename refactoring
Federal University of Ceará 
Objetivo 
PRODUCTIVITY 
Android Studio have many many keyboard shortcuts, to learn some of the most useful, check the Philippe 
Breault work on Google+ and his blog. 
• https://plus.google.com/u/0/+PhilippeBreault/posts 
• https://github.com/pavlospt/Android-Studio-Tips-by-Philippe-Breault/wiki 
• http://www.developerphil.com/android-studio-tips-of-the-day-roundup-1/ 
• http://www.developerphil.com/android-studio-tips-of-the-day-roundup-2/
Federal University of Ceará 
Thank you!!! 
Contact: 
edipo2s@gmail.com 
More info: 
http://ediposouza.com/iniciando-com-o-android-studio?lang=en

More Related Content

What's hot

Introduction to android studio 2.0 and data binding library
Introduction to android studio 2.0 and data binding libraryIntroduction to android studio 2.0 and data binding library
Introduction to android studio 2.0 and data binding libraryKaushal Dhruw
 
9780134433646 annuzzi ch02 (1)
9780134433646 annuzzi ch02 (1)9780134433646 annuzzi ch02 (1)
9780134433646 annuzzi ch02 (1)Peter Mburu
 
Utilizando Espresso e UIAutomator no Teste de Apps Android
Utilizando Espresso e UIAutomator no Teste de Apps AndroidUtilizando Espresso e UIAutomator no Teste de Apps Android
Utilizando Espresso e UIAutomator no Teste de Apps AndroidEduardo Carrara de Araujo
 
Android development session 5 - Debug android studio
Android development   session 5 - Debug android studioAndroid development   session 5 - Debug android studio
Android development session 5 - Debug android studioFarabi Technology Middle East
 
Android Development: Build Android App from Scratch
Android Development: Build Android App from ScratchAndroid Development: Build Android App from Scratch
Android Development: Build Android App from ScratchTaufan Erfiyanto
 
Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studioParinita03
 
android training_material ravy ramio
android training_material ravy ramioandroid training_material ravy ramio
android training_material ravy ramioslesulvy
 
Automated Historical Performance Analysis with kmemtracer
Automated Historical Performance Analysis with kmemtracerAutomated Historical Performance Analysis with kmemtracer
Automated Historical Performance Analysis with kmemtracerKyungmin Lee
 
Eclipse & android setup
Eclipse & android setupEclipse & android setup
Eclipse & android setupChina Bigs
 
Introduction to android coding
Introduction to android codingIntroduction to android coding
Introduction to android codingHari Krishna
 
Introduction to Android Studio
Introduction to Android StudioIntroduction to Android Studio
Introduction to Android StudioMichael Pan
 
Day1 before getting_started
Day1 before getting_startedDay1 before getting_started
Day1 before getting_startedAhsanul Karim
 
Android studio 2.0: default project structure
Android studio 2.0: default project structureAndroid studio 2.0: default project structure
Android studio 2.0: default project structureVyara Georgieva
 
What's new in android jakarta gdg (2015-08-26)
What's new in android   jakarta gdg (2015-08-26)What's new in android   jakarta gdg (2015-08-26)
What's new in android jakarta gdg (2015-08-26)Google
 
Introduction_to_android_and_android_studio
Introduction_to_android_and_android_studioIntroduction_to_android_and_android_studio
Introduction_to_android_and_android_studioAbdul Basit
 

What's hot (20)

Introduction to android studio 2.0 and data binding library
Introduction to android studio 2.0 and data binding libraryIntroduction to android studio 2.0 and data binding library
Introduction to android studio 2.0 and data binding library
 
9780134433646 annuzzi ch02 (1)
9780134433646 annuzzi ch02 (1)9780134433646 annuzzi ch02 (1)
9780134433646 annuzzi ch02 (1)
 
Utilizando Espresso e UIAutomator no Teste de Apps Android
Utilizando Espresso e UIAutomator no Teste de Apps AndroidUtilizando Espresso e UIAutomator no Teste de Apps Android
Utilizando Espresso e UIAutomator no Teste de Apps Android
 
Android development session 5 - Debug android studio
Android development   session 5 - Debug android studioAndroid development   session 5 - Debug android studio
Android development session 5 - Debug android studio
 
Android studio
Android studioAndroid studio
Android studio
 
Android Development: Build Android App from Scratch
Android Development: Build Android App from ScratchAndroid Development: Build Android App from Scratch
Android Development: Build Android App from Scratch
 
Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studio
 
android training_material ravy ramio
android training_material ravy ramioandroid training_material ravy ramio
android training_material ravy ramio
 
Automated Historical Performance Analysis with kmemtracer
Automated Historical Performance Analysis with kmemtracerAutomated Historical Performance Analysis with kmemtracer
Automated Historical Performance Analysis with kmemtracer
 
Android Development Tutorial V3
Android Development Tutorial   V3Android Development Tutorial   V3
Android Development Tutorial V3
 
Eclipse & android setup
Eclipse & android setupEclipse & android setup
Eclipse & android setup
 
Introduction to android coding
Introduction to android codingIntroduction to android coding
Introduction to android coding
 
Introduction to Android Studio
Introduction to Android StudioIntroduction to Android Studio
Introduction to Android Studio
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
Day1 before getting_started
Day1 before getting_startedDay1 before getting_started
Day1 before getting_started
 
Android Lab
Android LabAndroid Lab
Android Lab
 
Android studio 2.0: default project structure
Android studio 2.0: default project structureAndroid studio 2.0: default project structure
Android studio 2.0: default project structure
 
What's new in android jakarta gdg (2015-08-26)
What's new in android   jakarta gdg (2015-08-26)What's new in android   jakarta gdg (2015-08-26)
What's new in android jakarta gdg (2015-08-26)
 
Introduction_to_android_and_android_studio
Introduction_to_android_and_android_studioIntroduction_to_android_and_android_studio
Introduction_to_android_and_android_studio
 
Android development beginners faq
Android development  beginners faqAndroid development  beginners faq
Android development beginners faq
 

Similar to Next Step, Android Studio!

Android Studio 3 - Dependency-Aware Build Variants and Product Flavors
Android Studio 3 - Dependency-Aware Build Variants and Product FlavorsAndroid Studio 3 - Dependency-Aware Build Variants and Product Flavors
Android Studio 3 - Dependency-Aware Build Variants and Product FlavorsStefan Martynkiw
 
Head first android apps dev tools
Head first android apps dev toolsHead first android apps dev tools
Head first android apps dev toolsShaka Huang
 
Introduction to Android- A session by Sagar Das
Introduction to Android-  A session by Sagar DasIntroduction to Android-  A session by Sagar Das
Introduction to Android- A session by Sagar Dasdscfetju
 
Gradle,the new build system for android
Gradle,the new build system for androidGradle,the new build system for android
Gradle,the new build system for androidzhang ghui
 
Build your android app with gradle
Build your android app with gradleBuild your android app with gradle
Build your android app with gradleSwain Loda
 
Android Development Primer - GDG Los Angeles
Android Development Primer - GDG Los AngelesAndroid Development Primer - GDG Los Angeles
Android Development Primer - GDG Los AngelesGerard
 
Exploring the power of Gradle in android studio - Basics & Beyond
Exploring the power of Gradle in android studio - Basics & BeyondExploring the power of Gradle in android studio - Basics & Beyond
Exploring the power of Gradle in android studio - Basics & BeyondKaushal Dhruw
 
Angular mobile angular_u
Angular mobile angular_uAngular mobile angular_u
Angular mobile angular_uDoris Chen
 
Dojo javascript toolkit
Dojo javascript toolkit Dojo javascript toolkit
Dojo javascript toolkit Predhin Sapru
 
(WPF + WinForms) * .NET Core = Modern Desktop
(WPF + WinForms) * .NET Core = Modern Desktop(WPF + WinForms) * .NET Core = Modern Desktop
(WPF + WinForms) * .NET Core = Modern DesktopOren Novotny
 
Cordova: APIs and instruments
Cordova: APIs and instrumentsCordova: APIs and instruments
Cordova: APIs and instrumentsIvano Malavolta
 
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013DuckMa
 
Developing for Android-Types of Android Application
Developing for Android-Types of Android ApplicationDeveloping for Android-Types of Android Application
Developing for Android-Types of Android ApplicationNandini Prabhu
 
Android development orientation for starters v4 seminar
Android development orientation for starters v4   seminarAndroid development orientation for starters v4   seminar
Android development orientation for starters v4 seminarJoemarie Amparo
 
Android app development by abhi android
Android app development by abhi androidAndroid app development by abhi android
Android app development by abhi androidsusijanny
 
Android app development
Android app developmentAndroid app development
Android app developmentAbhishek Saini
 
[2015/2016] Apache Cordova
[2015/2016] Apache Cordova[2015/2016] Apache Cordova
[2015/2016] Apache CordovaIvano Malavolta
 
Writing Android Libraries
Writing Android LibrariesWriting Android Libraries
Writing Android Librariesemanuelez
 

Similar to Next Step, Android Studio! (20)

Android Studio 3 - Dependency-Aware Build Variants and Product Flavors
Android Studio 3 - Dependency-Aware Build Variants and Product FlavorsAndroid Studio 3 - Dependency-Aware Build Variants and Product Flavors
Android Studio 3 - Dependency-Aware Build Variants and Product Flavors
 
Head first android apps dev tools
Head first android apps dev toolsHead first android apps dev tools
Head first android apps dev tools
 
Introduction to Android- A session by Sagar Das
Introduction to Android-  A session by Sagar DasIntroduction to Android-  A session by Sagar Das
Introduction to Android- A session by Sagar Das
 
Gradle,the new build system for android
Gradle,the new build system for androidGradle,the new build system for android
Gradle,the new build system for android
 
Build your android app with gradle
Build your android app with gradleBuild your android app with gradle
Build your android app with gradle
 
Android Development Primer - GDG Los Angeles
Android Development Primer - GDG Los AngelesAndroid Development Primer - GDG Los Angeles
Android Development Primer - GDG Los Angeles
 
Exploring the power of Gradle in android studio - Basics & Beyond
Exploring the power of Gradle in android studio - Basics & BeyondExploring the power of Gradle in android studio - Basics & Beyond
Exploring the power of Gradle in android studio - Basics & Beyond
 
Angular mobile angular_u
Angular mobile angular_uAngular mobile angular_u
Angular mobile angular_u
 
Apache Cordova
Apache CordovaApache Cordova
Apache Cordova
 
Dojo javascript toolkit
Dojo javascript toolkit Dojo javascript toolkit
Dojo javascript toolkit
 
(WPF + WinForms) * .NET Core = Modern Desktop
(WPF + WinForms) * .NET Core = Modern Desktop(WPF + WinForms) * .NET Core = Modern Desktop
(WPF + WinForms) * .NET Core = Modern Desktop
 
Apache Cordova 4.x
Apache Cordova 4.xApache Cordova 4.x
Apache Cordova 4.x
 
Cordova: APIs and instruments
Cordova: APIs and instrumentsCordova: APIs and instruments
Cordova: APIs and instruments
 
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
 
Developing for Android-Types of Android Application
Developing for Android-Types of Android ApplicationDeveloping for Android-Types of Android Application
Developing for Android-Types of Android Application
 
Android development orientation for starters v4 seminar
Android development orientation for starters v4   seminarAndroid development orientation for starters v4   seminar
Android development orientation for starters v4 seminar
 
Android app development by abhi android
Android app development by abhi androidAndroid app development by abhi android
Android app development by abhi android
 
Android app development
Android app developmentAndroid app development
Android app development
 
[2015/2016] Apache Cordova
[2015/2016] Apache Cordova[2015/2016] Apache Cordova
[2015/2016] Apache Cordova
 
Writing Android Libraries
Writing Android LibrariesWriting Android Libraries
Writing Android Libraries
 

More from Édipo Souza

Estudo comparativo das linguagens kotlin e java no desenvolvimento de aplicac...
Estudo comparativo das linguagens kotlin e java no desenvolvimento de aplicac...Estudo comparativo das linguagens kotlin e java no desenvolvimento de aplicac...
Estudo comparativo das linguagens kotlin e java no desenvolvimento de aplicac...Édipo Souza
 
Android studio build variants
Android studio build variantsAndroid studio build variants
Android studio build variantsÉdipo Souza
 
Introdução a Plataforma Android
Introdução a Plataforma AndroidIntrodução a Plataforma Android
Introdução a Plataforma AndroidÉdipo Souza
 
Apresentação de minha Monografia do curso de Sistema e Mídias Digitais
Apresentação de minha Monografia do curso de Sistema e Mídias DigitaisApresentação de minha Monografia do curso de Sistema e Mídias Digitais
Apresentação de minha Monografia do curso de Sistema e Mídias DigitaisÉdipo Souza
 
UMA ANÁLISE COMPARATIVA DE FERRAMENTAS DE DESENVOLVIMENTO MULTIPLATAFORMA PAR...
UMA ANÁLISE COMPARATIVA DE FERRAMENTAS DE DESENVOLVIMENTO MULTIPLATAFORMA PAR...UMA ANÁLISE COMPARATIVA DE FERRAMENTAS DE DESENVOLVIMENTO MULTIPLATAFORMA PAR...
UMA ANÁLISE COMPARATIVA DE FERRAMENTAS DE DESENVOLVIMENTO MULTIPLATAFORMA PAR...Édipo Souza
 
Android - Frameworks de Testes
Android - Frameworks de TestesAndroid - Frameworks de Testes
Android - Frameworks de TestesÉdipo Souza
 
Android - Frameworks para Gráficos
Android - Frameworks para GráficosAndroid - Frameworks para Gráficos
Android - Frameworks para GráficosÉdipo Souza
 
Logging Patterns & Anti-Patterns
Logging Patterns & Anti-PatternsLogging Patterns & Anti-Patterns
Logging Patterns & Anti-PatternsÉdipo Souza
 
Android - Frameworks de Persistência
Android - Frameworks de PersistênciaAndroid - Frameworks de Persistência
Android - Frameworks de PersistênciaÉdipo Souza
 
Framework MVC - vRaptor
Framework MVC - vRaptorFramework MVC - vRaptor
Framework MVC - vRaptorÉdipo Souza
 
XP - eXtreme Programming
XP - eXtreme ProgrammingXP - eXtreme Programming
XP - eXtreme ProgrammingÉdipo Souza
 

More from Édipo Souza (11)

Estudo comparativo das linguagens kotlin e java no desenvolvimento de aplicac...
Estudo comparativo das linguagens kotlin e java no desenvolvimento de aplicac...Estudo comparativo das linguagens kotlin e java no desenvolvimento de aplicac...
Estudo comparativo das linguagens kotlin e java no desenvolvimento de aplicac...
 
Android studio build variants
Android studio build variantsAndroid studio build variants
Android studio build variants
 
Introdução a Plataforma Android
Introdução a Plataforma AndroidIntrodução a Plataforma Android
Introdução a Plataforma Android
 
Apresentação de minha Monografia do curso de Sistema e Mídias Digitais
Apresentação de minha Monografia do curso de Sistema e Mídias DigitaisApresentação de minha Monografia do curso de Sistema e Mídias Digitais
Apresentação de minha Monografia do curso de Sistema e Mídias Digitais
 
UMA ANÁLISE COMPARATIVA DE FERRAMENTAS DE DESENVOLVIMENTO MULTIPLATAFORMA PAR...
UMA ANÁLISE COMPARATIVA DE FERRAMENTAS DE DESENVOLVIMENTO MULTIPLATAFORMA PAR...UMA ANÁLISE COMPARATIVA DE FERRAMENTAS DE DESENVOLVIMENTO MULTIPLATAFORMA PAR...
UMA ANÁLISE COMPARATIVA DE FERRAMENTAS DE DESENVOLVIMENTO MULTIPLATAFORMA PAR...
 
Android - Frameworks de Testes
Android - Frameworks de TestesAndroid - Frameworks de Testes
Android - Frameworks de Testes
 
Android - Frameworks para Gráficos
Android - Frameworks para GráficosAndroid - Frameworks para Gráficos
Android - Frameworks para Gráficos
 
Logging Patterns & Anti-Patterns
Logging Patterns & Anti-PatternsLogging Patterns & Anti-Patterns
Logging Patterns & Anti-Patterns
 
Android - Frameworks de Persistência
Android - Frameworks de PersistênciaAndroid - Frameworks de Persistência
Android - Frameworks de Persistência
 
Framework MVC - vRaptor
Framework MVC - vRaptorFramework MVC - vRaptor
Framework MVC - vRaptor
 
XP - eXtreme Programming
XP - eXtreme ProgrammingXP - eXtreme Programming
XP - eXtreme Programming
 

Recently uploaded

WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )Pooja Nehwal
 
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...henrik385807
 
The 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringThe 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringSebastiano Panichella
 
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...NETWAYS
 
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Pooja Nehwal
 
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfCTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfhenrik385807
 
SBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSebastiano Panichella
 
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)Basil Achie
 
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...NETWAYS
 
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...NETWAYS
 
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSimulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSebastiano Panichella
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AITatiana Gurgel
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Krijn Poppe
 
Philippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptPhilippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptssuser319dad
 
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...NETWAYS
 
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝soniya singh
 
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfOpen Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfhenrik385807
 
Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxmavinoikein
 

Recently uploaded (20)

WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
 
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
 
The 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringThe 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software Engineering
 
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
 
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
 
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfCTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
 
SBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation Track
 
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
 
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
 
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
 
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
 
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSimulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AI
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
 
Philippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptPhilippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.ppt
 
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
 
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
 
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfOpen Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
 
Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptx
 

Next Step, Android Studio!

  • 1. Next Step, Android Studio! Federal University of Ceará Federal University of Ceará ÉDIPO DA SILVA SOUZA www.ediposouza.com
  • 2. • Introduction • New Concepts • Advantages • Gradle • The Environment • Features • Productivity Federal University of Ceará SCHObEjeDtivUoLE
  • 3. Federal University of Ceará Objetivo INTRODUCTION • Google project • Alpha version 0.1 was announced in Google IO 2013 (May/15) • Beta version 0.8 was announced in Google IO 2014 (June/25) • Actual(Nov/18) beta version is 0.8.14 • Actual(Nov/18) canary version is 0.9.3 • Based on JetBrain' IntelliJ IDEA • Gradle based build system and dependency manager • Free available for Windows, Mac OS X and Linux • Support for Java 7 language features
  • 4. NEW CONCEPTS Federal University of Ceará Objetivo • One Project open at time • New project structure • Build-in dependency manager • Dependency (Eclipse jar files in libs) • Modules (Eclipse project library)
  • 5. Federal University of Ceará Objetivo ADVANTAGES • IntelliJ IDEA is faster and lighter • Very stable and does not leak memory forcing constant reboots • No need to constantly clean my projects • Layout editor tools are vastly improved • Live layout let you see the UI preview as you type layout XML • UI previews elements and correspondent layout XML tag are synchronized • Many news Lint checks • Better code complete action • Smart Code Completion • Integrated console terminal • Integrated Version Control more efficient • Can use external merging tool
  • 6. Federal University of Ceará Objetivo What??? GRADLE Gradle is a project automation tool used for Android Studio as build system and dependency manager. Cool, but what is a dependency??? Understand how what you know as a library, whether a jar file or a project marked as ‘is library’. If you project need external sources, it’s a dependency. Without it... • We search on google for a jar file, download and put it on libs folder. • Push the jar files to our remote repository, making it grow up. • Have some painkiller when us taken a project that use a old jar version (what we don’t know) and when we put the latest jar version, it broken.
  • 7. Federal University of Ceará Objetivo GRADLE With it!!! • We just need to indicate the package of the dependence we want. • We can specify the dependency version or ‘+’ for latest version. • Gradle search the dependency, download and configure your project to use it. • With scripted build process, we can customize to add new features. • Build variants make easy to configure an Internal, Demo, Free, Paid build. • Export APKs with the version number in the filename • Run a script when your APK is exported like automatically upload the APK to TestFlight for internal testing. After hate it, you will love it!
  • 8. THE ENVIRONMENT Federal University of Ceará
  • 9. THE ENVIRONMENT Federal University of Ceará
  • 10. Federal University of Ceará Objetivo Better Project Wizard • Steps better distributed. • Helper for choose the Minimum/Maximum SDK level. • Many Templates. • Better Template configuration. FEATURES Source: http://tools.android.com/recent/androidstudio061released
  • 11. Federal University of Ceará Objetivo FEATURES Android Project View • Groups the build files for all modules at the top level of the project hierarchy. • Shows the most important source directories at the top level of the module hierarchy. • Groups all the manifest files for each module. • Shows resource files from all Gradle source sets. • Groups resource files for different locales, orientations, and screen types in a single group per resource type. Source: http://developer.android.com/sdk/installing/studio-androidview.html
  • 12. Federal University of Ceará Objetivo FEATURES New Layout Editor • You can edit the XML layout and see the preview at same time. • Synchronized XML Tag and layout selection. • Resource inlining like strings and dimens. • Multi layout and real time preview based in many device configuration (Language, RTL, Android version, Screen Size, SDK version). • Save screenshot from Layout editor preview. • Support for xliff strings in Layout Rendering. Source: http://tools.android.com/recent/androidstudiobetareleased
  • 13. Federal University of Ceará Objetivo Designtime Layout Attributes You can edit the XML layout and see the preview at same time. • text • visibility • listitem • listheader • listfooter • menu • actionBarNavMode • fastScrollAlwaysVisible FEATURES More info: http://tools.android.com/tech-docs/tools-attributes Source: http://tools.android.com/tips/layout-designtime-attributes
  • 14. Federal University of Ceará Objetivo FEATURES Enhanced Code Editor • Instant Completion • Context-aware Completion • Smart code completion search • Multi-language Refactorings • Drawable preview in code editor • Color preview in code editor • Code visualization simplified • Resource inline More info: ● http://www.jetbrains.com/idea/features/refactoring.html ● http://www.jetbrains.com/idea/features/code_completion.html ● http://jetbrains.dzone.com/articles/top-20-code-completions-in-intellij-idea Source: http://tools.android.com/recent/androidstudio044released
  • 15. Federal University of Ceará Objetivo New AVD Manager • Wizard for AVD creation. • More integrated to IDE. • Easy to create a new AVD base on existence hardware. • Differents device category. FEATURES Source: http://tools.android.com/recent/androidstudio0812released
  • 16. Federal University of Ceará Objetivo FEATURES Library Dependency Editor • More easy than just type the package. • Easy search for the library package. • Google libraries. • Most commonly requested libraries. Source: http://tools.android.com/recent/androidstudio045released
  • 17. Federal University of Ceará Objetivo Translate Editor • Multi language at same time. • Check untranslated strings. • Quick Inline edit. • Open it with right click on a file named "strings.xml". FEATURES Source: http://tools.android.com/recent/androidstudio087released
  • 18. Federal University of Ceará Objetivo FEATURES • Integrated terminal console • Integrated Version control • Build variants • Live updated with small patch • Screen record feature in DDMS • Drawable preview in code editor (Shapes, Colors, Menus). • Bitmap rendering in the debugger • New memory monitor • Code Checker • Copyright manager • Auto import
  • 19. Federal University of Ceará Objetivo PRODUCTIVITY List keyboard shortcuts for common operations. Source: http://developer.android.com/sdk/installing/studio-tips.html
  • 20. Federal University of Ceará PRODOUbjeCtivToIVITY Source: http://developer.android.com/sdk/installing/studio-tips.html
  • 21. Federal University of Ceará Objetivo PRODUCTIVITY Mac OSX Windows/Linux Eclipse (Windows) equivalent Description ● Cmd+ ← Ctrl+Y Ctrl+D Delete line ● Cmd+Shift+ ← Ctrl+shift+ ← - Last edit location ● Cmd+Option+V Ctrl+Alt+V Alt+Shift+L Extract variable ● Cmd+Option+F Ctrl+Alt+F - Extract Field ● Cmd+Option+C Ctrl+Alt+C - Extract constant ● Cmd+Option+P Ctrl+Alt+P - Extract param ● Cmd+Option+M Ctrl+Alt+M Alt+Shift+M Extract Method ● Cmd+Option+T Ctrl+Alt+T Alt+Shift+Z Surround with ● Cmd+Option+/ Ctrl+Shift+/ Ctrl+Shift+/ Block Comment ● Cmd+/ Ctrl+/ Ctrl+Shift+C Inline Comment ● Cmd+P Ctrl+P Ctrl+Shift+Space Show method params ● Cmd+1 Alt+1 Alt+Shift+Q, P Show/hide Project view ● Cmd+ + Ctrl+ + - Expand block ● Cmd+ - Ctrl+ - - Contract block ● Cmd+J Ctrl+J - Live template
  • 22. Federal University of Ceará Objetivo PRODUCTIVITY Mac OSX Windows/Linux Eclipse (Windows) equivalent Description ● Cmd+K Ctrl+K Ctrl+# Commit vcs changes ● Cmd+T Ctrl+T - Update vcs changes ● Ctrl+V Ctrl+ ` - Version Control popup ● Ctrl+Enter Alt+Insert Ctrl+Shift+S Generate popup ● Ctrl+Tab Ctrl+Tab - Next tab ● Ctrl+Shift+Tab Ctrl+Shift+Tab - Previous tab ● Ctrl+R Shift+F10 Ctrl+F11 Run app ● Ctrl+D Shift+F9 F11 Debug app ● Ctrl+O Ctrl+O - Override method ● Ctrl+Up Alt+Up Ctrl+Shift+Up Navigate next method ● Ctrl+Down Alt+Down Ctrl+Shift+Down Navigate previous method ● Crtl+Option+O Ctrl+Alt+O Ctrl+Shift+O Organize imports ● Option+Space Ctrl+Shift+I - Quick definition ● Option+Enter Alt+Enter Ctrl+1 Quick Fix ● Shift+F6 Shift+F6 Alt+Shift+R Rename refactoring
  • 23. Federal University of Ceará Objetivo PRODUCTIVITY Android Studio have many many keyboard shortcuts, to learn some of the most useful, check the Philippe Breault work on Google+ and his blog. • https://plus.google.com/u/0/+PhilippeBreault/posts • https://github.com/pavlospt/Android-Studio-Tips-by-Philippe-Breault/wiki • http://www.developerphil.com/android-studio-tips-of-the-day-roundup-1/ • http://www.developerphil.com/android-studio-tips-of-the-day-roundup-2/
  • 24. Federal University of Ceará Thank you!!! Contact: edipo2s@gmail.com More info: http://ediposouza.com/iniciando-com-o-android-studio?lang=en