Turns out the best ways was with a ViewBinder setup, I followed this answer in the end.
Android, using SimpleCursorAdapter to set colour not just strings
Once I knew this I also changed the column to be a Blob instead of VarChar to make it a bit nicer as well.
SimpleCursorAdapter.ViewBinder binder = new SimpleCursorAdapter.ViewBinder() {
@Override
public boolean setViewValue(View view, Cursor cursor, int columnIndex) {
String name = cursor.getColumnName(columnIndex);
if ("mac_address".equals(name)) {
byte[] macAddress = cursor.getBlob(columnIndex);
TextView textView = (TextView)view;
textView.setText(Target.getMacAddress(macAddress));
return true;
}
return false;
}
};