My application is to make an HTTP connection to retrieve some information from the server. It works okay on the Emulator but on the phone it prompts to enable web access, if activated it goes dead for a while and then returns with a null pointer exception as the variables that were to be intialized are not there as the information has not been received.

this means that I am unable to make an HTTP connection from the phone. Is there anything that I have to do in order to make it work on the phone.

I use a Nokia 6310i

Thanks very much