找不到Facebook联系人在RawContacts找不到、联系人、Facebook、RawContacts

由网友(倪還媞没陪硪菿蕞後)分享简介:我试图建立一个联络人 - 管理应用程序。在我的手机我有一对夫妇的帐户,包括Facebook和HTC的Facebook联系人。出于某种原因,我不能检索的 RawContacts 表这些接触 ContactsContract :I'm trying to build a contacts-managing applica...

我试图建立一个联络人 - 管理应用程序。在我的手机我有一对夫妇的帐户,包括Facebook和HTC的Facebook联系人。出于某种原因,我不能检索的 RawContacts 表这些接触 ContactsContract

I'm trying to build a contacts-managing application. On my phone I have contacts from a couple of accounts including Facebook and HTC Facebook. For some reason I cannot retrieve these contacts from the RawContacts table of ContactsContract:

managedQuery(ContactsContract.RawContacts.CONTENT_URI, new String[] {
    ContactsContract.RawContacts._ID,
    ContactsContract.RawContacts.CONTACT_ID,
    ContactsContract.RawContacts.ACCOUNT_NAME,
    ContactsContract.RawContacts.ACCOUNT_TYPE,
}, ContactsContract.RawContacts.ACCOUNT_TYPE + " = 'com.facebook.auth.login'", null, null)

该查询返回任何结果。如果我repace与 com.htc.socialnetwork.facebook 帐户类型,我还是没有结果。上有我的电话很多Facebook联系人;如何找回它们?

This query returns no results. If I repace the account type with com.htc.socialnetwork.facebook, I still get no results. There are many Facebook contacts on my phone; how to retrieve them?

推荐答案

是的,Facebook联系人固定,但有一点偷偷摸摸的SQLite注射被劫持。 NO-我不打算在这里发布此页面上,但有不只是使用Facebook的认证,并获得了接触这样任何理由吗? Facebook的联系人真的没有任何东西在他们有用无论如何,它只是更安全,更可能所有的工作

Yes, the Facebook contacts are secured, but can be hijacked with a little sneaky SQLite Injection. NO- I am not going to post here on this page, but is there any reason you do not just use Facebook authentication and get the contacts THAT way? The Facebook contacts don't really have anything useful in them anyway, and it is just more secure and more likely to work ALL the

阅读全文

相关推荐

最新文章