Posts tagged api
I’m seeing countless questions, literally on a daily basis on StackOverflow regarding using maps on Android. To be honest I’ve never come across these problems but it seems many people have trouble using the maps in their application, so I’ll provide a clear and easy set of instructions on how to do this.
- API key is incorrect
- You are using the standard Android emulator and not the Google APIs.
- You have extended Activity instead of MapActivity
I’ve got some requirements where I need to call a REST web service from an Android device, so I figured I’d get back to basics, and try to call a REST service through a simple Java application, just to see if I can get it working.
After trawling the web for what seemed like hours, I was finally able to come up with a simple yet effective solution. Consider the following