Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > App Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 02-06-2009, 10:55 AM
CrackBerry Newbie
Device(s): 8330 (Curve)
Carrier: Telus
 
Join Date: Feb 2009
Posts: 3
Likes Received: 0
Thanked 0 Times in 0 Posts
Default Virtual Earth and Blackberry Browser

Hi all,

I was just wondering if anyone had attempted to make a webpage that contains the virtual earth control that will display on a blackberry browser, and if they have if they could give me some assistance with it.

My issue is that the site works fine on an iPhone, but does not display on a blackberry, I have tried every configuration on the blackberry (whose IE emulation is IE6 compatible). I am using a Curve 8330
I've tried going to The Virtual Earth Interactive SDK on the blackberry and it doesn't render there either. I am using Visual Studeio 2008 and the VE.map control that was released last July for the Live Toolkit.
Is it a possibility that because I'm using this control and not the Javascript based code that the map is not working?

I have been searching for a few days and have not been able to find anything that can help resolve this issue.

Thank you in advance,

John Mach
Reply With Quote Tip this Post
  #2  
Old 04-16-2009, 04:25 AM
CrackBerry Newbie
Device(s): 9000 (Bold)
 
Join Date: Apr 2009
Posts: 1
Likes Received: 0
Thanked 0 Times in 0 Posts
Default Virtual Earth On BlackBerry Browser.

Hi John Mach,

Did you get solution for this Virtual Earth Map on BlackBerry Browser issue? If yes, please share me the answer. I am also facing the same issue.

Microsoft Virtual Map is not rendering in Windows Mobile 5.0 and BlackBerry emulators.
The exception Reference Error: "VEMap is not defined" and "VEMap is undefined" is displayed in Blackberry and Windows Mobile 5.0 respectively.

I have tried in the following ways. But no luck!

Scenario 1:
<script type="text/javascript" src=VIRUAL MAP API URL here></script>
The map is not rendering in both Windows Mobile 5.0 and Blackberry emulators. But renders properly in Windows Mobile 6.1 emulator.

Scenario 2:
We have copied the entire content from VIRUAL MAP API URL and pasted into local file mvmAPI62.js.
Now the script tag is <script src="mvmAPI62.js" type="text/javascript"></script>. Now also the same result.
We have added two more custom methods in mvmAPI62.js. One, StartTest() at the beginning of the file and another EndTest() is at the end of the file.
We invoked these two methods. These two methods are invoked and the results are displayed in ordinary desktop browsers. But not in BlackBerry emulator and Win Mob 5.0.

Scenario 3:
Now we have copied the entire content of the mvmAPI62.js file and pasted into the htm file itself under the <script> tag .
Reference Error: "StartTest" is not defined. i.e., even our test functions are not invoked.

Scenario 4:
We have removed all the contents except the StartTest and EndTest functions under the script tag of htm file.
These two methods are invoked and the results are displayed in BlackBerry. It seems the code we have taken from VIRUAL API URL causing the problem.

Scenario 5:
We have created a prototype for VEMap() and invoked through it. But it thew the [Object Object] exception in desktop browsers. BlackBerry browsers also threw some different exceptions.


The following links are talking about this issue but none have answer.
The size of the content taken from the VIRUAL MAP API URL is nearly 1 MB.


-Jagadhees.
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > App Developers   Virtual Earth and Blackberry Browser

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes