Saturday, March 24, 2012

[android-developers] send twitter status with geolcation using api

i have integrated twitter API in my android application using twitter4j API and i want to sent status with geolocation and for that i used this method

    public void updateStatus(String status,GeoLocation geo) throws Exception {
   
try {
        mTwitter
.updateStatus(status,geo);
   
} catch (TwitterException e) {
       
throw e;
   
}
}

and also the geo have

     geo=new GeoLocation(location.getLatitude(),location.getLongitude());

in result the mesage is posted but with no view location in the twit so can anyone help me to add my geo location to the twit status thx for replay

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment