Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mfurtak/5600045 to your computer and use it in GitHub Desktop.
Save mfurtak/5600045 to your computer and use it in GitHub Desktop.
Notes from the talk, "What's New in Android Developer Tools" from Google I/O 2013

What's New in Android Developer Tools

Android Studio

  • Based on IntelliJ IDEA

IntelliJ Experience

  • Can warn you when you might be passing an incorrect variable based on a comparison of the variable name and the method name
  • Find action popup allows you to search for actions you can do by searching by their name

Project Support

  • Single Build System
  • Same build in the IDE as on the CI server
  • Based on Gradle
  • Deeply integrated into Android Studio
  • What you do in the build is reflected in the IDE
    • Example of having free/paid variants and debug vs production builds

What's better than Eclipse

  • Show live view of rendered layout on devices
  • Click on layout preview to jump to place in XML code
  • XML editor is tolerant to mistakes, and actually renders as much as possible around the problem area.
  • Links to trigger error recovery actions (Add missing attributes, etc)
  • Powerful visual grid layout editor
  • Automatic insertion of resource strings into the code
  • ResourceInt annotation
  • Nullable annotation
  • ServiceName annotation, records what enumerated values are correct
  • Show colors and icons in the gutter
  • Local Scopes
    • Lets you identify code in groups and color the tabs, file browser backgrounds, different colors to easily identify them.
  • Can specify "language" for strings, that validates the contents of a string as say XML.
    • Or gives you a regular expression tester for a regex you type

Support for Connected Applications

  • Built in support for using GCM
    • Generates a server project for you
    • Generates a REST interface based on a POJO
    • Deploy to AppEngine from the IDE
    • Generate client library
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment