I am writing a midlet that connect to IP camera and displaying live images from it. The midlet work fine in emulator, when I connect to my local ip cam with local ip. But when I put my midlet to Sony Erisson mobile, midlet connected to ip cam, the status is 200, but the ip cam response: error page! internal error in API.
Then, I tried in emulator to connect to some ip camera with global ip, however, the emultor always said: status 400(meant malformed or illegal request). Although I can use my web browser to open that global IP. The address I tried to connect to is: http://18.104.22.168:90.
Does anyone have some idea about this problem, please help me.
Thank you very much
Joined: Oct 13, 2006
And I want to make it a bit clearer: 1. With emulator, the IP camera responses: 400 -->malformed or illegal request although I can open the URL in web browser. 2. With real device: the IP camera responses: 200, but the response come after is: error page, internal erro in API.