08-01-2009 07:33 AM - edited 08-01-2009 07:36 AM
Hi Everyone,
Our new Web Tooling just came out of Beta and is now released for debugging and profiling browser-based applications and content. Both the Eclipse version and the Microsoft Visual Studio versions are availalbe for download. Links to the product download pages are http://www.blackberry.com/developers/webeclipse and http://www.blackberry.com/developers/webvisualstud
They both will detect simulators that you have downloaded. However the minimum OS versions of the simulator for the plug-ins are v4.6.0.212, v4.6.1.132 and v4.7.0.80.
So if you have older simulators, please make sure you head back to the Simulator download page and pick up the latest. https://www.blackberry.com/Downloads/entry.do?code
08-02-2009 06:38 PM
What does this mean:
"However the minimum OS versions of the simulator for the plug-ins are v4.6.0.212, v4.6.1.132 and v4.7.0.80."
With regular math 4.6.0.212 < 4.6.1.132 < 4.7.0.80.
On the download simulator plan there seem to have emulators grouped by vX.Y.Z
Does the mean if I click on the v4.6.0 then it needs to be > 4.6.0.212 (aka the 224 and 267 will work)
If so does this mean none of the 4.7.1 versions will work?
Also which is a bigger version: v4.7.0.78 or v4.7.0.148 (is 78 bigger than 148 or is the 78 really 078?)
08-02-2009 06:53 PM
So i tried emulator with version 7.0.128
But when I press F5 I get this message:
Bad value "9530-Verizon" for option /handheld.
Try "fledge /help" for command line help.
08-02-2009 10:09 PM - edited 08-02-2009 10:14 PM
Version numbers are:
[Major].[Minor].[Revision].[Build]
So 4.7.0.100 > 4.7.0.50
Because it is build 100 which is greater than build 50 for the 4.7 code line. Each code line 4.6, 4.6.1, 4.7 are separate and are built for different types of hardware. So each one can have different branches of code that require different testing because they are different devices.
So when a [Major], [Minor] or [Revision] is different, it is likely a different piece of hardware. If you draw the parallel to say a Windows operating system.. you can think of the differences between Windows 3.1, 95, 98, XP, Vista.
While the basis of each code line is similar, and they are incremental in nature, they all have their slight differences.
We'll give that simulator a try and see if we can find what the issue may be.
Can we please also verify your Operating system and Visual Studio version including service packs.
08-03-2009 01:23 AM
tneil, just for you I found an XP box installed Visual Studio 2k8 and then VS 2k8 SP1 and then the plugin and then the simulator mentioned above and boom same thing.
08-03-2009 11:08 AM
For the ones I have tried:
BlackBerry_Simulators_4.6.1.94_8900-Rogers.exe - unsupported
BlackBerry_Simulators_4.7.0.75_9530-Verizon.exe - unsupported
BlackBerry_Simulators_4.7.0.108_9500.exe - works with the stop RIM.NET.Tools.ScriptHost.exe hack
BlackBerry_Simulators_4.7.0.113_9500.exe - works with the stop RIM.NET.Tools.ScriptHost.exe hack
BlackBerry_Simulators_4.7.0.122_9500_Europe.exe - fledge error
BlackBerry_Simulators_4.7.0.148_9530-Verizon.exe - fledge error
BlackBerry_Simulators_4.7.1.40_9630.exe - unsupported
Now when I say "works" I actually am having 2 other issues:
1. It frequently cannot make requests. For example Right now I went to my test page and it made the request once. Then I clicked refresh and waited a while and eventually I get "A communication failure occurred with the selected Mobile Data Service. The server may be busy, please try again later. If the problem persists contact your administrator". Then I tried to hit google.com and got the same thing.
2. On my test page I get "The XML is not well-formed." My http header sent to the black berry is text/html so it should be interpruted as html not xml. Is it because I use the XHTML 1.0 Transitional doc type? How do I find out what part it is complaining about? Do I have to do what bing.com does for inline script:
</script><script type="text/javascript">//<![CDATA[
alert('hi');
//]]>
Thanks
08-04-2009 10:59 AM
So, from the above post, it should not work with:
BlackBerry® Device Simulators v4.7.0.76 (9530 Telus)
Supported devices: BlackBerry® 9530 smartphone ((9530 Telus) ??
08-04-2009 12:38 PM
The supported BlackBerry Smartphone simulators are based on OS code lines. New simulators have been released to make sure that the added debugging functionality is available. Older simulators either do not have the capability, or have issues with the debugging protocol.
For 4.6.0 you must have a simulator version greater than 4.6.0.212
For 4.6.1 you must have a simulator version greater than 4.6.1.132
For 4.7.0 you must have a simulator version greater than 4.7.0.80
We have now seen that there can be a problem when you use a Wireless Carrier specific simulator (i.e. Verizon, Telus, Rogers etc.). But we also have a work around to correct the problem.
If you add a carrier specific simulator you will need to make a correction in the skins.xml file located in the "bin\skins" directory of your Visual Studio plug-in installation directory. Typically "C:\Program Files\Research In Motion\BlackBerry VS9 Plugin 1.2\bin\skins"
We are working to make sure this is corrected in a follow up release.
08-04-2009 04:25 PM
Just installed v1.2 and when I got to new Project, I don't see Blackberry.
But when I got to Tools > Options, I do see Blackberry there. However, I tried following the instructions on the Technical Knoledge Page to install the Storm Simulator and it says it is unsupported
What am I doing wrong to not see the Blackberry under new project. And is a better instructions on how to add new simulator into the plug in?
08-04-2009 05:01 PM
The Visual Studio plug-in v1.2 does not support creating MDS Runtime applications. You will need to continue to use v1.1 of the plug-in side by side with the latest version if you still want to continue building MDS Runtime applications.
For debugging web sites, you create a new web project, choose the BlackBerry browser as the default Browser for debugging and then debug your web content like you normally would in IE