Tips & Tricks

  1. The type of BlackBerry smartphone simulator used can be easily configured within the BlackBerry web development plug-in for Eclipse and for Microsoft Visual Studio. Using this approach you can install multiple versions of the BlackBerry smartphone simulators (BlackBerry® Storm™ smartphone, BlackBerry® Bold™ smartphone, BlackBerry® Curve™ smartphone, etc.), and rapidly test how your web applications appear on different screen layouts and user input mechanisms. These simulators are available for download from the BlackBerry developers website.

  2. Add more visibility to your web page by publishing a web icon that allows BlackBerry users to launch your website from their home screen. This web icon can be published in BlackBerry App World, or through online distribution channels.

  3. Use the XMLHttpRequest (XHR) watch window to view both the request and the response objects that are passed to and from the server when using the XMLHttpRequest object.

  4. When optimizing a website for the BlackBerry Browser use the web resources profiling window to display the full path information, size and load time of web resources downloaded from the server such as HTML, CSS, JavaScript, images and other web objects.

  5. [Bonus Tip] For web content designed for the BlackBerry Browser, include the HandheldFriendly meta attribute to prevent the BlackBerry Browser from zooming on the content. See knowledge base article DB-00670 for more information about the HandheldFriendly meta attribute.