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.
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.
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
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.
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
Thanks Hartti, that is a good suggestion. I will give it a try.