How to make a Dynamic Listview Using WebViewer - NO-JSON

Please read first.

Again the same theme, but this time, without the need for JSON, which is why fewer blocks are used, and everything is developed in a cleaner way.

What I have done is send the data to the html file in CSV format, separated by commas and line breaks

Example:

Line1
https://www.shareicon.net/data/2016/10/11/841490_glasses_512x512.png,Boss,a,b,c,d,1\n

Line2
https://www.iconexperience.com/_img/g_collection_png/standard/256x256/delivery_man_parcel.png,Worker,a,b,c,d.2

line2 does not end in \n because it is the last data and there are no more lines after it. even so if you make a mistake and put a \n at the end, the code corrects that error.

The solution to not have to use JSON, I do it in the html file just look and study it.

@taifun @laravel59

listview_NOJSON.aia (33,1 KB)

1 Like

you might want to test the project using the apk file on another device(!) to find out, that it does not work anymore…

the following tip might help…

Yes, you also can upload html files as assets into App Inventor! There is only one special thing to consider: During development, you have to use the development path to the embedded html document:

file:///mnt/sdcard/AppInventor/assets/<NAME OF YOUR HTML FILE>.html

Before packaging the app, use the production path.

file:///android_asset/<NAME OF YOUR HTML FILE>.html

alternatively use the PathToAssets method from the tools extension
PathToAssets

Taifun

1 Like

I just wanna know like i want to do Dynamic cards how where do i do that? cant seem to find how to change the list as it is now? please help

I’m unable to download aia file. I need this urgently.
Can anyone provide me another link of this same app??
Please reply or DM.
Thanks in advance

I just corrected the link, check it now

wow! thanks its working