×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    17

    Detect if phone is WAP or Internet

    Does anyone know a way to programmatically detect if a Midlet is using a WAP connection or a full Internet connection?

    I'm guessing it would have to be related to detecting that there is a WAP gateway in use.

    Any help would be much appreciated.

  2. #2
    Registered User
    Join Date
    Mar 2006
    Posts
    42

    Re: Detect if phone is WAP or Internet

    Dear When u start a connection to GPRS.. Nokia mobiles generally ask u whta gate way to use...and depending on ur requirement u choose the gateway...so I think there is no need to dynamically check the connection type....
    Muhammad Ummar Iqbal Bhutta
    Student (Computer Engineering)
    University of Engineering and Technology Lahore

  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    17

    Re: Detect if phone is WAP or Internet

    In our experience only the Series 60 phones have asked which connection point to use.

    All other devices simply use a default, which is why I was asking the question.

  4. #4
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Detect if phone is WAP or Internet

    No methods to find that out inside a midlet. On the server side you could check the headers of the request and make some guesses based on available headers (usually the proxy adds some info in there)

    Hartti

  5. #5
    Registered User
    Join Date
    Jun 2006
    Posts
    17

    Re: Detect if phone is WAP or Internet

    Thanks Hartti, that is a good suggestion. I will give it a try.

Similar Threads

  1. Phone that allows WAP access for unsigned SMS midlet?
    By travjohn1134 in forum Mobile Java General
    Replies: 5
    Last Post: 2006-10-31, 02:31
  2. Can i detect a phone ringing on other phone from my bluetooth
    By alice77 in forum General Development Questions
    Replies: 0
    Last Post: 2003-12-26, 07:19
  3. Internet to mms mobile phone
    By Masato in forum General Messaging
    Replies: 3
    Last Post: 2003-05-22, 02:01
  4. Controlling an external device through phone from Internet
    By andrej__dr in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-02-07, 08:02
  5. Replies: 2
    Last Post: 2002-07-05, 07:35

Posting Permissions

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