Re: How to access SMS database in Sailfish?
human-readable import/export of SMS on sailfish is mission critical before i can start using jolla as a primary phone.
likewise with call log and contacts {MMS would be nice too} i also dont care what format is used, as long as its human-readable, well-structured, and validatable. however, i personally would prefer a platform-independent solution, preferably one that just reads/writes the sqlite database so that it can be done on a faster box. as soon as i get a jolla {usa, so sad} this will be the first thing i investigate coding up. -a sqlite solution will be complicated. it will also be brittle, since the libcomm interfacing impl and the sql table structure could change -things aside from libcommhistory might be in the sqlite db, so this might involve risk in replacing the db. -if the jolla code that handles the sqlite db is open and modular, it might be adaptable for this purpose |
Re: How to access SMS database in Sailfish?
Quote:
Quote:
There is a basic JSON format in commhistory-tool for importing messages right now, primarily meant for predefined content. That may eventually be extended into a full import/export format, to replace the current fragile binary one. See https://github.com/nemomobile/libcom...tool.cpp#L1112 There's nothing to export readable call logs right now, but they are also managed by libcommhistory. I'm happy to see so much interest. Patches are always welcome.. ;) |
Re: How to access SMS database in Sailfish?
this is all REALLY good news, thanks.
full json import/export would be perfect {with my n9, i am currently entirely dependent on https://github.com/wwwjfy/MeegoSMSBackupRestore} out of curiousity, what sort of contacts metadata is non-exportable to vcard? {only things i can imagine are for tie-in with awful apps like skype or wazapp} |
Re: How to access SMS database in Sailfish?
I've hacked up the smsImporter today, I've tested it on nemo since I don't have a device, so no guarantee for it's functionality.
Running the binary with the exported csv as argument imports everything Binary: http://cdnm.at/~christian/Harmattan-SMS-Boat/smsImport Source: https://github.com/merlin1991/Harmat...port/smsIm.cpp edit: Thanks to a tip from jbrooks it works now perfectly, no more segfaults. The new binary is available at the link above. |
Re: How to access SMS database in Sailfish?
Quote:
How can I use these tools (smsExport, smsImport) on N9 and Jolla respectively? Simply get the binaries in each device and then execute from a terminal? Any simple examples? |
Re: How to access SMS database in Sailfish?
Quote:
smsExport just prints everything to stdout so do Code:
./smsExport > somefile.csv Code:
./smsImport somefile.csv |
Re: How to access SMS database in Sailfish?
Hello,
I'am interested too but to import SMS from symbian device, i have found a way to export the SMS in XML How can-i see the fields to import into libcommhistory ? |
Re: How to access SMS database in Sailfish?
Quote:
|
Re: How to access SMS database in Sailfish?
Quote:
/bin/chmod +x path-to/smsExport /bin is not in PATH as standard, may be your issue |
Re: How to access SMS database in Sailfish?
Quote:
Now, I've manage to run it (as user, via ssh), as mentioned, from "home", and it does: Code:
./smsExport |
All times are GMT. The time now is 17:03. |
vBulletin® Version 3.8.8