Mobile application connect to server with “vodafone” sim,but not connect with “Idea” sim.

StackOverflow https://stackoverflow.com/questions/10108038

문제

I'm creating a mobile app with j2me. My configuration is CLDC-1.1, MIDP-2.0.

I'm sending the request to server via (https and http) and get response from my application through GPRS.

If I'm using vodafone sim then it will works fine. But if I'm using idea sim then the request cannot send to server from my mobile application "The Http operation" exception is thrown.

But if I type the url in the mobile phone browser the page correctly displayed (when I'm using idea sim and vodafone sim). And when I use the url google.com (http://www.google.com) in my mobile app ,when im using idea gprs sim or vodafone gprs sim its work fine.

But when I use the url of my server application (my office server app url) in my mobile app ,when I'm using idea gprs sim sim its not work fine, the follwoing exception thrown "java.io.IOException : 60 - Error in HTTP Operation".If i type the url in the mobile phone browser then its correctly working.

I'm using "nokia c2-01" for testing mobile.It is a "s40" device. So please give the ideas. All are welcome to provide your ideas.

도움이 되었습니까?

해결책 2

I find the solution.Some ISP such as Airtel,Vodafone,etc.Sometimes block the network if the try to connect via application.Because of preventing from malicious attack,prevent the network traffic,etc.

The problem is dependent with respect to Isp (Internet service provider) .Now its working to me.

다른 팁

It must be down to the access point which on some Nokias is separately configurable for the browser and Java apps.

Can any other Java app access the network? If not then it's definitely the access point; you need to dive around in your configuration settings.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top