Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User miikkis's Avatar
    Join Date
    Nov 2007
    Posts
    98
    I use Sockets to send some data to server.

    Everything works ok, but if user disconnet gprs from menu -> connections -> active data connections -> gprs -> disconnect

    Now user returns to program. Then user tries send some data. Program shows IAP list (and I dont want this hapen). Is there way to notice if gprs is disconnect? or how I can reconnect connection without gprs iap list?

    thanks

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    RConnection is the class that can Start IAP-s with/without user interaction. You can search for it in the Wiki and the Forum too.
    It also has some notification methods, like ServiceChangeNotification (I do not know what it could be), and AllInterfaceNotification (according to the SDK Help this is the notification that can tell you when the user stops a connection).
    There is a separate RConnectionMonitor class, it can also deliver Connection Status Change events.

Similar Threads

  1. how to check gprs connection +j2me?
    By mrrajesh_1982 in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2006-10-26, 23:41
  2. how to check gprs connection +j2me?
    By mrrajesh_1982 in forum Mobile Java General
    Replies: 1
    Last Post: 2006-10-25, 10:23
  3. GPRS connection help please!
    By bevered in forum General Development Questions
    Replies: 0
    Last Post: 2005-03-08, 12:25
  4. GPRS connection help please!
    By bevered in forum Mobile Web Site Development
    Replies: 0
    Last Post: 2005-03-08, 12:22
  5. http connection / gprs
    By DaneelGiskard in forum Mobile Java General
    Replies: 1
    Last Post: 2002-06-16, 08:30

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