Social media info retrieval, raw value extractor#806
Open
Higashi8 wants to merge 10 commits intomorenoh149:masterfrom
Open
Social media info retrieval, raw value extractor#806Higashi8 wants to merge 10 commits intomorenoh149:masterfrom
Higashi8 wants to merge 10 commits intomorenoh149:masterfrom
Conversation
added 10 commits
January 19, 2026 18:01
Closed
Owner
|
is this related to imAddresses: [ |
Author
|
@morenoh149 If yes, then this is not very related, because current version of the library returns only deprecated fields from contacts database. More about deprecation here: https://developer.android.com/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.Im I am adding app-specific data extraction by MIME type. for example, there is a contact with Skype and Telegram data: before: after: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Added social media info retrieval and a raw value extractor to access both implemented and unforeseen raw contact data.
Any feedback would be greatly appreciated.
Changes introduced
getAll: Added information from social networks (WhatsApp, Telegram, Facebook).
getContactDataValues(recordID, mimetype, columnsName): Extracts raw data by columns.
How is this implemented?
A SocialMediaItem object was added, which processes data from social networks and adds a new array (socialMedia) to the contact.
The getContactDataValues function performs a query by recordID, mimetype, and columnsName, and returns an array of raw values.
How to verify?
A “Raw data” button was added next to the “Delete” button to clearly demonstrate how the getContactDataValues function works. There you can also see examples of some social media data.
*
There is no implementation for iOS. The getContactDataValues function on iOS returns an empty array.