Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Android の配列をオブジェクト タイプの Route プロパティに渡すにはどうすればよいですか。Route プロパティは、Open Graph でアプリケーションのオブジェクト タイプを作成する際のオプションです。私はどこにもこれを見つけることができません!
ルートは、マップ レイアウトの Facebook タイムラインに表示されます。
ありがとう!
マット
私の推測はあなたと同じくらい良いですがJSONObject、互換性のある配列を構築するためにを使用してみてください:
JSONObject
JSONObject routeProperty = new JSONObject(); routeProperty.put("Cat"); routeProperty.put("Dog");
次に、を呼び出しrouteProperty.toString()て、オブジェクトのパラメータまたはオプションに渡します。
routeProperty.toString()