SecUSo / privacy-friendly-shopping-list

Privacy Friendly App to create and manage shoppings lists on Android devices.
Apache License 2.0
63 stars 37 forks source link

is there an import/export function #80

Open archlute opened 4 years ago

archlute commented 4 years ago

would be nice to be able to sync shopping list, eg via import and export of shared list in txt format. Any way to implement this?Thanks

oleole39 commented 4 years ago

Hello archlute, At the moment you can at least export in txt format (will not take attached pictures into account) using the share function (via email, sms, etc.)

Duplicate of #8

archlute commented 4 years ago

This I saw, but how to reimport en edited shoppinglist as txt file without compromising the database of purchased items? The exported file does not show any purchased items.

How and where in the root folder system are these data stored? E.g. it could be synced via syncthing at least for rooted devices...

thanks again

oleole39 commented 4 years ago

As for where the data is stored, I read the app is using of an ORMlite database. So I guess the data is stored in there, namely in ShippingList.db (the filename might help you to find its full path).

I know nothing about ORMlite but I don't believe this can be edited via a text editor.

Now if your issue refers to backing up & syncing your lists (nevermind the file format), then this relates to the already existing topic I linked to in my previous answer.

However if your main concern is how to edit a list outside of the app (via a text editor using a keyboard for productivity reasons for instance), then you may want to dig in ORMlite documentation and/or (just an idea) experiment some hackish conversion from .txt or .csv to .db with a software such as SQLite Browser via a computer on a copy of your .db file... Or maybe someone else could help you better...

Kamuno commented 4 years ago

The full file name would be /data/data/privacyfriendlyshoppinglist.secuso.org.privacyfriendlyshoppinglist/databases/ShippingList.db but it is only accessible with root permissions because it is saved in the internal storage of the application.

We are currently working on this feature, but because we are only a small team working on many apps at the same time, I can not give a timeline as to when this feature will be finished.

PeterM-9 commented 10 months ago

Hi, any news on that feature? I have not seen it in any of the release notes, but I might just have missed its implementation.