02-18-2010 02:29 AM
I have an application which i developed using eclipse 3.4.1 whenever i run my application using the eclipse plugin it works fine(the application has web services).
but when i launch my application using the standlone simulator i can open webpages but my application is not runnning can anyone point me in the right direction.
Solved! Go to Solution.
02-18-2010 02:34 AM
02-18-2010 06:27 AM
"Its not giving any error messages"
Are you sure?
Use the EventLogger class to write debug messages to the Log, and then track the progress of your connection.
Do you try Exceptions from your connection and do something on these?
I would expect at least a 'timeout' Exception if there is no response.
02-18-2010 06:50 AM
Nothing as such. no exceptions i am using exceptions to catch but there are none.
this is what iam concating to my URL.
Is there something wrong here
02-18-2010 07:08 AM
Have you enabled WiFi for the Simulator as described in the Simulator section of this Thread? Does the Simulator support WiFi?
Also I would recommend that you try it with just ";deviceside=true". For me that always works on the Simulator.
02-18-2010 07:24 AM - edited 02-18-2010 07:38 AM
To use the same connection as the Browser, you should not code a connection suffix. Give that a try. Don't think the Simulator Browser ever uses WiFi, so the fact that it is working is not a true test of WiFi connectivity.
What Simulator are you using? Does it have the same level (or higher) OS than your development platform? What is the Simulator that your development platform starts by default?
Edit: Just tested, it seems the OS 5.0 Simulators do have WiFi enabled by default for the Browser.
02-18-2010 07:35 AM
Given you are developing in 4.5 and running on OS 5.0, things should work.
However the 8300 does not supprt wifi. You said this code was working when you ran it using the development platform Simulator. How does that work then?
Have you tried not coding a connection suffix?