×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    23

    how to check which httpconnection is available - gprs/edge/3g/wifi from midp

    Hi ...

    i came across situation where app connects to wifi , however at same time i can not connect to my active gprs connection.

    i have checked twice that my gprs connection is working or not... it is working fine. but i am not able to connect it through gprs.

    so is there any way by which in coding we can test which type of httpconnection we have available from gprs/3g/edge/wifi ....?

    any idea ?

    appreciate help

    thks

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: how to check which httpconnection is available - gprs/edge/3g/wifi from midp

    Quote Originally Posted by nekinpatel View Post
    Hi ...

    i came across situation where app connects to wifi , however at same time i can not connect to my active gprs connection.

    i have checked twice that my gprs connection is working or not... it is working fine. but i am not able to connect it through gprs.

    so is there any way by which in coding we can test which type of httpconnection we have available from gprs/3g/edge/wifi ....?

    any idea ?

    appreciate help

    thks
    You can use IAP Info API's to select the Access point GPRS or wifi which one you want to use in your app and try to connect using your own selected APN it should work.
    Check if the target device supports this API before using.

    Also refer to - http://wiki.forum.nokia.com/index.ph...etwork_in_J2me
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    23

    Re: how to check which httpconnection is available - gprs/edge/3g/wifi from midp

    thks for reply

    but i think ... solution which you are referring to is only to Nokia devices....correct ?

    if yes then what about other manufacturer... ? is there any standard common way of midp framework by which we can apply to all device in similar way..?

    thks

Similar Threads

  1. HttpConnection problem when device switches between Edge, GPRS and 3G
    By Bewise in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2009-02-13, 12:30
  2. Determine current network class ( 3g, gprs, edge, etc )
    By infi- in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2008-12-11, 13:13
  3. how to check if the 3G signal is available on the phone?
    By Tejaswini in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2007-05-08, 17:12
  4. How to check if service is available???
    By fwojtek in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-02-09, 10: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
  •  
×