10-27-2009 12:12 PM
I have created a clickable image. Now I want to open a link in browser on Image click.
How to achieve it?
Solved! Go to Solution.
10-27-2009 12:13 PM
10-27-2009 12:23 PM
Hey Thanks a lot.. but its not opening in Simulator stating that "HTTP Bad Request".. why so?
10-27-2009 12:24 PM
10-27-2009 12:39 PM
I m using Blackberry 4.5 & running the app. in Eclipse. When I right click on Project -> Debug as -> Blackberry Simulator, it automatically opens the MDS simulator. But then also the page is not opening after image click.
10-27-2009 01:54 PM
If the Browser is actually opening, then the code to invoke the browser is doing its job and you need to be sure that you are giving the browser the appropriate information (such as the correct URL).
10-28-2009 02:10 AM
I gave URL on Image click as,
Browser.getDefaultSession().displayPage("http://www.google.com");
but
"HTTP Bad Request 400"
is coming & in Details
Unknown Host: www.google.com: 80
is coming.
10-28-2009 02:37 AM
Hey,
I dont see why u cannot open with MDS running.
Just try opening GOOGLE from BlackBerry Browser also and check.
I tried same code, Its running fine for me.
---
Aditya
10-28-2009 03:27 AM
I m checking on "Blackberry Smartphone Simulator 2.9.0.52" for Blackberry Pearl. In its Browser alos, google.com is not opening but its opening in device. So any setting to make in Simulator ?
10-28-2009 06:15 AM
Can you please confirm that the Browser is actually opening on the Device, but that it is not displaying your selected page?
Also can you tell us the device software you are developing on and the device OS level you are deploying to.