Give some tips to create an app that has options to get ecommerce selling data like 1) Product Name, 2) Product image, 3) Price etc

Actually, my final goal is to update bulk products in any ecommerce websites as a .csv file. So, I am making gradual approach/progress towards that.

But, while making .csv file, the image url should be customized in a specific way for each ecommerce website, I guess. So, users may have to do it manually after downloading all image files.

So, when person A forwards the ecommerce data to a Person B, he simply opens the file and the app will process everything and show all details to him including images. App also will provide 'Download all images' option. So, Person B will make custom url for those images and enter the image-urls into the app to get the final output as .csv file that can be used to do bulk product update on ecommerce websites.

I guess, it is possible to create one more text file (ListView/Label Text) that has only base64 data that are separated by :.

So, we have two files (or listview elements/Label Text) in the app.

If the base64 of file 1 = base64 of file 2, then convert base64 of file 2 into image and include it in the file 1 by replacing the same base64 data. Do it for complete list.

NOTE: File 1 contains all ecommmerce data including base64 but File 2 has only Base64 Data.

Guide me.

Or suggest me your ideas.

Is it more easy if I try producing pdf file instead of making base64 & trying to convert it back into image later?

If so, Person B has to download all images from pdf for producing custom urls. Later when he/she enters those urls into the app they can download .csv file.

I deleted your two posts here

because you have already asked them elsewhere, and also the guide has nothing to do with your enquiry.

1 Like

I thought that the discussion is related because that Topic is also about almost the same file that you gave to me.

If you followed it, and tried out the aia project, you will have seen (as indicated in the notes) that any files created are in the ASD, and that is where it ends, nothing to do with "uploading files", "splitting paragraphs" etc.

1 Like

Can you help me to use 'split text' feature? I tried these blocks but failed.

The text within FileContent variable is = : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaa. : bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb. hhhhhhhhhhhhh hhhhhhhhhhhhhhhhhhhhhhhhh hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh hhhhhhhhhhhhhhhhhhhhhhhhhhhh hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh hhhhhhhhhhhh. : ccccccccccccccccccccccccccc cccccccccccccccccccccccccccccc cccccccccccccccccccccccccccccc cccccccccccccccccccccccccccc cccccccccccccccccccccccccc.

I wish to seperate these texts into multiple paragraphs and show in label first and then I have to see each paragraph in list view.

Using companion, look at the output of split with Do It.

1 Like

Capture

Do It Result: [":"]

Do It Result: [":"]

I am not getting any result.

It's rather early to look for file contents in a Screen.Initialize, before your File Reads have come back with data.

1 Like

Yes, global.FileContent is also not producing any result.

Capture

Do It Result: com.google.appinventor.components.runtime.File@f86c0f3

Do It Result: com.google.appinventor.components.runtime.File@acfb4d3

image

Now, it is taking global variable data.

This is the wrong pattern.

The right way:

Screen.Initialize:
Read the File

File.GotText:
Grab the text and put it in a global variable,
analyze the global variable.

1 Like

Can you explain with blocks?

What do I have to give as fileName?

blocks - 2024-10-23T112836.213

Can you help me with blocks?

il try.

What mistake am I doing?