Good day Peeps

I need help i had a major project going on,but this two problem i face leave me clueless. I need working examples to get them working.

1: place autocomplete api - I seen google created the api but the code weren't clear on how to apply the api into my customize google maps. 

This is where i attempt on how to use autocomplete. But when i had it ran on my phone the popup didn't work as it promise it would work.
http://stackoverflow.com/questions/20581175/autocomplete-textview-google-places-api

2: snaptoroad api - I had to use this for my major project implementation.

http://stackoverflow.com/questions/14444228/android-how-to-draw-route-directions-google-maps-api-v2-from-current-location-t

Above is where i tried for snap to road same thing i obtain null pointer exception. I'm really despo for help maybe you guys could help me. 

Any suggestion or tutorial introduction i will greatly appreciate. Thank You.