Discussion Board

Results 1 to 2 of 2
  1. #1
    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.

  2. #2
    Nokia Developer Moderator isalento's Avatar
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    831
    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

Similar Threads

  1. How to ask (prompt) user before file saving?
    By smitasuhas in forum Symbian C++
    Replies: 2
    Last Post: 2010-02-11, 10:41
  2. user prompt
    By lieuwe in forum Symbian Networking & Messaging (Closed)
    Replies: 9
    Last Post: 2009-04-21, 17:59
  3. Re: How to make a network telephone call without user prompt?
    By 1stuknokia in forum [Archived] Flash Lite on Nokia Devices
    Replies: 7
    Last Post: 2009-01-30, 00:30
  4. Replies: 1
    Last Post: 2008-08-19, 16:09
  5. How to use a default Access Point without user prompt?
    By jappit in forum [Archived] Flash Lite on Nokia Devices
    Replies: 5
    Last Post: 2008-03-12, 12:42

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved