10-25-2010 11:01 AM - edited 10-25-2010 11:08 AM
I need some help figuring out how to get OpenLayers to load in the BlackBerry browser (to eventually be used in a webworks application).
I am using:
BlackBerry Widget SDK v184.108.40.206
9800 - 220.127.116.11 simulator (included in SDK)
Windows XP SP2 within VirtualBox OSE on Ubuntu 10.04 LTS
I was planning on including a screenshot of the OpenLayers page (which has a map on it), but the "insert/edit image" button is crashing my browser page. What I am seeing, is the browser drawing the frame of the map, but not filling it. I am using XP because it is relatively light-weight and thus better suited for running as a virtual machine.
If you need more information, please instruct me on how to retrieve it. I appreciate your time and expertise,
10-25-2010 02:25 PM
Do you mean it works on a real BlackBerry Smartphone, but fails in the simulator in your environment? Or have you only tried it in the simulator so far?
Can you provide a sample URL?
10-25-2010 02:38 PM
I have only been testing on simulators. I have seen it load on a simulator at least once, it just wont load on any simulator on my system. I figure this is a configuration or version issue, but I am unable to identify the source. I have tried multiple simulators so far, same result on each.
I assume sample URL means this:
10-26-2010 10:54 AM
This seems to be an issue with the MDS-CS Simulator. If I setup a simulated WiFi connection in the BlackBerry smartphone simulator and use the browser (without the MDS-CS Simulator) the images load fine.
I also tried it on a read BlackBerry Smartphone and it worked fine using both WiFi and BlackBerry Enterprise Server (BES, using MDS-CS). So it looks like a MDS-CS Simulator issue. I'm not 100% sure of this right now because the MDS-CS I used was version 4.1.5, but my BES is version 5.0.
I have logged this issue in Issue Tracker here: https://www.blackberry.com/jira/browse/TOOL-207
11-29-2010 10:39 AM
Hi! i'm trying to run my site on a BlackBerry and i'm using OpenLayers.
On the emulator, i got noting and on a real device a got only my html's "body" (input text, button etc.) but no maps.
i thought it was my path to my OpenLayers.js but i tried many things but noting.
I got this error in Eclipse when debuggin :
ReferenceError: "OpenLayers" is not defined.
am i missing someting ?
which version of OpenLayers do you use ?