Check out this sample code. Assuming you are using a Jive App that is linked to a Place or Action context, at which point you need to know "Where you are" so you can apply the proper information in your app.