Kevin Chandra

unread,
Aug 20, 2016, 3:48:35 AM8/20/16
to mitappinv...@googlegroups.com
please look at this picture...

about two days ago i still can retrieve any data but now i couldn't access it at all with the same blocks...
i can't retrieve any web database but i still can store a data to the database...
please help me how to get this thing done for my homework thanks....
this is the url of the tinywebdb if you like to try....

Kevin Chandra

unread,
Aug 20, 2016, 4:21:50 AM8/20/16
to MIT App Inventor Forum

i've made a small change...

but that's not matter...


Taifun

unread,
Aug 20, 2016, 1:33:24 PM8/20/16
to MIT App Inventor Forum
use Do it to debug your blocks, see also tip 4 here
btw. you do not have to store the values additionally in global variables to display them later in labels...
also you might want to rename your components for better clarity of your blocks
instead of Label1 probably better to use lblLastName or lblAddress or something...

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook   http://www.appinventor.org/book2 ... the links are at the bottom of the Web page.  The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro  and the aia files for the projects in the book are here:  http://www.appinventor.org/bookFiles  
How to do a lot of basic things with App Inventor are described here:  http://www.appinventor.org/content/howDoYou/eventHandling  .

Also do the tutorials http://appinventor.mit.edu/explore/ai2/tutorials.html to learn the basics of App Inventor, then try something and follow the
 Top 5 Tips: How to learn  App Inventor

You will not find a tutorial, which does exactly what you are looking for. But doing the tutorials (not only reading a little bit) help you to understand, how things are working. This is important and this is the first step to do.

Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by  Taifun.         




Abraham Getzler

unread,
Aug 20, 2016, 9:17:15 PM8/20/16
to MIT App Inventor Forum
When you get a result back from TinyWebDB, check the value, not the tag.
See attached.
ABG

tinywebdb.jpg

Kevin Chandra

unread,
Aug 20, 2016, 11:27:46 PM8/20/16
to MIT App Inventor Forum
good day sir abraham.
thanks for the help...
it works again.
i don't believe it was just a simple little kitty mitty problem.
i thought my tinywebdb was broken somehow.
thanks again sir.

Kevin Chandra

unread,
Aug 20, 2016, 11:35:11 PM8/20/16
to MIT App Inventor Forum
good day sir taifun.
thanks for the advice and also really helpful for making a simple block instead of complicated like mine.
Reply all
Reply to author
Forward
0 new messages