×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    13

    Question How to connect automatically?

    Hi all,

    How can I connect to the internet/server automatically in an application?
    Is there a tutorial? or it will be better if there is an example.

    Alex

  2. #2
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Smile Re: How to connect automatically?

    Yes ,
    Your widget can connect automatically to the remote website or html link.

    Because your widget has got link to the remote server.. Therefore it will automatically update it's data....

    For more information you can read the article like widget request example
    This article shows how your widget connect to remote site or server.

    Best regards,,

  3. #3
    Registered User
    Join Date
    Oct 2009
    Posts
    13

    Re: How to connect automatically?

    hi rahulvala,

    I know that but what I mean was that when I'm in an application created by myself...

    for example:
    <a href="http://localhost:8080/example/">Enter</a>

    when I click on it, it ask me "Allow connection to network?". After clicking "Yes", then it connect.

    how can I make it that it didn't ask me and auto connect to the network?

    Alex

  4. #4
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: How to connect automatically?

    yes,,
    It's default in mobile device that whenever it attempts to the network for http connection It will ask user ones,,

    Well I have File connection API in j2me,,
    Which never ask the user confirmation always connect with the network.

    Best regards,

  5. #5
    Registered User
    Join Date
    Oct 2009
    Posts
    13

    Re: How to connect automatically?

    hi rahulvala,

    I'm sorry, but this whole thing is too new to me. How can I use that?
    If I need the auto connect, is that part of the program for my application?
    What file type should I save it as?
    and I also don't understand the part about Establishing Connections. Is there a example?

    anyway, thanks for the link although I don't really understand.

    Alex
    Last edited by Alexryo; 2009-11-08 at 04:24.

  6. #6
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: How to connect automatically?

    Hi Alexryo,

    there is no way to avoid the permission popup when a WRT widget performs its first connection to network. The articles about Java ME do not help, since it's a different technology with different capabilities.

    Pit

  7. #7
    Registered User
    Join Date
    Oct 2009
    Posts
    13

    Talking Re: How to connect automatically?

    Hi Pit,

    Thanks so much! That answer really help me, at least I don't have to look into this anymore.

    Alex

Similar Threads

  1. it s possible to connect gprs automatically??
    By msudan in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2005-03-23, 03:29
  2. D211 - How do i automatically recieve WEP key?
    By qiddees in forum Multimodecards
    Replies: 0
    Last Post: 2004-08-18, 00:15
  3. RSocket :: Connect -> KErrNone while no connection could be made???
    By janknepper in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2004-01-09, 17:12
  4. Could not receive CONNECT ACK sometimes when in MPTY
    By huangjianjian in forum General Development Questions
    Replies: 0
    Last Post: 2003-12-23, 03:43
  5. Automatically connect DUN with 6310
    By hero_nr_1 in forum Bluetooth Technology
    Replies: 4
    Last Post: 2002-06-04, 12:49

Posting Permissions

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