Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Android Studio

Paresh Mayani
September 28, 2013

Android Studio

Introduction to Android studio, this was presented at GDG DevFest Kathmandu (Nepal).

Paresh Mayani

September 28, 2013
Tweet

More Decks by Paresh Mayani

Other Decks in Technology

Transcript

  1. 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
  2. • Powerful code editing (smart editing, code refactoring) • Rich

    layout Editor • Gradle-based build support @pareshmayani
  3. • Powerful code editing (smart editing, code refactoring) • Rich

    layout Editor • Gradle-based build support • Maven support @pareshmayani
  4. • Powerful code editing (smart editing, code refactoring) • Rich

    layout Editor • Gradle-based build support • Maven support • Template based wizards @pareshmayani
  5. • Powerful code editing (smart editing, code refactoring) • Rich

    layout Editor • Gradle-based build support • Maven support • Template based wizards • Lint tool analysis @pareshmayani
  6. • 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
  7. • Gradle is an advanced build management system based on

    Groovy • Its an Open source build system @pareshmayani
  8. • Gradle is an advanced build management system based on

    Groovy • Its an Open source build system • Combines the power of Ant and Maven @pareshmayani
  9. • Dependency Management (Flexible approach to dependency management that can

    reuse existing maven repositories or reference local JARs) @pareshmayani
  10. • A single build system (Gradle is the authoritative build

    across the IDE and the command-line.) @pareshmayani
  11. • Product Flavors (Free & Paid version) • Build Variants

    (Play store OR Amazon OR Any other store) • Build Type (Debug, QA, Release) @pareshmayani
  12. • Binary Bundles for Libaries (.aar) (Gradle supports the new

    .aar binary bundle format for the library projects) @pareshmayani
  13. Ant Dependency Management Compiled with ANDROID APK All source &

    JARs are Combined into APK Source code files & Libs are stored together @pareshmayani
  14. Maven Builds Dependency Management Compiled with ANDROID APK All source

    & JARs are Combined into APK Maven Central Respository Read pom.xml Get dependencies Source code files @pareshmayani
  15. 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
  16. Dracula “Darcula” Theme File > Settings > IDE Settings >

    Appearance > Theme: Darcula @pareshmayani
  17. Device framed screen capture New things: 1. Frame Capture 2.

    Drop Shadow 3. Screen Glare @pareshmayani
  18. 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
  19. Get documentation To quickly see the documentation for the class

    or method used at the editor's caret, press Ctrl+Q @pareshmayani
  20. All the Keyboard Shortcuts • Help => Default Keymap Reference

    (To view all the keyboard shotcuts) @pareshmayani
  21. 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