BT

Android Studio 1.3 Does C/C++ and More Material Design

| by Abel Avram Follow 9 Followers on May 29, 2015. Estimated reading time: 1 minute |

Google has announced Android Studio at I/O 2015, some of the most interesting features being: integration with JetBrains CLion, Android Design Support library, services integrations, more annotations and better emulator performance.

Google has partnered with JetBrains and has added CLion to Android Studio to provide support for C and C++. CLion offers all the basic functionality of a modern IDE: Code Completion, Code Generation, Quick Fixes (including between C++ and JNI code), Refactoring, Code Navigation and others. JetBrains announced CLion 1.0 about a month ago.

The Android Design Support library, which provides support for adding material design components and patterns, has added a number of components and features: Floating Action Button, Toolbar with Motion, TextInputLayout, Snackbar, Tab Layout, AppBar Layout, and CollapsingToolbarLayout. They are backward compatible with API v7, enabling developers to add a material design flavor to their apps.

There are 13 new annotations, including @WorkerThread to specify that a method should be called from a worker thread and not the UI thread, @Size to set a size constraint that should be respected by a caller, @IntRange/@FloatRange to specify an integer/float range for a value, @CheckResult to tell clients to validate a value, @CallSuper forcing one who overrides a method to call the super method, @ColorInt to flag an integer as representing a color, @RequiresPermission to signal that a certain method needs a certain permission. To support the new permission model introduced in Android M, Studio now has code completion for working with permissions.

Android Studio now is aware of various services, starting with Google Ads, Analytics, Sign-in, GCM, and others will be added later. Besides connecting to them, Studio will generate basic code for working with the respective services.

Regarding the emulator, Google has focused on stability and performance. They say the emulator is fast enough if run on a proper machine and properly configured. They have included support for a fingerprint reader. An Android Auto emulator is supposed to be provided later this year.

Android Studio 1.3 is available through the canary channel. Following a two-weeks cycle, the IDE will be moved through the Dev channel, then Beta, then released as Stable.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT