Error 1109 url not valid

1,909 views
Skip to first unread message

ray

unread,
Feb 20, 2016, 4:32:48 PM2/20/16
to MIT App Inventor Forum

Keep getting the error 1109:the specified url is not valid, so i use the do it option and copy the link it produces and post it in a browers and it works perfect. Any ideas what iam doing wrong?

Taifun

unread,
Feb 20, 2016, 6:01:32 PM2/20/16
to MIT App Inventor Forum
what is the timer interval of the clock component?
what are the default values of the labels?
you might want to disable the clock in the beginning and enable it after you received a correct location in the location changed event

to set the url and to call web.get should be together, first set the url then call web.get
in the web.gottext event you might want to display the response content in a label


Taifun

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

ray

unread,
Feb 20, 2016, 11:19:31 PM2/20/16
to MIT App Inventor Forum

what am i doing wrong?

Abraham Getzler

unread,
Feb 21, 2016, 9:16:18 AM2/21/16
to MIT App Inventor Forum
Any ideas what iam doing wrong?

It's like you are living life backwards in time.

The things you should do second, you are doing first.
The things you should do first, you are doing second.
 
if Fix.

ABG

Taifun

unread,
Feb 21, 2016, 10:06:20 AM2/21/16
to MIT App Inventor Forum
read again my previous answer and don't hesitate to provide some answers to our questions..
Taifun

ray

unread,
Feb 21, 2016, 10:52:32 AM2/21/16
to MIT App Inventor Forum
Disabled timer but the interval was 1000. Default value of the labels is 0.

ray

unread,
Feb 21, 2016, 10:59:55 AM2/21/16
to MIT App Inventor Forum

I believe i got it right this time. How does this look?

Taifun

unread,
Feb 21, 2016, 11:19:21 AM2/21/16
to MIT App Inventor Forum
well, I would display the response content in a label, else you will not see, if an error was returned...
in the Web.GotText event try instead
set Label1.Text to get responseContent



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.         



ray

unread,
Feb 21, 2016, 12:47:28 PM2/21/16
to MIT App Inventor Forum
Iam confused, in the urlbutton.click i have it set to show the url from web2 in the label and it works. if i remove that and use set label.text with responsecontent in the web2.gottext nothing shows up. everything is working like it should the way i currently have it.

Taifun

unread,
Feb 21, 2016, 4:03:02 PM2/21/16
to MIT App Inventor Forum
if i remove that and use set label.text with responsecontent in the web2.gottext nothing shows up. 
if no error shows up in the web.gottext event, then it's fine
to set the local variable url to something does not make sense...
Taifun
Reply all
Reply to author
Forward
0 new messages