Problem with HttpConnection on nokia 7650
i've a problem with httpconnection when i use this on my nokia 7650.
my code is this...
HttpConnection c = null;
InputStream is = null;
Codice codice=new Codice();
try
{
c = (HttpConnection)Connector.open(url+"?codice="+codice.getCod()+"&testo="+str+"&codest="+codest+"&send=Invia");
System.out.println(url+"?codice="+codice.getCod()+"&testo="+str+"&codest="+codest+"&send=Invia");
is = c.openInputStream();
is.close();
c.close();
}
catch (Exception e)
{
System.out.println("Messaggio.invioMessaggio('"+str+"', '"+codest+"'):"+e);
}
on emulator it runs.
When i use this on phone, the device ask the connection profile to use for connecting and on invoke method openInputStream it crash!
Thank you.
I'm italian, sorry for my english!

