All posts

Category: Android

RxJava

How to make Android more Rx – 5 tips & tricks

If you’re using RxJava in your daily routine, probably one day you’ll reach the point where you want to… put RxJava everywhere! Let me give you 5 practical pieces of advice. 

Read more

Publishing Android App on The Google Play Store

How to Publish an Android App on The Google Play Store – Useful Tips

Do you want to submit your Android app to the Google Play Store? Discover practical tips, useful links, crucial checklists – all in one place – and check out what has changed in the app publishing workflow! 

Read more

Android animation with transitions framework

Workcation App – Part 4. Shared Element Transition with RecyclerView and Scenes

Discover how to show details layout with Shared Element Transition with Scene Framework!

Read more

creating gradle plugin in kotlin

How to Create a Gradle Plugin in Kotlin

Are you going to create a Gradle plugin in Kotlin? Check out these useful tips!

Read more

Creating an Android Alarm Clock App using NFC

Building A Relentless Android Alarm Clock. Part 1 – NFC

Ever feel like falling prey to the well known snooze syndrome in the morning? Do you have a strong resolve in the evening to get up early, and then an even stronger resentment towards actually having to get up? Struggle no more, for the tables are finally turning! The rescue arrives disguised as a relentless […]

Read more

The basic Google Cast v3 tutorial

How to Implement Google Cast v3 in Your Android App – Helpful Library

Do you want to support Chromecast in your Android app so yours app’s users can stream media on their TVs? If yes, you will need to add Google Cast v3 into your Android App. I prepared for you small Android library – must-read which will make your implementation process simple, fast and agile. Enjoy!   

Read more

New Android O – what does it mean to you as a developer?

A few days ago, Google announced info about the new developer preview version of Android O: Android Developers: O-MG, the Developer Preview of Android O is here! Since Android N, Google is trying to take control over the battery-consuming background processes. It’s caused, for example, by implicit intents and apps registered for receiving broadcasts based […]

Read more

SpringAnimation header image

Introduction to SpringAnimation with examples

Have you ever wanted to do a bouncy animation like one of these on Android? If you have, you’re in for a treat! Dynamic-animation is a new module introduced in revision 25.3.0 of the Android Support Library. It provides a small set of classes for making realistic physics-based view animations. You might say “whatever, I’m just gonna slap a BounceInterpolator or an OvershootInterpolator on my […]

Read more

Workcation App – Part 3. RecyclerView interaction with Animated Markers

Welcome to the second of series of posts about my R&D (Research & Development) project I’ve made a while ago. In this blog posts, I want to share my solutions for problems I encountered during the development of an animation idea you’ll see below.

Read more

Workcation App – Part 2. Animating Markers with MapOverlayLayout

Welcome to the second of series of posts about my R&D (Research & Development) project I’ve made a while ago. In this blog posts, I want to share my solutions for problems I encountered during the development of an animation idea you’ll see below.

Read more

Workcation App – Part 1. Fragment custom transition

Welcome to the first of series of posts about my R&D (Research & Development) project I’ve made a while ago. In this blog posts, I want to share my solutions for problems I encountered during the development of an animation idea you’ll see below.

Read more

How to make generated Java test sources recognizable by IDE

This post describes how to work around an issue in Android Gradle Plugin concerning generated sources recognition by IDE.

Read more

Setting animation scale for Android UI tests

This post describes how to disable animations on Android device or AVD before running UI tests (especially Espresso-powered) in reliable way.

Read more

Android Gradle configurations

Article explains configuration provided by Android Gradle plugin.

Read more

How to handle Featured and MVP in simple Android app

Introduction During my company workcation in Bali, I noticed that the main mean of transport in Indonesia are scooters, they are used by everyone and I mean it, EVERYONE. They are so popular, that they almost replaced public transportation. With so high number of scooters, there have to be a lot of them needing repair. It […]

Read more

Espresso Test Recorder – A quick How-To

A quick how-to on using the newest feature of Android Studio – Espresso Test Recorder

