2012-10-09 36 views
0

我做我的Android應用程序在這個我可以做檢查,並可以通過使用下面的代碼添加提示的foursquare插入。如何將照片添加到android的foursquare應用程序簽入

的檢查中:

Result<Checkin> result = getFoursquareApi().checkinsAdd(venueId, null, getString(R.string.checkin_msg), null, null,null,null,null); 

爲附加提示:

Result<CompleteTip> resultTip = getFoursquareApi().tipsAdd(venueId, Appsconstant.SOCIAL_NETWORK_MESSAGE, "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcRpdDBUIVfZo3tcyuNKZU_2lHjvMri6ChfQ03DetZITYPi-HI9-RA"); 

但在技巧中,我已經給了圖像的URL。但它並沒有增加小費。我做了什麼錯誤?以及如何添加提示圖像。任何人都可以幫助我。

回答

0

該API沒有說你可以添加一個圖像,只是你可以添加一個「感興趣的網址」這個提示。你在做什麼

ref:https://developer.foursquare.com/docs/tips/add

+0

k。是否有任何提示或檢查與張貼照片的源代碼。yes意味着可以給我一個酸性代碼爲 – neelsnallu

+0

我使用下面的代碼添加照片, – neelsnallu

+0

我用下面的代碼添加圖像。 結果 resultImg = getFoursquareApi()。photosAdd(null,null,venueId,null,null,null,null,null,data); – neelsnallu

相關問題