Read-only archive of the All About Symbian forum (2001–2013) · About this archive

HttpConnection Issues On Nokia6600/Symbian On Various WAP Gateways

4 replies · 3,095 views · Started 15 September 2004

Hi.

We're a small development team working on various mobile phones, including
the majority of Nokia devices.

We're currently having problems with the Nokia 6600/Series 60 phones. Our
midlets request information from remote servers using the normal
HttpConnection methodology, i.e.

HttpConnection c = (HttpConnection)
Connector.open("http://hostname/docname"😉;

This works fine on Series 30/40 phones (i.e. MIDP1). In fact it works fine
on Series 60 phones that connect using Orange GPRS settings and O2 [contract
only] edited GPRS settings. However various providers and gateways do not
work correctly.

For instance this connection method on O2 pay-as-you-go does not work with
any GPRS settings on the Nokia 6600 (O2 have said that direct internet
traffic is not allowed on pay-as-you-go), but obviously standard WAP
browsing via the built-in browser works fine using these GPRS settings.

What we have concluded thus far, is that MID1 phones somehow wrap any http
requests in some kind of WAP-Gateway friendly request, but MID2 phones do
not - thus some WAP gateways are ignoring the requests.

Is there some way we can revert MIDP2 phones to use the original method?! Or
is there a way of forcing the phone to using a WAP connection as opposed to
the Internet connection?

The answer to this problem, I believe, will solve a hell of a lot of the
http connection problems I've been seeing on all of the support forums. Any
help from anyone will be much appreciated.

I have no idea what you are talking about - however is this related to the sim card or the fw or hardware?

For instance if you are saying PAYG phones use MID2, will this change if you put a contract sim in? Or if you unlock the phone? Or if the fw is upgraded? Or a combination of the previous?

I clearly don't know what I am talking about but then I never claimed any different
:tongue: :tongue: :tongue: :tongue: 😉

joolsvern wrote:I have no idea what you are talking about - however is this related to the sim card or the fw or hardware?

For instance if you are saying PAYG phones use MID2, will this change if you put a contract sim in? Or if you unlock the phone? Or if the fw is upgraded? Or a combination of the previous?

I clearly don't know what I am talking about but then I never claimed any different
:tongue: :tongue: :tongue: :tongue: 😉

lol well maybe I'll clear it up for other people.

What I'm saying is that the 6600 (and possibly other MIDP2 phones) cannot talk via a HttpConnection on various telecom provider gateways. This includes O2's PAYG (but not their contract gateway). However the MIDP1 version of the program WILL work on other phones on these gateways, thus there must be something MIDP2 is doing with the requests that MIDP1 isn't.

hello

we have _exactly_ this same problem here in Brazil
have anyone managed to solve this? it is a damn simple httpconnection!
It hangs the thread, and it does not give us even an IOException!