[SMS App] Displaying thumbnails in QML
Summary
-
The Android side pushes the bulk message packet to desktop. Unlike the previous implementation, the android side while creating the bulk SMS packet adds three extra fields if the message has multimedia attachment. these fields are generally (mimeType, partURI and Base64 String of the thumbnail).
-
At the desktop side, the ConversationModel class converts the base64 String back into QImage and provides it to the
ThumbnailProvider
class which basically inherits theQQuickImageProvider
class and helps in transferring QImage type from c++ to QML as source Url.
Edited by Aniket Kumar