0

AndroidモバイルアプリでAndroidクエリを使用しています。Facebook でのログインは非常に簡単です。

String appid = "7315348484584";
String permisions = "email";

FacebookHandle handle = new FacebookHandle(this, appid, permisions);

String url = "https://graph.facebook.com/me";
aq.auth(handle).ajax(url, JSONObject.class, this, "bfCallback");

コールバックで、ユーザー プロファイル情報 (名前、電子メール、性別など) を取得します。

public void bfCallback(String url, JSONObject json, AjaxStatus status)

Google アカウントで同じことを行うにはどうすればよいですか?

そう!ユーザーの Google アカウント情報を取得する必要があります: fname、lname、email、gender。これを行うにはどうすればよいですか -などを使用しないでください。 google play service

4

1 に答える 1

0

AQuery has a GoogleHandle class which handles authentication to a number of Google services such as Picasa, Spreadsheets, Youtube, Analytics, Blogger, Calendar, Contacts, and Maps as per the Supported Google Services table.

However, other services, such as Google Account information, is not available via AQuery.

于 2013-10-30T16:24:07.713 に答える