D9690: Add contacts-reading plugin

Simon Redman noreply at phabricator.kde.org
Sun Mar 25 17:15:16 UTC 2018


sredman updated this revision to Diff 30532.
sredman added a comment.


  Upgrade contacts synchronization plugin to VCard-based API
  
  - Add ContactsHelper for reading all of the RAW_CONTACT_IDs which contribute a name to the Contacts database
  - Add package type and handler for requesting unique identifiers for every contact in the phone's database
  - Add method to ContactsHelper for extracting information from the contacts database given raw contact ids
  - Add network packets for requesting contact names given uIDs
  - Add ContactsHelper method for accessing the Data table
  - Add package type and handler for requesting contact phone numbers given a list of uIDs
  - Remove old interface for requesting random jumble of contact names + phone numbers
  - Add package type and handler for requesting contact phone numbers given a list of uIDs
  - Update Contacts plugin to use NetworkPacket instead of NetworkPackage
  - Change type of IDs parameter to Collection as the comments suggested they should be
  - Add ContactsHelper method for extracting vcards
  - Remove 'pictures' parameter from getVCards since it was not possible to use
  - Split vcard access into fast and slow, where fast requires API >= 21
  - Set contacts plugin to only load from SDK 18
  - Strip down contacts plugin for new VCards API
  - Merge remote-tracking branch 'origin/master' into contacts
  - Add metadata to outgoing vcards
  - Enable ContactsPlugin by default

REPOSITORY
  R225 KDE Connect - Android application

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D9690?vs=30360&id=30532

BRANCH
  contacts

REVISION DETAIL
  https://phabricator.kde.org/D9690

AFFECTED FILES
  build.gradle
  res/drawable/ic_album_art_placeholder.xml
  res/layout/activity_device.xml
  res/values/strings.xml
  src/org/kde/kdeconnect/Helpers/ContactsHelper.java
  src/org/kde/kdeconnect/Plugins/ContactsPlugin/ContactsPlugin.java
  src/org/kde/kdeconnect/Plugins/MprisPlugin/AlbumArtCache.java
  src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisActivity.java
  src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisMediaSession.java
  src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisPlugin.java
  src/org/kde/kdeconnect/Plugins/PluginFactory.java
  src/org/kde/kdeconnect/UserInterface/DeviceFragment.java
  src/org/kde/kdeconnect/UserInterface/PairingFragment.java

To: sredman, #kde_connect
Cc: andyholmes, mtijink
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20180325/9190b0f0/attachment.html>


More information about the KDEConnect mailing list