Web Service for online quiz

there is the following extension, which might be ineresting for you
Quiz Maker Extension by Marco
see also A Multiple Choice Quiz: How to work with the advanced features

Taifun

thanks for the reply again sir…i already followed and created a quiz using the guidelines or tutorial from the link you provided…but my problem with this is that it is offline…i want it to be online …i have some idea about how to do it like using tiny web db…but i have problem with web service which is part of the process to create an online quiz…following the procedure which is stated on the post that i linked , i stopped early in the procedure where i need to create a web service…it requires payment .so i posted here to know alternative web service that is free or is there any other way to create an online quiz aside using web service…
sorry for my grammar…btw
hope you understand what i am trying to communicate…

What was the web service you tried?

sir i have not tried it yet because i need to give credit card details which i dont have…the tutorial called it app engine for python 2…im here to search for alternative method, that require no payment if possible…

You could try:

AsteroidDB Extension

which is free for up to 10,000 records

or if you have your own hosted php server you can setup your own tinywebdb:

Your Own Secure php TinyWebDB

2 Likes

sir i already tried it and it seems like im in the middle of the process…i think i am done with storing my data using asteroidb .but i have problems with how i am going to retrieve tglhe data…i create a separate app to retrieve the data using a get value block of asteroidDB…but when o tried to open the app for testing…it doesnt load my data…

It would really help if you provided a 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


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


sir taifun, this is my blocks…i want to retrieve the data which i stored in a web service and display it in listviewer

well, do you want to use AsteroidDB or TinyWebDB?
a mixture of both will not work...
see again the documenttion

Taifun

1 Like

sorry sir for the wrong screenshot! this is the right one…


can you help me sir figure out why the data cant be retrieved and displayed in listviewer??
it seems the problem is in the blocks…i only used asteroid db…

use Do it to debug your blocks
see tip 4 here https://puravidaapps.com/learn.php

EDIT: how díd you store the data with these tags?

Taifun

1 Like

Did you setup your AsteroidDB instance? AsteroidDB is just a Python app which needs to be installed an cloud application service.

i dont know what instance means…but what i did only is i create an account with heroku web service…then create an app…i used the url provided by heroku to store my data…sorry for my ignorance for i am a newbie to appinventor…actually im not a programmer or developer…but i already learned how to create some apps with appinventor…did i miss some step??

Maybe Robert...the documentation for that database is very basic and there is no example tutorial showing how to build and use the database.

Since it is a cloned copy of a TinyWebDB, I would find a tutorial showing how to use the TinyWebDB and substitute the equivalent controls using asteroid. You might start with the TinyWebDB example
here Chapter 22. Databases under the heading Shared Data and TinyWebDB That might get you started on the right track.


sir this is the block which i used to store my data…then i created a separate app to retrieve the data but i cant retrieve it using the blocks that i previously attached in this thread…

Actually I have a documentation website as I added to the original topic which includes detailed information about AsteroidDB. These informations was long to put them in one topic, so I created this wiki.

https://ysfchn.gitbook.io/asteroiddb/setup-asteroiddb/host#heroku

Did you created the app with the link I provided? Or did you created an blank app?

You can't retrieve data with Store block, replace them with GetValue block so you will able to access your data.

1 Like

i already used the get block…i tried to find out the problem…i revised some blocks and after that…i test my app …and this error occured

Can you test it by using another connection? Probably it is because of your connection.

You can also try replacing http:// with https:// (or replace https:// with http://) text in Database URL property.

Also seen here:

https://groups.google.com/forum/m/#!topic/mitappinventortest/IkqjCMPtKZ8

sir i already made online quiz app using asteroidDB…but i cant retrieve all data using get all block.i need it for monitoring purposes.it prompts that i need to set a password in order to use the feature…but i am confused about this…i already set a password… is this only what i should do??? i think it should have next step but what is it?? having a password, i know i need a field to put a text there in order test if it is matched with set password…

I added this feature to prevent data leaks and for security.

There is a Password property in the AsteroidDB blocks, enter your password which you set and add it under Screen1.Initialize (or any place where before calling AsteroidDB)

If you still have problems about AsteroidDB, you can PM me by clicking my profile and click "Message".