You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I would like to request integration with the opencontacts app to resolve contact names in SMS threads. Currently, Quik relies on the system contact book to display contact names for phone numbers. However, for users like me who prioritize privacy and store their contacts exclusively in opencontacts, the app only shows phone numbers in SMS threads. This makes it inconvenient to identify senders or recipients without memorizing their numbers.
Proposed Solution:
Query opencontacts for contact names based on phone numbers.
Use its ContentProvider if available:
Uri uri = Uri.parse("content://opencontacts/contacts");
Cursor cursor = getContentResolver().query(uri, null, null, null, null);
while (cursor.moveToNext()) {
String name = cursor.getString(cursor.getColumnIndex("name"));
String phone = cursor.getString(cursor.getColumnIndex("phone"));
// Map phone numbers to names
}
cursor.close();
As a fallback, access the opencontacts database directly:
SQLiteDatabase db = SQLiteDatabase.openDatabase(
"/data/data/opencontacts.open.com.opencontacts/databases/contacts.db",
null,
SQLiteDatabase.OPEN_READONLY
);
Cursor cursor = db.rawQuery("SELECT name, phone FROM contacts", null);
while (cursor.moveToNext()) {
String name = cursor.getString(0);
String phone = cursor.getString(1);
// Map phone numbers to names
}
cursor.close();
db.close();
Replace phone numbers in SMS threads with the resolved names, falling back to the number if no match is found.
Why This is Needed:
Users who prefer not to store contacts in the system contact book (e.g., for privacy reasons) currently cannot see names in SMS threads.
This feature will enhance the user experience for privacy-conscious users while maintaining the existing functionality for others.
Potential Impact:
Improves usability for users storing contacts in alternative apps like opencontacts.
Does not affect users who rely on the system contact book.
Description:
I would like to request integration with the opencontacts app to resolve contact names in SMS threads. Currently, Quik relies on the system contact book to display contact names for phone numbers. However, for users like me who prioritize privacy and store their contacts exclusively in opencontacts, the app only shows phone numbers in SMS threads. This makes it inconvenient to identify senders or recipients without memorizing their numbers.
Proposed Solution:
Query opencontacts for contact names based on phone numbers.
Use its ContentProvider if available:
Uri uri = Uri.parse("content://opencontacts/contacts");
Cursor cursor = getContentResolver().query(uri, null, null, null, null);
while (cursor.moveToNext()) {
String name = cursor.getString(cursor.getColumnIndex("name"));
String phone = cursor.getString(cursor.getColumnIndex("phone"));
// Map phone numbers to names
}
cursor.close();
As a fallback, access the opencontacts database directly:
SQLiteDatabase db = SQLiteDatabase.openDatabase(
"/data/data/opencontacts.open.com.opencontacts/databases/contacts.db",
null,
SQLiteDatabase.OPEN_READONLY
);
Cursor cursor = db.rawQuery("SELECT name, phone FROM contacts", null);
while (cursor.moveToNext()) {
String name = cursor.getString(0);
String phone = cursor.getString(1);
// Map phone numbers to names
}
cursor.close();
db.close();
Replace phone numbers in SMS threads with the resolved names, falling back to the number if no match is found.
Why This is Needed:
Users who prefer not to store contacts in the system contact book (e.g., for privacy reasons) currently cannot see names in SMS threads.
This feature will enhance the user experience for privacy-conscious users while maintaining the existing functionality for others.
Potential Impact:
Improves usability for users storing contacts in alternative apps like opencontacts.
Does not affect users who rely on the system contact book.
Thank you for considering this feature!
https://gitlab.com/sultanahamer/OpenContacts
The text was updated successfully, but these errors were encountered: