Updated android sdk to 4.0, and updated code reflect changes is the api.