[英]Android: Getting NullPointerException while posting Image on Facebook
[英]Passing Array to Facebook Object while posting to users Timeline
如何將android中的數組傳遞給對象類型的Route屬性。 在“打開圖”中為應用程序創建對象類型時,可以選擇“路線屬性”。 我在任何地方都找不到!
該路線應在“地圖布局”中的Facebook時間軸上顯示。
謝謝!
馬特
我的猜測和您的猜測一樣好,但是請嘗試使用JSONObject
構造兼容的數組:
JSONObject routeProperty = new JSONObject();
routeProperty.put("Cat");
routeProperty.put("Dog");
然后調用routeProperty.toString()
將其傳遞到對象的參數或選項中。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.