intial version
Backported for android 2.3+
KitKat :)