Archive for September, 2011

30 minute guide to integrating Foursquare in your Android application

September 5th, 2011 ddewaele 9 comments
In this article, I’m going to show you how you can use Foursquare in your Android application using OAuth 2.0.

We’ll be using 

I’ve decided to use the foursquare-api-java, a project hosted at Google Code, as it offers a rich interface to interact with Foursquare. The same API calls are possible through the Google API client for Java, but it would require you to write your own model classes to do the JSON to Java translation.
I will post some sample code here on how this can be done with the Google APIs client library for java.

In the sample application hosted at Github, we’re going to display a map where the user can select a location. Upon selecting a location, we’ll load up a list of Foursquare venues that the user can select.
Upon selecting a venue, we’ll return to our map, put a marker on the map representing the venue, and allow the user to perform a checkin.

Continue reading “30 minute guide to integrating Foursquare in your Android application” »

Bookmark and Share