Profile cover photo
Profile photo
Philippe Breault
2,920 followers
2,920 followers
About
Philippe Breault's posts

Post has attachment
Android Studio Tip of the Day: Toggle between text/design mode

Turns out that you can quickly toggle between the ui designer and the xml editor in with ctrl+shift+left/right on OSX and alt+shift+left/right on windows and linux.

#androidstudioprotip #tipoftheday #android #article #gde
Photo

Post has shared content
This was a lot of fun to record! 
Episodes 55 and 56 are out. GDE +Philippe Breault talks to +Donn Felker and me about some of the coolest and most useful customizations you can do with #AndroidStudio. Even the most seasoned of us IntelliJ users have something to pick up from Jedi master Phil

https://simplecast.com/s/4b49311d

https://simplecast.com/s/345de7da




Post has attachment
Pair programming with somebody who has a different keymap? Try Quick Switch Scheme "ctrl+`" (that's the control key plus the back quote)

#androidstudioprotip #tipoftheday #android #article #gde
Animated Photo

Post has shared content
What a great bunch of speakers we had this year! Thanks again to everyone who made it a great event!
Photo

Post has attachment
Oh, hey there, I just wrote a blog post about tracking the background and foreground state of your android app!

#androiddev   #gde   #android   #article  

Post has shared content
There were a lot of great announcements at #io16 but a small gem from the Support Lib talk was the ability to create more succinct AnimatedVectorDrawables using a new XML bundle format.

Previously to create an AnimatedVectorDrawable you would need at least 3 xml files to specify it:

1. A VectorDrawable you're going to animate.
2. One or many Animators to run.
3. An animated-vector definition, essentially tying the drawable and animator(s) together.

The new bundle format lets you specify this in a single file. Here's an example:

https://gist.github.com/nickbutcher/53e5d0f8cbd9e0b5b7687c9e8cb6e8b1

Notice the aapt namespace and usage; at build time, aapt will create the separate resources for you (1 & 2 in the list above) and reference them in the animated-vector. This requires Build Tools 24+ (currently in RC) but the output is backward compatible.

#AndroidDev

Post has shared content
Please update to Android Studio v2.1.1

We wanted to make you aware of an important security update for Android Studio.

Today we released the Android Studio 2.1.1 update. The incremental update addresses two security vulnerabilities in the underlying IntelliJ platform that affects all previous versions of Android Studio:

Built-in WebServer Vulnerabilities: A Cross-Site Request Forgery (CSRF) flaw in the IDE’s built-in WebServer could allow an attacker to access the local file system from a malicious web page without user consent.

Internal RPC Vulnerabilities: Over-permissive Cross-Origin Resource Sharing (CORS) settings could allow an attacker to access various internal API endpoints; gain access to data saved by the IDE; gather various meta-information, like IDE version; or open a project without permission.

We have had no reports of active customer exploitation or abuse of these newly reported issues, but it’s important that you update to this new version now.

JetBrains notified Google of two security issues that affect all versions of Android Studio and we worked together to develop a solution. These issues not only affect the Android Studio development environment but all JetBrains products built on IntelliJ Platform including IntelliJ IDEA. See JetBrains security posting here: http://blog.jetbrains.com/blog/2016/05/security-update-for-intellij-based-ides

We are offering security patches for versions 1.5.1, 2.0, and 2.1 of Android Studio to upgrade to v2.1.1. Simply go into Android Studio and check updates (Help → Check for Update [Windows/Linux] , Android Studio → Check for Updates [OS X]).

If you need to stay on Android Studio 1.5.x, we are also offering a zip file of v1.5.2, which includes the patch for the security vulnerabilities. Download the zip from Android Studio tools website (http://tools.android.com/download/studio/builds/1-5-2/) and manually install the zip package over your existing Android Studio installation. 

Post has attachment
Quick android studio tip: Enable "CamelHumps" words in "Editor->General->Smart Keys" to navigate in method and field names with the "alt" or "ctrl" key.

#androidstudioprotip #tipoftheday #android #article #gde
Animated Photo

Post has attachment
Great list! And I'm not saying only because adb idea is considered the most useful plugin ;)

Post has attachment
Want to learn Kotlin? Install this new plugin by jetbrains! It provides a nice ui over the Kotlin Koans
Wait while more posts are being loaded