Need API level check here. Will crash on API level 10.