I'm having trouble when I attempt to open an HttpConnection on my Nokia N80. I want to download an image from the internet so the first thing i do is:
HttpConnection hc = (HttpConnection)Connector.open(URL);
to open the connection. When i try it on my Nokia N80 it retrieves "Unhandled exception. Close application?".
I know the exception is on that line of code because i commented all the code after that and it still retrieved the exception.
Before that the application connects to the internet as a web service client (i'm using a framework called kSOAP2 to do that so i don't have to explicitely open the connection because the framework does that in some way) and it works fine.
The code works good on the Nokia emulator that i use (6230i) and also works well when I try it on a Pocket PC. It seems to be a Nokia N80 problem (or maybe a S60 3rd edition problem?)
Do someone know what's wrong here or had the same issue?