Archive

Archive for the ‘OAuth’ Category

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

Improved Twitter OAuth for Android

August 8th, 2011 admin 15 comments
A couple of months ago, I published a post entitled A 30 minute guide to integrating Twitter in your Android application.. The post presented a sample Android application to integrate Twitter. Using the signpost library, the user was able to authorize our application to send tweets on his/her behalf. It seems that everyone is migrating to Oauth 2.0, but Twitter is still stuck at OAuth 1.0. Nevertheless, I still wanted to update the sample we did a couple of months ago for 3 reasons : 

Continue reading “Improved Twitter OAuth for Android” »

Bookmark and Share

Oauth 2.0 flow in Android

August 6th, 2011 ddewaele 32 comments
In this article, I’m going to show you how you can implement an OAuth 2.0 flow in Android.
We’ll be using 

In the sample application, we’re going to execute 1 authorized API call to the Latitude API. The call will return the current location of the user.

Continue reading “Oauth 2.0 flow in Android” »

Bookmark and Share
Categories: OAuth Tags: , ,