Cover photo
Damian Mee
Works at Bitcoin Ecosystem
1,206 followers|1,708,750 views


Damian Mee

Shared publicly  - 
I find the lack of Android Marshmallow OTAs for Nexus 6 disappointing   :/
Add a comment...

Damian Mee

Shared publicly  - 
My personality type is INTJ-A. What's yours?

You can take the test here:
Jakub “Sandtalker” Kołakowski's profile photo
I've got ENFP-A :)
Add a comment...

Damian Mee

Shared publicly  - 
Get your shit together, Matt!
Tomáš Zvěřina (Tomucha)'s profile photoKonrad Burkowski's profile photo
Add a comment...

Damian Mee

Shared publicly  - 
Mesmerizing. Very mesmerizing.
Just, just when I pull the trigger on a Nexus 5X, I see a link to this video taken by the Nexus 6P. And now I'm cold and confused, whil... by Rita El Khoury in Google, News, Nexus 6P
30 comments on original post
Gabor Orosz's profile photo
Add a comment...

Damian Mee

Shared publicly  - 
Christopher Bajor's profile photo
Add a comment...

Damian Mee

Shared publicly  - 
A flowchart for background work, alarms, and your Android app
Pro-tip by +Ian Lake

For many apps, doing work in the background can be an important part of building a great experience. An alarm registered with AlarmManager ( is one way to schedule your app to be run sometime in the future, even if your app isn’t in the foreground. What alarm type and API should you use for your app or are alarms even the best option? Let’s go through some of the factors that should influence your opinion:

How often do you want to trigger?
For events less than 60 seconds apart, alarms aren’t the best choice: use the much more efficient Handler ( for frequent work.

Want to set a user visible alarm clock?
On API 21+ devices, new APIs allow you to set a user visible alarm via setAlarmClock(): the system UI may display the time/an icon and apps can retrieve the next alarm clock with getNextAlarmClock(). Note that alarms set with setAlarmClock() work even when the device/app is idle (similar to setExactAndAllowWhileIdle()): getting you as close to an exact wake up call as possible. For backward compatibility, you’ll follow the same guide below for a single alarm.

Wake up the device/app while idle (i.e., doze, app standby)?
On Android 6.0+ (API 23) devices, additional power-savings optimizations ( have been added in the form of Doze (triggered by a completely stationary, unplugged, and idle device) and App Standby (triggered by an unplugged device on idle apps that haven’t been used recently). You’ll use setAndAllowWhileIdle() for inexact and setExactAndAllowWhileIdle() for exact alarms if you need it to fire an alarm while in these idle states. If it can wait until the user returns to their device/your app, use the standard set() and setExact() to be the best Android citizen and save your user’s battery.

(We’ll be talking more specifically about Doze and App Standby later!)

Just a single alarm?
A single alarm can be set with the aptly named set() method. One thing to keep in mind is that on API 19+ devices when you target API 19+, the system will be treated as inexact, potentially batching alarms together - the alarm will never go off before the time specified, but may go off afterwards. If you have some flexibility in the start time but have a hard deadline, consider using setWindow() to gain more control over the exact time period to be used.

You can use setExact() for a precisely timed single alarms on API 19+ devices, but use these only when the exact timing is required (such as with a calendar reminder).

Need to repeat at a constant rate?
For repeating alarms, batching is the key to good battery life. setInexactRepeating() does exactly that. Prior to API 19, you can use one of the INTERVAL_ constants (such as INTERVAL_HOUR to batch alarms of the same interval. On API 19+ devices, all repeating alarms (no matter what the interval) set with setInexactRepeating() will be batched.

You’ll note there’s also setRepeating() - similar to set() the behavior changes with API 19 from exact to inexact repeating alarms, meaning if you are on an API 19+ device and target API 19+, this functions identically to setInexactRepeating(). If you really need exact repeating alarms on API 19+, set an exact alarm with setExact() and schedule the next alarm once your alarm has triggered - keep in mind the battery implications though!

BUT WAIT: should you even use alarms?
If you want to be as battery efficient as possible (and you should!), consider using JobScheduler ( on API 21+ devices or GcmNetworkManager ( on all Google Play services enabled devices of API 9+.

Supporting both one off and periodic work, these APIs lack the ability to wake from idle, but gain the ability to wait for network access, wait until the battery is charging, take advantage of automatic backoff and retry, persist across reboots, and batch jobs across the system (meaning lower battery usage!).

That’s a lot of good reasons to use JobScheduler and GcmNetworkManager so consider them strongly in your push to #BuildBetterApps
65 comments on original post
Soussi Mohamed's profile photo
Add a comment...

Damian Mee

Shared publicly  - 
Bad +Google Maps​, that's not how you treat your FABs! 
Damian Mee's profile photoMichał Tajchert's profile photo
+Damian Mee oh, so maybe custom view.
Add a comment...

Damian Mee

Shared publicly  - 
It's one of the best apps I've ever seen/used. It gave me the some WOW-feeling as Timely what it first came out.

EVERYTHING is just so beautifully crafted and very well thought through. Every interaction is a pleasant surprise usually enforced by an animation or a relevant, interesting and easily digestible fact or study.

Just brilliant. Install it now!
Get Science-based Coaching to increase your energy, feel vibrant health, lo...
Vasya Drobushkov's profile photo
Fa fa fabulous
Thanks man
Really well designed application. True material :)
Add a comment...

Damian Mee

Shared publicly  - 
Steve Case's profile photoRyan Peterson's profile photo
All those people struggling to get a picture.
Add a comment...

Damian Mee

Shared publicly  - 
Despite research telling us it’s a really bad idea, many of us end up working 50-hour weeks or more because we think we’ll get more done and reap the benefits later. And according to a study published last month involving 600,000 people, those of...
Add a comment...

Damian Mee

Shared publicly  - 
Just a math book in Taiwan

(I know that it's a peace sign in western cultures, but still...)
Martin Thielecke (mthie)'s profile photo
Add a comment...
Damian's Collections
In his circles
1,156 people
Have him in circles
1,206 people
Arnd J. Kästner's profile photo
Fanny Péraudeau's profile photo
Sinan KOZAK's profile photo
Bartoż Dębicki's profile photo
‫احمد العبد‬‎'s profile photo
Pravin Chandan Shive's profile photo
Zachary Cantor's profile photo
The Laundry's profile photo
Tanner Birf's profile photo
My way to become everything, keeps me pretty occupied...
Android coding magic, nodejs events desync slayer, bringing tomorrow today.
  • Bitcoin Ecosystem
    Freelancer, 2013 - present
  • invemax sp. z o.o.
    Android Developer, 2013 - 2013
    Developing Android apps for great startups, including +Elimidateapp
    Software Engineer, 2011 - 2013
    That IT guy, 2010 - 2010
Node.js & Android contractor in the Bitcoin space
I am: relativist, minimalist, perfectionist, atheist, developer, altruist, optimist, introvert and a psychonaut.

My motto:

do {
  try {
    great_success = true;

  } catch( UtterFailure uf ) {
    improve_or_change_idea_based_on( uf, ++experience );

} while(great_success);

Bragging rights
I have domesticated multiple unicorns. I'm the one responsible for inventing the rainbow gradient.
Collections Damian is following
Basic Information
Damian Mee's +1's are the things they like, agree with, or want to recommend.
ClearFocus: Pomodoro Timer - แอปพลิเคชัน Android ใน Google Play

ClearFocus is a time-management app which makes you more productive. Are you tired of wasting your time on distractions instead of focusing

AdVenture Capitalist – Apps para Android no Google Play

Welcome, eager young investor, to AdVenture Capitalist! Arguably the world's greatest Capitalism simulator! Have you always dreamed of ownin

Medium - Android Apps on Google Play

Welcome to Medium for Android. Read, recommend, highlight, and respond to stories that matter most to you. • A simple editor allows you to q

Google Handwriting Input – Android Apps on Google Play

Google Handwriting Input allows you to handwrite text on your phone or tablet in 82 languages. It supports printed and cursive writing, with

Translator, Dictionary - Waygo - Google Play Android 應用程式

Waygo Translator for Chinese, Japanese and Korean has arrived on Android!! Traveling to Asia? Learning Chinese, Japanese or Korean? Instantl

Progression - Fitness tracker - Android Apps on Google Play

Fitness tracking made simple, and beautiful. Seamlessly integrated with Dropbox to backup and sync your workout sessions and programs to all

The Startup Care Package!

Grab $4,000 worth of tools and services to help you build and grow your startup, completely free!

Lightopus - แอปพลิเคชัน Android ใน Google Play

What's New: Universal version and support Full HD devices.Go, Lightopus! You are the last of our kind. Go into the Abyss, save the Bulbies a

Memrise: Gratis, buffo, impara - App Android su Google Play

Cosa desideri imparare?Memrise è un Wikipedia di apprendimento: oltre 300,000 corsi creati e modificati dai membri iscritti per imparare:- O

Password Safe - Aplicaciones Android en Google Play

¿ Cansado de olvidar sus datos de acceso a cientos de servicios, apps y computadora ?¿ Quiere un modo seguro de guardar todas sus contraseña

UltraTuner - Chromatic Tuner - App Android su Google Play

UltraTuner features one of the fastest, smoothest and most responsive tuning engines of all the tuner apps on the market.UltraTuner is preci

Good Fucking Design Advice - แอปพลิเคชัน Android ใน Google Play

Have a fucking good day.Make sure to visit, too! มีวันที่ดีร่วมเพศตรวจสอบให้แน่ใจที่จะเยี่ยมชม www.GoodFucki

franco.Kernel updater - Aplicaciones de Android en Google Play

A well established top-100 app with one of the highest ratings on the entire Play Store!With a beautiful, fully updated with Material Design

Authenticator Plus - Android Apps on Google Play

Authenticator Plus generates 2-step verification codes to protect your accounts with your password and phone / tablet.With Authenticator Plu

Keyline Pushing - Android-Apps auf Google Play

In Material Design, all components align to an 8dp square baseline grid, except type and toolbar iconography, which align to a 4dp square ba

Asia Air Quality 亚洲空气质量 - แอปพลิเคชัน Android ใน Google Play

The Asia Air Quality widget shows the real-Time Air Quality Index (AQI) for more than 2000 stations/cities in Mainland China, Hong Kong, Tai

The Institute

"To those dark horses with the spirit to look up and see... a recondite family awaits." Welcome to the Jejune Institute, a mind-bending San

BTCChina BTC price

Shows BTCChina BTC price

Coffee and Tea are really good, but WiFi is painfully slow (usually <0.8Mbps). Great for meetings, not great for work.
Public - in the last week
reviewed in the last week
Good drinks, fast wifi (super fast uploads) and nice service. Recommend!
Public - a week ago
reviewed a week ago
46 reviews
Very lovely place with awesome breakfasts and very tasty sandwiches!
Public - 2 months ago
reviewed 2 months ago
This place is the best fake Starbucks I've visited. Coffee and snacks are great. WiFi however is so ridiculously broken that even if you somehow manage to get through the setup process, you'll be better off just recording your packets to floppy drives and individually walking them to headquarters of companies websites you want to visit. Go there only if you want to enjoy the peacefulness of the offline world or meet with someone.
Public - 2 months ago
reviewed 2 months ago