Read more

/dev/full on OS X

How to simulate ENOSPC errors on OS X

Read more

What’s new in Android 7.0 Nougat?

An overview of new featuers in Android 7.0 Nougat.

Read more

Constraint Layout == Relative Layout on roids?

Sneak peek at Constraint Layout and new Layout Editor along with simple example.

Read more

Multi-Window Simple Examples: Part 3 – Launching another app

Simple example of how we can start another app in split-screen mode

Read more

Multi-Window Simple Examples: Part 2 – Drag and drop

Simple example of how to handle drag and drop during multi-window

Read more

Multi-Window Simple Examples: Part 1 – Screen changes

Simple example of how to handle screen changes during multi-window

Read more

Unit tests with custom JUnit rules, annotations and resources

Some advanced solutions for unit tests

Read more

RxJava – the production line

A bit different introduction to RxJava

Read more

Rosie – Let’s Dive Into Clean Architecture

Review of Rosie – Android framework to create application that follows principles of Clean Architecture.

Read more

Android Flip Animation – Explained

How to do a flip animation

Read more

Example of Realm with MVP and Dagger

How to use Realm in MVP pattern with Dagger

Read more

Realm in Android – simple example

Simple example of Realm database

Read more

How to integrate Gerrit with HipChat

You can find complete source code on Droids on Roids’ GitHub repository Background One of the useful features for Gerrit users is to receive notifications about events related to their changes. Gerrit contains built-in support for email notifications. You can just configure SMTP settings and voilà, bunch categories of emails will be sent. So far so […]

Read more

Meaningful Motion with Shared Element Transition and Circular Reveal Animation

The project can be found on DroidsOnRoids Github in Material Showcase repository.   First glance The circular reveal animation is one of the most popular animations in a Material Design paradigm. Following official android documentation: Reveal animations provide users visual continuity when you show or hide a group of UI elements. So with this kind of animation […]

Read more

How to start your Android development journey

Do you want to be an Android developer? I am sure that the answer is ‘Of course! I’ve always wanted to be an Android developer. It had been my dream since I remember. But the hardest thing was how to start the journey. First steps First of all you should buy the most expensive smartphone […]

Read more

Top Design Tools for Android App Developers

In this article I’d like to show you most useful (and free!) tools that you might like while designing your Android app. You’ll find plugins, web sites and more. So let’s start! 1. Device Metrics – web site Web site: https://design.google.com/devices/ Have you ever wondered what density has your phone? Or which device has tvdpi […]

Read more

How to Create Fancy Screen Transitions Used in Walkthrough in Android Google Drive App

Recently I found very cool introduction screen in Google Drive App visible above. I really like Google color transition between screens. It was my inspiration to create this cool color transition by myself.

Read more

Testing Dagger 2 with Espresso, Mockito & Robolectric

Dagger 2 brings us @Component and @Module – annotations which imply less boilerplate code, but unfortunately, make our project less testable. In this article, I will show a project, which is using Dagger 2 and is testable with frameworks like Mockito, Espresso or Robolectric.

Read more

How to Generate Java Sources Using buildSrc Gradle Project and Codemodel

Generate Java sources using buildSrc Gradle project and Codemodel. Check out these helpful tips.

Read more

Differences Between minSdkVersion, maxSdkVersion, compileSdkVersion and targetSdkVersion

Introduction There are 4 places in build.gradle where Android SDK version can be defined. This article describes their meanings and purposes. All of them are connected with the concept of API level. In general, it corresponds to Android system version and the newer device and system the higher API level is. Certain parts of Android […]

Read more

Creating PagerTitleStrip with Current Page Indicator Only

How to Create PagerTitleStrip with Current Page Indicator Only

Create PagerTitleStrip only with Current Page Indicator. Find out, how to do this!

Read more

avoid OutOfMemoryErrors

Using Processes to Avoid OutOfMemoryErrors

Do you want to increase available memory (heap) size? Check out this simple trick and avoid utOfMemoryErrors!

Read more