Exploring Android Nougat 7.1 App Shortcuts

Google has brought Android Nougat to its second iteration with the 7.1 version (API 25), but this one is not a minor release, as a matter of fact it bundles some interesting features under the hood. One of these extra features is App Shortcuts. TL;DR App Shortcuts are…

Creating a watch face with Android Wear API | Part 1

When it was first launched, Android Wear stirred a lot of interest among the development community, especially among the developers who saw the opportunity of developing customised watchfaces for their smartwatches. Unfortunately, the first API realease didn't include official means of creating a watchface and those who wanted to achieve…

Smart background tasks with JobScheduler

The new release of Android 5.0 provides developers over 5000 new APIs to play with. One of my favourite component that was relseased with the new SDK is JobScheduler. Briefly: JobScheduler API that lets you optimize battery life by defining jobs for the system to run asynchronously at a…

A curious case of SyncAdapter syncing

tl;dr Any modification (add, remove, change password) to any Account from the AccountManager will trigger a sync for all of the system's SyncAdapters, including the one you've just created in your app! Context In my attempt to better understand how a SyncAdapter works, I've followed the official documentation and…

Force your SyncAdapter to sync

NOTE: This is not a tutorial of what is or how to create your own SyncAdapter. If you're looking for this, the Android developer doc is your friend! I've been recently playing with SyncAdapter and I found myself in the situation where I have to trigger a sync on user…

Welcome

Hi there! I'm Andrei Catinean, a passionate Android Software Craftsman. I've finally decided to set up a blog in order to share my personal experiences on Android development and software in general. If you want to know more about me go to the About page.…