David Gonzalez

Android Software Craftsman

Introduction to Google Eddystone

Bluetooth beacons are transmitters that use Bluetooth Low Energy 4.0 (BLE) to broadcast signals that can be heard by compatible or smart devices. These transmitters can be powered by batteries or a fixed power source such as a USB adapter. When a smart device is in a beacon’s proximity, the beacon will automatically recognize it and will be able to interact with that device.

A few weeks ago, we were lucky enough to be introduced to the Eddystone project by the team here in London. It’s certainly a very interesting project and I thought it’d be a good idea to share our experience.

Yahnac Meets the Design Support Library

It’s been a while since Yahnac has received some love. There were several features I wanted to add and also some very good ideas worth exploring.

A fully featured Hacker News client needs to allow the user to sign in, vote stories and reply to comments. Finally, all those features are now available in Yahnac. If you are curious to read about the journey to complete those features and the use of the Design Support Library to do so please read on.

Introducing Yahnac: Where RxJava Meets Firebase and Content Providers

What’s Yahnac you might ask? Yet another Hacker News client, because there are never enough Hacker News clients out there!

For those who don’t know, Hacker News is a social news website focusing on computer science and entrepreneurship and it is run by the startup incubator Y Combinator. In general, content that can be submitted is defined as “anything that gratifies one’s intellectual curiosity”.

Not so long ago Y Combinator announced a long awaited API for Hacker News. Although it was pretty basic and simple, the most exciting piece of news to me was that the API was built using Firebase.

In terms of features, Yahnac allows you to read all Hacker News content from Top Stories to Jobs. On top of that, you’ll be able to add Bookmarks and keep them as long as you like.

If you are interested in knowing how Yahnac has been built, please do Read on!

Building Applications for Android TV

By now you all have heard about the new Android release and almost all of you have played with new API and probably experimented with Material Design.

I have to say though, that one of the things that I’m most excited about is Android TV. I was very much into it before it was cool but never got the chance to actually get hands on. Happily this has changed now and I’ll be writing a series of posts about developing for Android TV, how to start, how to make your existing app compatible and how to make the most of it.

If you are interested, please read on!

All Your Gestures Belong to Fenster

In the previous post we showed how to implement some basic gestures and control the MediaPlayer.

Today we are going a step further by implementing multitouch gestures. So far we can control the progress of a video but that’s not enough. If we want full control over the MediaPlayer we need to be able to change the volume, adjust the brightness and skip the video forward and backwards.

Using Gestures to Control the Media Player

In the previous post we explained a way of displaying a customised Media Player controller, which as we saw, it’s very useful if we need customised actions or UI for that controller.

This time we want to go a step forward and introduce a new way of interacting with the Media Player. The idea is to use gestures in order to lower or raise the volume, seek forward and backwards and to skip the video for 30 seconds.

I’m a big fan of MX Player and always wanted to implement the gesture detection that they introduced.

How to Use a TextureView to Display a Video With Custom Media Player Controls

For the past months at Novoda I’ve been working on several video applications ARTE, Digital Concert Hall and MUBI.

As you might figure by now, the common feature of these applications is to display a video with customised media player controls. I thought it would be a good time to share some knowledge and show some ideas around video playing on Android. A couple of months ago I a gave a talk about it at Droidcon Berlin showing some code but I never had the proper amount of time to make it into a library.

One Month Using a Standing Desk

Why not? That’s what I said to myself. After reading a lot of interesting posts and information about standing desks I decided to give it a go. It can’t harm, right? I mean worst case scenario one could just lay on one of the couches around the office and rest. Now, after one month using a standing desk I can’t be clearer about it, I’m not sitting anymore.