is there any way to set the timeout of Web.get, in case the server is off or bad connection,now, it's like 60 sec?
--
unfortunately that's not possible
but you probably could write your own web extension and add a property to adjust this...
more information about how to create an extension see the App Inventor Extensions document
however that will be more advanced and will require some Java skills...
--
unfortunately, I lack these skills... :-(
no body encountered this problem before(and solved it :-))??? really?
no body encountered this problem before(and solved it :-))??? really?
--
Have you tried devoting a nonrepeating inactive Clock component
to act as a watch dog timer for the Web.Get event?
When you issue the Web request, start (enable) the watchdog timer with whatever time period you want.
In the Web.Get event, disable the watchdog timer.
In the Watchdog timer event, regain control of your app to announce the web is down.
(I haven't tried this yet.)
--
댓글 없음:
댓글 쓰기