Transfer Listpicker tinydb data to new Phone

Is this case where does the file get saved, I do not find it in my device

It should be in your ASD:

image

you probably stored it in ASD...
what about providing a screenshot of your relevant blocks?
store it in shared storage instead

Taifun

Here,
SS data save

1 Like

This is probably failing

image

see here:

I did not get your point

To do this set the file scope to Legacy and use the following filename

/Download/data.csv

Taifun

A post was merged into an existing topic: Conflict between dictionary Values block and TinyDB GetEntries result

This is the aia file I am working on
BlossomFlowers_copy.aia (8.7 KB)

Is it possible to fix my issue in my aia and share it back?

image

your file will be saved to the shared Download directory.

I am not, however, happy with the csv structure, you may have trouble rebuilding it.

and how to get this data back to listpicker tinydb in a new phone?

in the same app but new phone

Therefore it might be easier to use an extension, for example

Other TinyDB extensions see App Inventor Extensions | Pura Vida Apps

Taifun

I am confused now

Is it possible to transfer the csv data to listpicker tinydb

What I understand is, that you have a listpicker, which uses some data and the data is stored in TinyDB.

What you have to add to your project is a TinyDB export and import functionality. You could use the mentioned extension for this.

Your user then uses your app to export TinyDB on device 1 into a file. Then the file is transferred to device 2 manually. After that the user starts you app on device 2 and imports TinyDB from the file

Taifun.

Thank you

I am getting each entry in one cell,
How to sort the csv data according to row and lines?

Use the list block that converts a csv table to a list list of lists.

Look through the list blocks for the list sorting blocks, in the advanced section.