×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    34

    Network Permission

    Hi everybody,
    I load http://api.maps.ovi.com/jsl.js at the start of my widget and the widget asks if the user wants to "Allow connection to network", and if the user doesn't allow, the program does not continue and only a white blank screen is shown.

    What I need to do is if the user doesn't give permission, How can i detect it and act accordingly (e.g closing the widget)

  2. #2
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: Network Permission

    Hi,

    Online/offline API can be used to detect that.
    http://www.developer.nokia.com/Commu...ne_offline_api

    Br,
    Ilkka

  3. #3
    Registered User
    Join Date
    Oct 2011
    Posts
    34

    Re: Network Permission

    "window.onoffline = function(){...}" works like magic, thank you!

  4. #4
    Registered User
    Join Date
    Feb 2012
    Posts
    1

    Re: Network Permission

    just wanted to say that it worked thanks!

Similar Threads

  1. want to disable the network connection permission
    By jackofall in forum Mobile Java General
    Replies: 8
    Last Post: 2009-04-22, 12:10
  2. Whar are the Network parameters of the WCDMA network?
    By parthasaradhi6 in forum Symbian
    Replies: 1
    Last Post: 2008-09-29, 10:21
  3. AutoStart and Network Access Permission.
    By ashishkumarpatel in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2008-06-09, 15:01
  4. JSR-75 permission
    By spieri in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2006-10-20, 23:43
  5. fixed network & mobile network
    By @digital in forum Mobile Java General
    Replies: 0
    Last Post: 2005-03-15, 10:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×