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

I changed it into empty text box instead of list. It is working fine in tubs.aia app blocks. But, it is giving the image location instead of image. So, I am planning to convert images into base64 data, so later when it is shared, from the side of recipient the base64 data will be converted back into image. But, i am facing difficulty when I am trying to use base64 extension.

Because, when I try, the camera pictures that are captured through app is working well by generating base64 but other images from phone are not converted into base64. I don't know what is the reason.

Hi, I wish to share the Base64 data of image to whatsapp or email. I completed all the blocks except the last one. Can you help me?

NOTE: Base64 data is stored in Textbox. But, I don't know to share the contents that are within the textbox.

This specific problem is solved.

Thankyou very much. Next task is to put it successfully in List.

Hi, I am facing following error in this app
ecom.aia (35.0 KB)
. Please, help me.

The error shows your problem. Somewhere you are trying to select an item from a list that does not have an index of 5. Debug your blocks to find it. You do not say when it happens. Start there.

1 Like
1 Like

Your list is an empty string, but not a list
Taifun

1 Like

Is there any mistakes in these selected blocks?
ecom2.aia (35.0 KB)

Well, does it work for you as you expect, or not ?

If not, what does not work as expected ?

1 Like

global Base64 is wishful thinking

2 Likes

I shared only selected blocks of
ecom2.aia (35.0 KB)

I shall share the complete blocks here.

  1. WORKING: As expected, the image input is getting converted to base64 successfully.

  2. WORKING; As expected, the global variable 'Base64' is successfully storing the base64 data.

  3. NOT WORKING: When I installed and open the app and click 'Show Tools', I am facing error as 'Argument not accepted and base64 data is also shown in that error message'.

But, when I close the app and open the app again and click the 'Show tools' button (without giving new input) the app is showing following result. This is not the result I expected. This is failure. Help me.

My intention is to display base64 string data in the place of image1.

WORKED:
ecom_edit3.aia (35.0 KB)

Now I am facing two things together. App is getting stuck/hanged when I click 'Add Tool' button and I am getting successful result also only when I closed and opened the app and click 'Show Tools' button. Now, I can successfully share the data as well via whatsapp.

Thankyou for helping me.

NEXT TASK:

Next, I have to add another feature to this app, that is 1) Select Base64 data from phone (or recieve base64 data from another sender) and 2) Convert it back to image.

But, before that I have to solve this hanging/stucking issue of the app.

Sorry, when I waited for sometime when the app is hanged, I got this error message. how can i solve this. But, despite of this error message, app is working fine as well.

ecom_edit3.aia (35.0 KB)

This is the app that I created.

Your list is a string, but not a list
Taifun

1 Like

Can you explain with blocks. Because, I am modifying another app
tubs (1).aia (35.0 KB)

to create my app
ecom_edit3.aia (35.0 KB)

Taifun

1 Like

Okay, it worked. Thankyou very much.