Backwards compatibility down to API level 14. Not tested.