Initial version, only working on Android <= 4.1