Hi,
If the user already has the foursquare app installed, you can use an
intent like this:
Intent intent = new Intent(Intent.ACTION_VIEW,
Uri.parse("
http://m.foursquare.com/checkin?vid=venueid"));
If the user does not have the app installed, it will resolve to a
mobile web browser experience.
If you'd like to just do a checkin yourself without using an intent
from the foursquare app, you can do that too. The code is all public
for the project:
http://code.google.com/p/foursquared/
you can see that all we're doing is using the public checkin api call:
http://api.foursquare.com/v1/checkin
see that method here for details:
http://groups.google.com/group/foursquare-api/web/api-documentation
the parameters should be straightforward, the only thing to note is
that you have to authenticate to make that call (ie. you'd have to get
the user to give you their foursquare credentials at some point).
Let me know if you have any questions with this,
Thanks,
Mark