Fresh news from Droid zone
Hello, you're reading Infinum Android Sweets, bringing you the latest Android related news straight to your inbox every week.
Speed up your Android Studio
I use a 13” MacBook Pro at work these days. Android Studio frequently sent my machine into a tailspin. Over time, I’ve had to tweak and update my AS settings to make AS work well on the 13”. I figured I should post them here for posterity and the benefit of other AndroidDevs battling with deathly slow AS experiences. I’m posting the abridged instructions and linking to the blog posts that led me to these settings, if you care for the details.
Read More
Articles
A key ingredient to speed up modern software development is feature flags. But what is a feature flag precisely? Why should you care about them? How do you integrate them into your codebase? And how can we make them easy to use?
In this Android Memory Profiler tutorial, you’ll learn how to track memory allocation and create heap dumps using the Android Profiler.

Whether we’re building third-party clients for existing API services, or working on our own product that communicates with our own API, it’s likely that we might be working with authentication that uses a form of OAuth. This standard of authentication approach is something that we’re bound to use at some point in our careers, but can often feel a bit tedious to implement in our applications.
If you have ever run into the scenario where you need access to the currently running application on your Android device you know that there is always a grey area on how to go about retrieving this information. There is the now deprecated way of grabbing the running tasks from ActivityManager. What has replaced the usage statistics that once used to be managed and controlled by ActivityManager, is now migrated and confined to UsageStatsManager
Libraries
Bridge between RxJava 2 and RxJava 3.
Videos/Podcasts
Chet and Romain spoke with Anna Goldie from the Google Brain team about machine learning. If you ever wondered what the difference is between AI and machine learning or what deep neural networks are, then this episode is for you. To be clear, this show has nothing to do with Android, we just thought it would be an interesting topic.
Class of the week
An AutofillService is a service used to automatically fill the contents of the screen on behalf of a given user - for more information about autofill, read Autofill Framework.
Beyond Android
In the original Unix tradition, command-line options are single letters preceded by a single hyphen…The original Unix style evolved on slow ASR-33 teletypes that made terseness a virtue; thus the single-letter options.