basic working for android 2 and 4