Calories tracking app

hello, I am making a calorie tracking app for my mom using ai, Im using tiny DB so that you can continually track your calories throughout the day. I am running into a problem where whenever I reopen the app the list view name becomes an error. this only started happening after I created a delete function for users.
Screenshot 2025-12-08 10.57.38 AM



Screenshot 2025-12-08 10.56.21 AM
FoodieCalories.aia (41.9 KB)

Can you show us that error?
Also please provide readable screenshots of your relevant blocks...

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

when screen1 initialize, before viewing list of tinydb items, use if tinydb is not empty.

The error is a self made to display in the list view it displays if the tag is not found in tinyDB but this should not happen, as it repeats length of the tags in tinyDb but should just input the item's it found.

It would really help if you provided a readable screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun

Heres a readable screenshot and the .aia from earlier.

Use the companion app and Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.