11-24-2009 03:57 AM
Hi all,
till now am unable to establish connection on the device. I have few things to be clarified before proceeding into the details..
1) If the user dont have APN settings, will my app connect to Internet.
2) Am using 8520 curve device, it is not having APN settings, yet it is opening google, and able to surf the net. Does it mean APN settings are only for apps to access internet.
3) when i try to open my app on simulator i got the exception "Error trying to resolve."
the url is as follows:
"http://mypc5/BI/services/BIReport.asmx/GetChildRe
on device the exception is as follows: I got the same exception.
when i remove the suffix for the url, it is executing well in the simulator. and in the device i got "Tunnel Failed " exception.
i used HttpConnection to establish the connection.
Any help will be appreciated....
Solved! Go to Solution.
11-24-2009 04:35 AM
I strongly suggest you review this Thread and most importantly the 'required reading', as it explains the answers to most of your questions:
Let us know when you have read it, and what questions remain.
This is not simple, please take the time to read the Thread and the referenced material carefully.
11-24-2009 05:05 AM
I already gone through them... but they didnt clarified my doubts!!!. as suggested me to go thru them again, i will do that.
11-24-2009 05:23 AM
Some quick hints:
You asked
"1) If the user dont have APN settings, will my app connect to Internet."
A hint - Review the KB article and the vidoe and see how many ways there are for your applicatin to connect to the internet
You asked:
"2) Am using 8520 curve device, it is not having APN settings, yet it is opening google, and able to surf the net. Does it mean APN settings are only for apps to access internet."
A hint - Review the KB article and the vidoe and see how many ways there are for your applicatin to connect to the internet
You asked:
"3) when i try to open my app on simulator i got the exception "Error trying to resolve."
the url is as follows:
"http://mypc5/BI/services/BIReport.asmx/GetChildRe
on device the exception is as follows: I got the same exception."
A hint - have you tried this in the Borwser, in fact any Browser
You asked:
"when i remove the suffix for the url, it is executing well in the simulator. and in the device i got "Tunnel Failed " exception."
A hint - review the section in the Thread that talks about what you can and can't do on the Simulator. Also review the Thread and referenced articles to determine what devices do when there is no connection suffix.
11-24-2009 07:49 AM - last edited on 11-24-2009 07:52 AM
Thanks peter!!!, i gone thru them.... and i did as directed in the videos and references, i observed a strange thing.
if the url is something like this.... "http://myserver.com/a/b.htm;interface=wifi" it is working fine.
if the url is something like this "http://hostname/a/b.html;interface=wifi" it is not working, it is not even opening in the device browser also.
anyway thanks for your suggestions and references..