Phil Bayfield
  • Home
  • About
  • Photos
  • Contact

Android

A collection of 10 posts

Android

Using Android Data Binding adapters with Dagger 2

Updated 22/04/19 to include Kotlin code samples and use latest version of Dagger Android. The typical method of implementing a binding adapter using the Android Data Binding Library is to create

  • Phil Bayfield
    Phil Bayfield
2 min read
Android

Android Data Binding with Robolectric 3

Just over a week ago at Google I/O Google announced the new Data Binding library. If, like me, you were keen to give it a try and dropped it into an existing

  • Phil Bayfield
    Phil Bayfield
2 min read
Ghost

Offline editing app for Ghost gets some material sweetness

I started work on this back in September but it stalled due to other commitments and sat on the hard drive of my Mac for a few weeks. The release of Android 5.

  • Phil Bayfield
    Phil Bayfield
1 min read
Android

Styling the SearchView with AppCompat v21 (material theme)

Earlier versions of the AppCompat-v7 library conveniently exposed a huge number of styling attributes that were hidden in the standard holo themes. A number of these attributes allowed customisation of the SearchView widget

  • Phil Bayfield
    Phil Bayfield
3 min read
Moto X
Android

Moto X

Finally, after a 20,000 km trip starting in China and stopping of in Hong Kong and the USA, my Moto X has arrived! This is the walnut back with silver trim.

  • Phil Bayfield
    Phil Bayfield
1 min read
Android

Android PIN entry widget

In a number of Android projects I've worked on we've had a requirement for a PIN code entry screen, something which is sadly lacking from the Android SDK. I started working on this

  • Phil Bayfield
    Phil Bayfield
1 min read
Android

Updating navigation drawer icon to the material theme

Over the last couple of weeks many of the Google Android apps have been updated to support the Lollypop material theme. One of the noticeable changes is the new spinning hamburger for apps

  • Phil Bayfield
    Phil Bayfield
1 min read
Android

Updating Android apps to use the material theme

With the release of the Android Lollypop SDK, Google have also updated the support libraries. The good news is that the AppCompat library already contains support for the new material theme so you

  • Phil Bayfield
    Phil Bayfield
1 min read
Android

View source of any JAR in Android Studio

Although most of the good Android libraries are open source, occasionally you get stuck with a third party JAR or two that doesn't have source available, or good documentation, or both. Music streaming

  • Phil Bayfield
    Phil Bayfield
1 min read
Android

Installing sqlite on a rooted Android phone.

Many rooting tools install the sqlite3 binary by default, but the pre-rooted rom on my SGS seems to be an exception, so here is a guide to install it manually. You will need

  • Phil Bayfield
    Phil Bayfield
2 min read
Phil Bayfield © 2025
Latest Posts Facebook Twitter Ghost