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 的“联系人”->“设置”中,我们有“排序方式”和“查看联系人姓名为”选项。有没有办法在另一个应用程序中获得这些偏好?这意味着我的应用程序有我自己的联系人列表版本。我需要这些以便对其进行相应的排序。
int sort_order = Settings.System.getInt(getContentResolver(),ContactsContract.Preferences.SORT_ORDER); inr display_order = Settings.System.getInt(getContentResolver(),ContactsContract.Preferences.DISPLAY_ORDER);