Hi.
Is it possible
to popup the "connection to the internet" dialog
to the user
while my application loads? (welcome screen)
If users wont connect (cancel or no internet found) then my widget should exit.
Please help.
Thanks in advance.
Hi.
Is it possible
to popup the "connection to the internet" dialog
to the user
while my application loads? (welcome screen)
If users wont connect (cancel or no internet found) then my widget should exit.
Please help.
Thanks in advance.
Last edited by Kabamaru_Igano; 2010-10-06 at 14:59.
Hello,
You cannot explicitly prompt the "allow widget to connect network" dialog, but you could for example do a dummy "ping" request to your server at the startup and see if user accepts the connection. If user selects no, then window.navigator.online is set to 0 (window.navigator.NetworkNotAllowed), which states that you cannot connect. Note that in home screen widgets the situation is bit different.
http://wiki.forum.nokia.com/index.ph...screen_widgets
-Ilkka