Getting content for your AR browser – the Google Places API
After knowing how to obtain your GPS position and the orientation of the phone, you are now ready to integrate great content into the live view of the camera. Would it not be cool to physically explore points of interests, such as landmarks and shops around you? We will now show you how to integrate popular location-based services such as the Google Places API to achieve exactly this. For a successful integration into your application, you will need to perform the following steps:
Query for point of interests (POIs) around your current location
Parse the results and extract information belonging to the POIs
Visualize the information in your AR view
Before we start, you have to make sure that you have a valid API key for your application. For that you also need a Google account. You can obtain it by logging in with your Google account under https://code.google.com/apis/console.
For testing your application you can either use the default...