SMS share plugin

Rating: 
5
Your rating: None Average: 5 (15 votes)

SMS share-plugin for nemotransferengine-qt5. Supports sharing mime-types "text/vcard" ie. contacts and "text/x-url" is. Links.

Please note after updating a device reboot or a display system restart required.

The plugin supports 3 sending modes of the contacts:

  • Short plaintext: only the contact name and it's phone numbers will be generated
  • Full plaintext: all contact details will be added
  • SmartMessaging vCard: this is a special format developed originally by Nokia. Old Nokia feature phones, and Sailfish OS supports it: the sent data could be imported on the receiver side as a simple vCard. Android known to be ignoring this method, iOS support is unknown.

Source code can be found here:

https://github.com/martonmiklos/harbour-sms-share-plugin

Translations:

The plugin serialization backend uses the strings of the contacts app. (sailfish-components-contacts-qt5 on the Pootle) If any of the placeholders in the generated SMS are incorrct head to the Pootle.

The UI strings could be translated, feel free to open up a Github PR or Issue.

Bug reporting:

Open up a terminal.

set LANG=<locale code>

start jolla-contacts

Share the vCard data from the command line output, and the resulted SMS text in a Github Issue. (Feel free to mangle personal details, the vCard keys are the most important.)

 

Screenshots: 
Application versions: 
AttachmentSizeDate
File harbour-sms-share-plugin-1.0-1.armv7hl.rpm19.06 KB17/11/2018 - 01:31
File harbour-sms-share-plugin-1.0-2.armv7hl.rpm19.7 KB17/11/2018 - 12:12
File harbour-sms-share-plugin-1.0-3.armv7hl.rpm19.93 KB17/11/2018 - 14:30
File harbour-sms-share-plugin-1.0-4.armv7hl.rpm20.21 KB23/08/2020 - 00:13
File harbour-sms-share-plugin-1.0-5.armv7hl.rpm20.3 KB23/08/2020 - 00:38
File harbour-sms-share-plugin-1.0.6-1.armv7hl.rpm19.45 KB23/08/2020 - 14:32
File harbour-sms-share-plugin-1.0.7-1.armv7hl.rpm20.22 KB30/08/2020 - 13:23
Changelog: 

- Force load the translations with QTranslator

Comments

explit's picture

Exact. On xa2 plus the size is also wrong

martonmiklos's picture

Slava has a solution in his qr share plugin to this issue, I'm going to leverage that soon

ferlanero's picture

--
[nemo@XperiaXA2 ~]$ jolla-contacts
[D] unknown:0 - Using Wayland-EGL
[W] CommHistoryDatabase::open:303 - Opened commhistory database
: "/home/nemo/.local/share/commhistory/commhistory.db"
[D] unknown:0 - Starting favorites query at 241 ms
[D] unknown:0 - Favorites queried in 518 ms
[D] unknown:0 - Starting metadata query at 567 ms
[D] unknown:0 - Starting online query at 786 ms
[D] unknown:0 - Online queried in 838 ms
[D] unknown:0 - All queried in 990 ms
[W] unknown:0 - Variant value is a QStringList but the property
's value type is neither CompoundType or ListType
[W] unknown:9 - file:///usr/lib/qt5/qml/Sailfish/TransferEngine
/ShareMethodItem.qml:9:5: QML Image: Cannot open: file:///usr/s
hare/nemo-transferengine/plugins/harbour-sms-share-plugin/icon.
svg
[W] unknown:9 - file:///usr/lib/qt5/qml/Sailfish/TransferEngine
/ShareMethodItem.qml:9:5: QML Image: Cannot open: file:///usr/s
hare/nemo-transferengine/plugins/harbour-sms-share-plugin/icon.
svg
[W] unknown:807 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageS
tack.qml:807: Error: Error while loading page: file:///usr/shar
e/nemo-transferengine/plugins/harbour-sms-share-plugin/SmsShare
.qml:-1 File not found

martonmiklos's picture

Yupp I messed it up, working on it!

ferlanero's picture

Awesome work! Thanks! My only complain now is the icon in Share menu. It looks really dissapointment in size compared with other overthere. Could it be fixable, please?

ferlanero's picture

Installs correctly on a Sony Xpetia XA2, SF3.3, but it doesn't work with warning "Error loading page":

carlosgonz's picture

I installed, but seems is not work. Xperia X SF3.3

sdworks's picture

Won't install on xperia xa2 with sfos 3.1 ...

Malakay's picture

Hi, I have just one question - why does this app looks on my phone like this? :D 
Could this be fixed?

https://ibb.co/7pDq4dQ
https://ibb.co/BC88H2Y

Xperia X, SFOS 3.0.3.10 Hossa

Functions working properly, but those descriptions are weird :D

PawelSpoon's picture

Hello Marton,

 i would like to separate the shareuipage.qml from my application

so that i can bring the apps into store and the sharing goes via open repos packages

can you help me with the pro file?

.

sumitpur's picture

How to do pkcon refresh? I m using Intex Aqua Fish.

Markkyboy's picture

You need to activate Developer Mode from Settings, once activated, you can then open the Terminal application, in the terminal you then type `devel-su pkcon refresh` (enter password you set in developer mode here)

Marold's picture

That looks brilliant, could You make direct option for forwarding sms on longpress as well ? That would be a blast. Thank You for Your work. Best regards

martonmiklos's picture

Where would you request this longpress?

 

sumitpur's picture

I am unable to install. It says " Nothing provides libnemotransferengine-qt5>=0.3.1 needed by harbour-sms-share-plugin-1.0.3.armv7hl " . Please help. I really require this. If possiable develop a search facility in the SMS so we can retaive a SMS. Thanks in advance.

Marold's picture

Maybe try pkcon refresh. I have installed it without any problems on sfos3

PawelSpoon's picture

Great !

anasyntes's picture

Brilliant - thank you!

dirksche's picture

Thank you very much for this feature

murfik's picture

Flash sms?

Thaodan's picture

Doesn't Android support sharing contacts via sms too?

PawelSpoon's picture

and dalvik has to run in order to be working.

this works without dalvik which is great !

martonmiklos's picture

Android does supports sharing SMS (via plaintext), but does not supports receiving (and importing) vCards sent in SmartMessage format.