0
Q
如何让机器人
A
回答
0
试试这个:
final String selection = "mimetype_id = (select _id from mimetypes where mimetype = \"" +
vnd.android.cursor.item/group_membership + "\")";
Cursor cursor = getContentResolver().query(Data.CONTENT_URI,
new String[]{Phone.CONTACT_ID}, selection, null, null);
try {
if (cursor != null && cursor.moveToFirst()) {
do {
Log.i("Details", "Contact IDs" + cursor.getLong(cursor.getColumnIndex(Phone.CONTACT_ID)));
} while (cursor.moveToNext());
}
} finally {
if (cursor != null) {
cursor.close();
}
}
相关问题
- 1. 如何让机器人
- 2. 如何让机器人
- 3. 如何让机器人
- 4. 如何让机器人
- 5. 如何让机器人
- 6. 如何让机器人
- 7. 如何让机器人
- 8. 如何让机器人
- 9. 如何让机器人
- 10. 如何让机器人
- 11. 如何让机器人
- 12. 如何让机器人
- 13. 如何让机器人
- 14. 机器人 - 如何让用户时,它
- 15. 如何让机器人工作?
- 16. 如何让机器人的EditText列
- 17. 机器人 - 如何让内所发生
- 18. 如何让这个机器人工作?
- 19. 如何让机器人类型变成`:`?
- 20. CeeBot:让机器人倾斜
- 21. 机器人竞赛 - 我如何让多个机器人互相竞争
- 22. 在机器人机器人
- 23. Finch让机器人发出声音
- 24. 如何在机器人
- 25. 如何实现机器人
- 26. 如何使机器人
- 27. 如何检测机器人
- 28. 如何实现机器人
- 29. 如何在机器人
- 30. 如何实现机器人