webviewer not showing fusion table data - PizzaApp

68 views
Skip to first unread message

still learning

unread,
Nov 9, 2016, 9:57:15 AM11/9/16
to MIT App Inventor Forum
Hi
my webviewer does not display the fusiontable.
Question relates to the PizzaTutorial and the PizzaApp.
1) I followed the instructions in the tutorial, used the template .aia file. Filled in the relevant .url .p12 and service account --> App works but no data displayed.
2) Then used Mark Spieglan's video tutorial https://www.youtube.com/watch?v=14jyD7_V1RA. checked the data again --> App works but no data displayed

I can:
- add records to the fusiontable thru the emulator, google drive, and my phone after downloading the .apk
- display the records on google drive, on the phone and PC
- display correctly any internet address codeing the address into the app inventor2 designer or the blocks variable e.g. http://www.google.com
I can't
- display any fusiontable record thru the webviewer on emulator or phone -after loading the .apk

any ideas what to do next?

Taifun

unread,
Nov 9, 2016, 10:47:24 AM11/9/16
to MIT App Inventor Forum
did you test using the companion app or after building the app?
sometimes you have to wait a few seconds until the table is displayed
also do not use the emulator to test this! 


Taifun

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

still learning

unread,
Nov 9, 2016, 11:43:37 AM11/9/16
to MIT App Inventor Forum
Hello Taifun
webviewer did not work yesterday nor today;-)
I've tested with AI companion, emulator and downloading onto my phone, before and after: always same result.
I did search the web: it seems that it works for some but not all users.
see: the already mentioned youtube tutorial --> only displays one line then stops. ... comment with same Problem.
see: your thread with Surendra Kapadia: same problem description --> not sure if he got it working.

I'll keep on reading and trying
werner

Taifun

unread,
Nov 9, 2016, 12:04:14 PM11/9/16
to MIT App Inventor Forum
1. use your device to test instead of the emulator
2. make sure to set the webviewer height to fill parent

and in case this does not help
try the Webviewer.ClearCaches and the Webviewer.GoHome methods

also to consider: The fusiontable will be updated immediately, but the webviewer displays the published table. Google needs normally a few seconds to refresh the published table, therefore be patient to view the updated result in the webviewer
If you like to view the result immediately, use a SELECT statement to query your table and display it in App Inventor...

Taifun

still learning

unread,
Nov 11, 2016, 10:26:33 AM11/11/16
to MIT App Inventor Forum
Hi
I did test with other phones and Android Versions
webview displaying fusiontable did work on
Android 4.4.2 - HTC One
Android 5.1.1 - Mi Redmi 3

webview did NOT display fusiontable at all - but www. addresses work fine
Android 4.2.2 - Huawei Y330

werner

Taifun

unread,
Nov 11, 2016, 12:02:47 PM11/11/16
to MIT App Inventor Forum
Please prepare an example as small as possible, which demonstrates this issue and add the project (aia file) into this thread together with exact instructions for how to elicit the error, so someone can take a look
Reply all
Reply to author
Forward
0 new messages