×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    188

    Exclamation Check support for HTTP connection in mobile

    Hi All,

    Is it possible to check from Midlet, wheather http connection is supported by a particular device or not ? If yes,then how?

    Please help me...

    Thanks & Regards,
    Ajit

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Check support for HTTP connection in mobile

    All MIDP devices support HttpConnection.

    Whether or not the device is correctly configured, has a signal, etc., is another matter. You will only know if there is a problem when you try to connect and an exception is thrown.

    Graham.

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

    Re: Check support for HTTP connection in mobile

    As Graham wrote -- all MIDP j2me supported device have to support http connection, but network connectivity is not present and you try to create a connection - it will throw connection not found exception.

    On some recent devices which support IAP Info API's you can get more info about network access point conf of the device -

    IAPInfo API is a simple Java API, where the applications (MIDlets) can access fundamental Internet Access point and Destination Network (for example access point group) related information. However, IAPInfo provides just a subset of the parameters stored in the native database. Only the information supporting access point or destination network selection is available:

    IAP related information
    Destination network
    List of preferred access points
    Last used access point

    thanks,
    ~Amitabh

Similar Threads

  1. http connection from server to mobile
    By remyag in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2009-06-19, 07:59
  2. Database Connection from mobile not happening
    By garudadwajan in forum Mobile Java General
    Replies: 25
    Last Post: 2009-04-15, 08:24
  3. Bluetooth connection between pc to mobile using java
    By viz007 in forum Bluetooth Technology
    Replies: 7
    Last Post: 2009-03-21, 05:27
  4. connection to serial port
    By marluzch in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2006-11-20, 19:47
  5. How to initiate a GPRS connection to the mobile phone from a remote server?
    By VigenIssahhanjan in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2004-11-22, 08:50

Posting Permissions

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