These scripts are a POC to demonstrate how to import Android SMS/MMS history into Chatty.
Find a file
Gilles Filippini 3ad0fc9294 Initial import
2022-03-18 23:59:45 +01:00
import_history_mms_sms Initial import 2022-03-18 23:59:45 +01:00
LICENSE Initial import 2022-03-18 23:59:45 +01:00
README Initial import 2022-03-18 23:59:45 +01:00
save_files Initial import 2022-03-18 23:59:45 +01:00
to_sqlite Initial import 2022-03-18 23:59:45 +01:00

These scripts are a POC to demonstrate how to import Android SMS/MMS history
into Chatty.

Here is how it works:
1- Export SMS/MMS from the Android device using [SMS Import / Export](https://github.com/tmo1/sms-ie)
2- Convert the generated JSON file into a SQLite database:
   $ ./to_sqlite <file.json> | sqlite3 <smsmms.db>
3- Save the MMS attachements
   $ ./save_files <smsmms.db>
4- Import into a *pre-existing* Chatty history database (You must have
   launched Chatty at least once):
   $ ./import_history_mms_sms <smsmms.db>

Et voilà!