Problem with aab and apk file (and with aia!)

This AIA without a clock won't open either.
peqiin_Business (6).aia (1.6 MB)

You could replace that entire procedure with this:

You could also create a list/csv file to avoid having to load all the numbers one by one into the listview (but you have done that already...) - that must have taken forever!

You stuffed all your phone book entries into the Listviewer in the Designer.

I coded some attempts to extract the names and numbers from the ListViewer Elements list at run time in my Companion, to give you a CSV extract you could load from the Media folder at run time and extend with a third column for WhatsApp numbers, but the Right To Left encoding is breaking CSV conversion.

My objective is to divorce blocks from data details.
Your block count should not grow with your data count.

Find a spreadsheet that can handle mixed Right to Left text and fill three columns with

  • name
  • phone number
  • Whatsapp info

Do not attempt to make decisions based on selectionIndex, because you will eventually need to delete items from your contact list and that would move up all the index numbers.

Put your data in the table.

Your horrible blocks:

1 Like

I tried using the Sharing component with a JSOn Encoding of the ListView Elements, and got this mixed result:

phone book.txt (126.4 KB)

I had to route the text through Google Drive into a new text file.
The Companion crashed midway, so this might be incomplete.

I have also been having a look. it seems your listview data is corrupted.

Do you have a file with all these numbers and descriptions in good order ?

I was able to build the app on code.appinventor.mit.edu
if you need immediate relief, while you clean it up for the future.

The RTL text1 content has some long spacers in it, yet to be filtered out.
There is also this wierdness in a Do dump:
RTL Wierdness

My filter attempt:

I managed to handle most of the right to left stuff / any other issues presented in the listview data by grabbing the output from a Do it, pasting it into Geany, changing the filetype to json and tidying it up into a stringified json array. I only did about 20 entries. Saved the file, imported it into the app, used the file component to read the file and then created list elements with main and detailed text. A new listview was used to replace the original. This put the "text" above the number for each element.

Aia project compiled and ran OK when installed.

peqiin.json (1.4 KB)

1 Like

Hello, thank you to the best team
Very true, after I deleted all the profits it worked and the app opened successfully
Now all that's left is to help me build the app using your method, it looks much better....