<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>BlackBerry Developer Blog &#187; HTML</title>
	<atom:link href="http://devblog.blackberry.com/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 15:28:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='devblog.blackberry.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/9ef0a66c09615fa946c4179662398878?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>BlackBerry Developer Blog &#187; HTML</title>
		<link>http://devblog.blackberry.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://devblog.blackberry.com/osd.xml" title="BlackBerry Developer Blog" />
	<atom:link rel='hub' href='http://devblog.blackberry.com/?pushpress=hub'/>
		<item>
		<title>Using Web Inspector to get a 3000% performance boost</title>
		<link>http://devblog.blackberry.com/2012/07/web-inspector-performance-boost/</link>
		<comments>http://devblog.blackberry.com/2012/07/web-inspector-performance-boost/#comments</comments>
		<pubDate>Tue, 03 Jul 2012 15:35:11 +0000</pubDate>
		<dc:creator>Adam S.</dc:creator>
				<category><![CDATA[Case Studies & Success Stories]]></category>
		<category><![CDATA[Java Development]]></category>
		<category><![CDATA[blackberry playbook]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[parsing]]></category>
		<category><![CDATA[Reader Mode]]></category>
		<category><![CDATA[Web Inspector]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=10035</guid>
		<description><![CDATA[A case study for using BlackBerry Web Inspector to help speed up developmental performance.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=10035&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><em>Here&#8217;s a guest post from Konrad to convince you of the powers of Web Inspector! &#8211; Adam S.</em></p>
<p><img src="http://rimdevblog.files.wordpress.com/2012/07/web-inspector-8.jpg?w=550&#038;h=322" alt="TITLE_IMAGE" title="TITLE_IMAGE" width="550" height="322" class="aligncenter size-full wp-image-10056" /></p>
<p>Have you ever used that cool button on your <a href="http://www.blackberry.com/playbook" target="_new">BlackBerry® PlayBook™</a> tablet Browser that looks like a book? It’s the icon in the top left that enables Reader Mode. This is a neat feature which takes away all the advertisements and extraneous features from the page and shows you a clean summary of the content. Today I wanted to tell you about how this feature came to be, how we optimized its performance, and how it would not have been possible without BlackBerry® Web Inspector.</p>
<p>Using some clever JavaScript®, we created a mechanism that extracted the page contents and stripped out unwanted HTML. The problem was that it took a really long time to parse a page and display the content &#8212; or so we thought. We knew that this would not be a good user experience and the page load time needed to be optimized, especially when compared to the better performance we observed for the same content running in a desktop browser.</p>
<p><span id="more-10035"></span></p>
<p>As I started my investigation, I wanted to look at the JavaScript to see how it worked so I could start to tweak it, and I thought to myself, &#8220;I should use Web Inspector to profile this.&#8221; I didn&#8217;t know it yet but this idea would save me lots of time and effort to get the feature working.</p>
<p>After adding some profiling information to the script, I discovered that most of the code was already relatively fast. However, after it had reloaded the page in a new WebView, it was doing its removal of the unwanted tags on the live DOM. This incurred a whole page request with sub-resources and content that we were going to be stripped out as soon as the page loaded.</p>
<p>Instead of incurring a page load, I did a deep copy of the DOM using <code>document.body.cloneNode(true)</code>, and then manipulated the HTML fragment off DOM. Finally I loaded the resulting HTML in a new WebView. The result of this change was an immediate gain in performance, reducing the amount of processing time from 45 seconds down to less than 5 seconds. But that wasn&#8217;t enough &#8212; no user should have to wait 5 seconds after hitting a button to see any results.</p>
<p>I then enlisted the help of a colleague, and we were able to optimize the script even further by making changes to our logging. If you log things in JavaScript inline via <code>console.log()</code>, they&#8217;re expensive. Instead, add your log message to a buffer and then print the results after the main processing is complete. The DOM was traversed several times during the algorithm&#8217;s run. We ended up using a TreeWalker instead of a for loop of <code>document.getElementsByTagName(“*”)</code> being used. With these simple changes and further optimizations to the script, we further reduced the page processing time from 5 seconds down to under 1.5, which in and of itself is still a gain of over 300%.</p>
<p>So in summary, we went from 45 seconds down to less than 1.5 seconds &#8212; an astonishing 3000% performance boost that we could not have done without Web Inspector running on device.</p>
<p><strong>Lessons:</strong></p>
<ol>
<li>Add logs to your scripts for performance profiling, but buffer them and don&#8217;t print to console right away.</li>
<li>Don&#8217;t reload the page when you don&#8217;t need to. If you want to modify the DOM, use HTML fragments.</li>
<li>Profile individual methods and try different things. You&#8217;d be surprised how changing one line can make all the difference.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/10035/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/10035/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=10035&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/07/web-inspector-performance-boost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16f032fc46b780f6d9fa38b24a7f8ff2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adamstan1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/07/web-inspector-8.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>BBM Social Platform – Drawing Users in with the Profile Box</title>
		<link>http://devblog.blackberry.com/2011/08/bbm-social-platform-profile-box/</link>
		<comments>http://devblog.blackberry.com/2011/08/bbm-social-platform-profile-box/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 13:49:58 +0000</pubDate>
		<dc:creator>Brian Z.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Platform Services]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[bbm]]></category>
		<category><![CDATA[bbm sdk]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[sample code]]></category>
		<category><![CDATA[ui]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=6882</guid>
		<description><![CDATA[Check out how to develop a Profile Box within the BBM SDK.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=6882&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-6944" title="BBM" src="http://rimdevblog.files.wordpress.com/2011/08/bbm-icon.jpg?w=294&#038;h=277" alt="BBM" width="294" height="277" /></p>
<p>BlackBerry® Messenger (BBM™) is more than just chat! With the release of the BBM Social Platform, we have released a comprehensive set of tools to easily add the power of BBM to your app. This blog post is one in a series focusing on how to easily add social networking features to your app &#8211; and there’s no better time to use this knowledge to update your app so that it’s ready for submission to the 2011 BlackBerry® Developer Challenge (particularly the <a href="http://www.blackberrypartnersfund.com/challenge">Most Addictive social app using the BBM Social Platform</a> category).</p>
<p>People love to share their accomplishments with their peers. You can design your app to incorporate levels of recognition for various accomplishments by use of some sort of award (e.g. badge, statement, icon, trophy, et cetera). Incorporating awards in your app can be a great way to enable users to promote your app to their peers.</p>
<p>Awards generally consist of an icon and a text string and should convey why they were awarded. The BBM Social Platform easily enables achievement sharing as can be seen in the screenshot below, where you can specify the icon and text for the achievement. The platform then automatically groups them under your application’s custom profile box.</p>
<p><span id="more-6882"></span></p>
<p><img class="aligncenter size-full wp-image-6883" title="BBM profile box" src="http://rimdevblog.files.wordpress.com/2011/08/bbm-profile-box.jpg?w=360&#038;h=480" alt="BBM profile box" width="360" height="480" /></p>
<p>If achievements are not a good fit for your application, there are plenty of situations where users have content that they want to share with their friends that may be more suitable in their profile box as opposed to their status message. This could include their current location as a user travels, the current song a user is listening to, or the current book a user is reading. Other use cases include apps that leverage other platform services; for example, apps that are using BlackBerry Push Service may want to post updates for things like a win from a favorite sports team or an alert for extreme weather conditions. Apps that are using Payment Service for in-app purchase may want to allow the user to share items they bought which may encourage other users to purchase the same items. Alternatively, the achievements themselves, may not necessarily be application achievements but rather personal achievements, such as achieving a fitness or weight loss goal, a career goal, or even a financial goal. The possibilities are endless &#8211; and I’m sure you can find a way to leverage this feature in your application!</p>
<p>As a developer, all you need to do is pass an optional (but highly recommended) icon and a string to the platform and, provided that the user has given your app permission to post, the profile box will appear under your app for that user. The profile box is visible to all BBM users whether they have the app or not. Any user who clicks the box without having the app installed will be prompted to download it, expanding your user base through viral distribution. Users who already have the app installed will be prompted to launch it, increasing user engagement.</p>
<p>In the screenshot above, you can see that Nicole has a profile box entitled “Always Happy!” letting everyone know that the application (in this case the BBM SDK Demo) has seen fit to award her with this achievement. The code to accomplish this is seen below in Java® and BlackBerry® WebWorks™.</p>
<p><strong>Java</strong></p>
<div class="sample">
<pre>UserProfile userProfile = platformContext.getUserProfile();
UserProfileBox profileBox = userProfile.getProfileBox();
if (profileBox.isAccessible()) // Ensure that we have permission to access the box
{
	// Each icon used by your application must have a unique ID
int iconId = 1;
EncodedImage icon = EncodedImage.getEncodedImageResource("smiley.png");
profileBox.registerIcon(iconId, icon);
profileBox.addItem(iconId, “Always Happy!");
// A third parameter, cookie (String), can be added to give your app context when launched via the BBMPlatformContextListener listener.
}
</pre>
</div>
<p><strong>BlackBerry WebWorks</strong></p>
<div class="sample">
<p>// Add an item with icon, text, and a cookie<br />
var iconID = { id:1, uri:&#8221;local:///profilebox/smiley.jpg&#8221;};<br />
var options = {text:&#8221;Always Happy!&#8221;, iconId:iconID};<br />
blackberry.bbm.platform.self.profilebox.addItem(options);</p>
</div>
<p>To access the tools and get information about other features of the BBM Social Platform, visit our <a href="http://blackberry.com/developers/bbm" target="_new">BlackBerry Messenger Developer site</a>. To access the complete sample app demonstrating the code shown here, check out the Knowledge Base article “<a href="http://supportforums.blackberry.com/t5/Java-Development/BBM-Social-Platform-How-to-Create-Profile-Boxes/ta-p/1207519" target="_new">BBM Social Platform – Drawing Users in with the Profile Box</a>”.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/6882/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/6882/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=6882&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2011/08/bbm-social-platform-profile-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/93c01acd537bfb61a304b73eef4fce76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brianzub1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2011/08/bbm-icon.jpg" medium="image">
			<media:title type="html">BBM</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2011/08/bbm-profile-box.jpg" medium="image">
			<media:title type="html">BBM profile box</media:title>
		</media:content>
	</item>
		<item>
		<title>BBM Social Platform – Adding in-app chat to your app</title>
		<link>http://devblog.blackberry.com/2011/08/bbm-social-platform-adding-chat/</link>
		<comments>http://devblog.blackberry.com/2011/08/bbm-social-platform-adding-chat/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 13:28:27 +0000</pubDate>
		<dc:creator>Brian Z.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Platform Services]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[bbm]]></category>
		<category><![CDATA[bbm sdk]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[sample code]]></category>
		<category><![CDATA[ui]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=6834</guid>
		<description><![CDATA[Find out how to add in-app chat to your app, complete with sample code.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=6834&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-5685" title="BBM" src="http://rimdevblog.files.wordpress.com/2011/03/bbm-icon_white.jpg?w=353&#038;h=272" alt="BBM" width="353" height="272" /></p>
<p>Want to allow your app’s users to chat with their contacts without having to leave your app? Add BlackBerry® Messenger (BBM™) Chat! By integrating BBM chat directly into your app, you have the opportunity to create a community of BlackBerry® smartphone users who can get together to socialize and communicate. Adding this social aspect can help increase your app’s reach and maintain its presence, thereby increasing its “stickiness.” (A sticky app is one that users find so useful and engaging that they come back to it over and over again!)</p>
<p>Adding BBM Chat may also increase the discoverability of your app &#8211; when people like something, they want to share it with others. Because BlackBerry device users can communicate with any or all of their BBM contacts from within your app, you have a built-in advertising system.</p>
<p>Let’s take a look at a couple of examples:</p>
<p><span id="more-6834"></span></p>
<ul>
<li>While viewing the latest sports scores in a sports news app, a user starts a BBM chat with fellow fan(s) in his contact list to discuss game highlights.</li>
<li>While looking through house listings in a real estate app, a user starts a chat with their real estate agent about a listing that interests them.</li>
</ul>
<p>You can create a full-screen BBM chat session or embed it into your app’s UI &#8211; in the lower half of the screen, for example &#8211; allowing users to continue to interact with your app as they chat. Chat messages can be sent from application to application or from application to BBM.</p>
<p>Here are some code samples for Java® and BlackBerry® WebWorks™ to help get you started:</p>
<p><strong>Java</strong></p>
<p><strong>Full screen:</strong></p>
<p>This line of Java code opens a BBM conversation window with the specified message in the ReplyField and opens a Contact Picker UI field populated with the user’s BBM contacts. The user can select one or several contacts to add to the conversation.</p>
<div class="sample">
<pre>platformContext.getUIService().startBBMChat("Let's chat!");</pre>
</div>
<p></p>
<p><strong>Embedded chat:</strong></p>
<p>The following code sample demonstrates how to create an embedded chat screen.</p>
<div class="sample">
<pre>public class ChatFieldScreen extends MainScreen
{
	private ChatField _chatField; 

	public ChatFieldScreen()
	{
		// Create a field that uses the full height of the manager that contains it.

		Field firstField = null; 

		/* The BottomUpManager allocates space for the bottom fields first, and
		 then allocates the rest of the space to the first field. */

		BottomUpManager bottomUpManager = new BottomUpManager();

		/* Create a chat field that groups messages from the same sender,
		 displays the sender's name, and wraps the messages in bubbles. */

		_chatField = new ChatField(
				MessageListManager.MESSAGE_STYLE_GROUP_MESSAGES_SAME_SENDER |
				MessageListManager.MESSAGE_STYLE_SHOW_SENDER_DISPLAY_NAME,
				MessageListManager.BORDER_STYLE_BUBBLE);

// Add the field that uses the full height of the container, and then the chat                                                                    field.

		bottomUpManager.add (firstField);
		bottomUpManager.add (_chatField);

		add (bottomUpManager);
	}

	// Look for a press of the Enter key, then processes the text in the chat field

	protected boolean keyChar(char key, int status, int time)
	{
        Field fieldWithFocus = getLeafFieldWithFocus();
        ReplyField replyField =  _chatField.getReplyField();

        if (fieldWithFocus == replyField &amp;&amp; key == Characters.ENTER)
        	{
            // handle the ENTER key from the embedded chat field
            String msg = replyField.getText().trim();
            	if (msg.length() &gt; 0)
            	{	/* add code to send the message, for example:
            			try {
							sendMessage(msg);
						}
            			catch (DataOverflowException e) {
							 // message cannot be sent
							e.printStackTrace();
					} catch (ContactUnreachableException e) {
							// contact is not reachable
							e.printStackTrace();
							}
				*/
            	}

            replyField.setText(null);  // clear the reply field
            _chatField.toggle();       // hide the reply field
            return true;
        	}
        return super.keyChar(key, status, time);
    }

	/* Create a class to send the message over an existing connection, for example:

private void sendMessage (String msg) throws DataOverflowException, ContactUnreachableException
		{
		BBMPlatformContactList contactList = connection.getContactList();
    		if( connection.getContactList().size() &gt; 0 ) {
       	 	BBMPlatformData data = new BBMPlatformData( msg );
       		connection.sendData( data, contactList );
     		}
		}
	*/
}</pre>
</div>
<p></p>
<p><strong>BlackBerry WebWorks</strong></p>
<p><strong>HTML chat window elements:</strong></p>
<div class="sample">
<pre>&lt;div id="chatWindow"&gt;&lt;/div&gt;
&lt;div id="inputArea"&gt;
                &lt;textarea id="txtMessage" rows="1"&gt;&lt;/textarea&gt;
&lt;/div&gt;</pre>
</div>
<p></p>
<p><strong>Styling chat window elements using CSS:</strong></p>
<div class="sample">
<pre>.receive-chatBubble
{
	margin: 4px 20px 0px 4px;
	padding: 0;
	position: relative;
}

#inputArea
{
	border: 1px solid #A5A2A5;
	border-right: 1px solid #A5A2A5;
	background: black;
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#666), to(#1E1B14));
	padding: 5px 3px;
	overflow:auto;
}</pre>
</div>
<p></p>
<p><strong>Sending an outgoing BBM message via JavaScript:</strong></p>
<div class="sample">
<pre>//Attempt to read the current user's display name from the BBM Client
if ((window.blackberry !== undefined) &amp;&amp; (blackberry.bbm.platform !== undefined))
{
	displayName = blackberry.bbm.platform.self.displayName;
}	

//Display the message in the current user's chat window
addMessageToChatWindow(MESSAGE_TYPE_SEND, message, displayName, dt);

if (connType === "session")
{
	conn.broadcast(message);
}
else {
	conn.send(message);
}</pre>
</div>
<p></p>
<p><strong>Listening for incoming BBM messages via JavaScript:</strong></p>
<div class="sample">
<pre>connection.onBroadcastData = function(user, data)
{
	//Another user in the session has broadcasted a message.
	var displayName = "Unknown", dt = new Date();
	if (user)
	{
		displayName = user.displayName;
	}
	addMessageToChatWindow(MESSAGE_TYPE_RECEIVE, data, displayName, dt);
};</pre>
</div>
<p></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/6834/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/6834/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=6834&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2011/08/bbm-social-platform-adding-chat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/93c01acd537bfb61a304b73eef4fce76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brianzub1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2011/03/bbm-icon_white.jpg" medium="image">
			<media:title type="html">BBM</media:title>
		</media:content>
	</item>
		<item>
		<title>RIM’s expanded App Ecosystem: the benefits for developers</title>
		<link>http://devblog.blackberry.com/2011/04/blackberry-playbook-development-android/</link>
		<comments>http://devblog.blackberry.com/2011/04/blackberry-playbook-development-android/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 14:59:49 +0000</pubDate>
		<dc:creator>Douglas Soltys</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[blackberry playbook]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Dojo]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PhoneGap]]></category>
		<category><![CDATA[sencha]]></category>
		<category><![CDATA[super app]]></category>
		<category><![CDATA[tablet os]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=3484</guid>
		<description><![CDATA[Detailing the benefits of supporting Android apps on the BlackBerry® Tablet OS and the BlackBerry® PlayBook™ tablet.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=4815&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img src="http://rimdevblog.files.wordpress.com/2011/04/playbook_angle3_march10_2011_ui.jpg?w=589&#038;h=379" alt="BlackBerry PlayBook tablet" title="BlackBerry PlayBook tablet" width="589" height="379" class="aligncenter size-full wp-image-3490" /></p>
<p><em>Jim Tobin, SVP of the Software, Services &amp; Enterprise Markets business unit at Research In Motion® (RIM®), has a great blog post on <a href="http://blogs.blackberry.com" target="_new" title="Inside BlackBerry">Inside BlackBerry</a> highlighting the benefits of our recent platform announcements for customers and developers. For your convenience, we&#8217;ve pulled out the developer-related information. Click the link at the end to read Jim&#8217;s full post!</em></p>
<p>We <a href="http://press.rim.com/release.jsp?id=4935" target="_new">recently announced</a> plans to enable developers to leverage existing assets for the BlackBerry® Java® Development Environment and Android® platforms to be easily ported to the BlackBerry® Tablet OS via ‘application players’. The application player for supported Android apps will be available this summer, followed soon after by the application player for supported BlackBerry JDE apps.  Both will be available through the <a href="http://us.blackberry.com/apps-software/appworld/?iid=AppWorld_Software_landing" target="_new" title="BlackBerry App World">BlackBerry App World</a>™  storefront.</p>
<p><strong>What does this mean for Developers?</strong></p>
<ul>
<li>For the majority of developers, the way to go is still the BlackBerry platform and the widened set of tools we’ve made available. Only these can ensure that the developer harnesses the full power of the BlackBerry PlayBook tablet in terms of extremely rich graphics, full multitasking, and ultrafast processing.  BlackBerry smartphone development options include the BlackBerry® WebWorks™ platform. <a href="http://us.blackberry.com/developers/tablet/webworks.jsp" target="_new" title="BlackBerry WebWorks">BlackBerry WebWorks</a> offers leading HTML5, CSS3 and JavaScript support on a mobile platform.  The BlackBerry WebWorks platform also supports modern web frameworks such as Sencha, PhoneGap, jQuery and Dojo.</li>
<li>BlackBerry PlayBook tablet development options currently include BlackBerry WebWorks as well as <a href="http://us.blackberry.com/developers/tablet/adobe.jsp" target="_new" title="Adobe">Adobe</a>® (Flash® and AIR®).</li>
<li>RIM will add full tooling support for native C/C++ development for the BlackBerry PlayBook tablet over the coming months.  We’re highly confident about this.  The QNX team RIM acquired to develop our BlackBerry Tablet OS has won awards for its Eclipse-based native Integrated Development Environment (“IDE”).</li>
</ul>
<p>Because of the app players we’re providing, if there are developers currently developing for the Android platform, they can now rapidly move onto our platform while they evaluate our other development paths.  We can now offer such developers an on-ramp to package and distribute their apps to our growing customer base of consumers, enterprises and governments. </p>
<p>Going forward, we will continue to evolve our various development technologies to deliver the most powerful, flexible and open experiences for developers whether they choose to build with HTML5, Java®, Adobe Flash, Adobe AIR, or native C/C++.  And for those developers using our BlackBerry platform tools, we will continue to offer access to a growing set of on-device API’s to enable best-in-class integration with core BlackBerry applications and features (which we call “<a href="http://us.blackberry.com/developers/started/super_apps.jsp" target="_new">Super App</a>” experiences).  We are also planning to provide a range of advanced cloud-based services including the BlackBerry Payment and Advertising Services, advanced location-based services, application analytics, and powerful Push services. Stay tuned for more details on these future release plans. </p>
<p><strong><a style="float:right;" href="http://blogs.blackberry.com/2011/04/blackberry-playbook-android" target="_new">Read the entire post on the Inside BlackBerry Blog »</a></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/4815/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/4815/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=4815&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2011/04/blackberry-playbook-development-android/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2d037da01c57235fd7d45fc1c591397f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dsoltys</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2011/04/playbook_angle3_march10_2011_ui.jpg" medium="image">
			<media:title type="html">BlackBerry PlayBook tablet</media:title>
		</media:content>
	</item>
		<item>
		<title>BlackBerry WebWorks and the Open Source Community</title>
		<link>http://devblog.blackberry.com/2010/09/blackberry-webworks-and-the-open-source-community/</link>
		<comments>http://devblog.blackberry.com/2010/09/blackberry-webworks-and-the-open-source-community/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 22:06:02 +0000</pubDate>
		<dc:creator>Douglas Soltys</dc:creator>
				<category><![CDATA[Dev Con]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[DevCon 2010]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[webkit]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=2491</guid>
		<description><![CDATA[BlackBerry WebWorks and open source community overview with Inside BlackBerry Developer's Blog bloggers Adam and Prosanta.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2491&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/1Kk7C6Bm9SM?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<p>Following this week&#8217;s <a href="http://na.blackberry.com/eng/developers/browserdev/opensource.jsp">BlackBerry WebWorks announcement</a>, I thought it would be a good idea to speak with fellow Inside BlackBerry Developer&#8217;s Blog bloggers, Adam and Prosanta about WebWorks and the open source community initiative. Check out the links below to visit the webpages mentioned in the video and to download the (free!) Hollywood Bowl app demoed. REMINDER: We need your help to name our github community! Post your suggestions in the comments.</p>
<p><a href="http://github.com/blackberry">BlackBerry github Community</a><br />
<a href="http://na.blackberry.com/eng/developers/browserdev/opensource.jsp">BlackBerry WebWorks Developer Page</a><br />
<a href="http://appworld.blackberry.com/webstore/content/12338">Hollywood Bowl app</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/2491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/2491/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2491&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/09/blackberry-webworks-and-the-open-source-community/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2d037da01c57235fd7d45fc1c591397f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dsoltys</media:title>
		</media:content>
	</item>
		<item>
		<title>BlackBerry 6 Browser Developer Documentation</title>
		<link>http://devblog.blackberry.com/2010/08/blackberry-6-browser-developer-documentation/</link>
		<comments>http://devblog.blackberry.com/2010/08/blackberry-6-browser-developer-documentation/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 16:18:25 +0000</pubDate>
		<dc:creator>Adam S.</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[blackberry 6]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[webworks]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=2101</guid>
		<description><![CDATA[The BlackBerry® Browser documentation page has been recently updated to include developer manuals and reference guides for the new browser on BlackBerry® 6. Check out the info here!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2101&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img src="http://rimdevblog.files.wordpress.com/2010/08/browser_screen11.jpg?w=360&#038;h=480" alt="" title="BlackBerry® Browser" width="360" height="480" class="aligncenter size-full wp-image-2102" /></p>
<p>The <a href="http://docs.blackberry.com/en/developers/subcategories/?userType=21&amp;category=BlackBerry+Browser" target="_new" title="BlackBerry® Browser documentation page">BlackBerry® Browser documentation page</a> has been recently updated to include developer manuals and reference guides for the new browser on BlackBerry® 6.</p>
<p>The following documents are now online:</p>
<p><span id="more-2101"></span></p>
<ul>
<li><a href="http://docs.blackberry.com/en/developers/deliverables/18169/index.jsp?name=Feature+and+Technical+Overview+-+BlackBerry+Browser6.0&amp;language=English&amp;userType=21&amp;category=BlackBerry+Browser&amp;subCategory=" target="_new" title="Feature and Technical Overview">Feature and Technical Overview</a> – detailed overview of the key features of the browser on BlackBerry 6, as well as the architecture and supported content types of the new web platform.</li>
<li><a href="http://docs.blackberry.com/en/developers/deliverables/18027/index.jsp?name=HTML+Reference+-+BlackBerry+Browser6.0&amp;language=English&amp;userType=21&amp;category=BlackBerry+Browser&amp;subCategory=" target="_new" title="HTML Reference Guide">HTML Reference Guide</a> – includes information about supported HTML elements (including HTML5), attributes and input type modes.</li>
<li><a href="http://docs.blackberry.com/en/developers/deliverables/18446/index.jsp?name=JavaScript+Reference+-+BlackBerry+Browser6.0&amp;language=English&amp;userType=21&amp;category=BlackBerry+Browser&amp;subCategory=" target="_new" title="JavaScript Reference Guide">JavaScript Reference Guide</a> – contains technical details about the various supported JavaScript® APIs, such as Core, Events, Canvas, Geolocation, XmlHTTPRequest, etc.</li>
<li><a href="http://docs.blackberry.com/en/developers/deliverables/18234/index.jsp?name=CSS+Reference+-+BlackBerry+Browser6.0&amp;language=English&amp;userType=21&amp;category=BlackBerry+Browser&amp;subCategory=" target="_new" title="CSS Reference Guide">CSS Reference Guide</a> – a robust guide that organizes the supported CSS properties (including CSS3) into logical categories such as text, tables, backgrounds, etc.</li>
</ul>
<p><img src="http://rimdevblog.files.wordpress.com/2010/08/browser_screen21.jpg?w=360&#038;h=480" alt="" title="BlackBerry Browser" width="360" height="480" class="aligncenter size-full wp-image-2105" /></p>
<p>Please let us know if you find these developer guides helpful, as well as what else you might like to see!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/2101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/2101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2101&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/08/blackberry-6-browser-developer-documentation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16f032fc46b780f6d9fa38b24a7f8ff2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adamstan1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/08/browser_screen11.jpg" medium="image">
			<media:title type="html">BlackBerry® Browser</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/08/browser_screen21.jpg" medium="image">
			<media:title type="html">BlackBerry Browser</media:title>
		</media:content>
	</item>
		<item>
		<title>HTML5 Elements for BlackBerry</title>
		<link>http://devblog.blackberry.com/2010/08/blackberry-html5/</link>
		<comments>http://devblog.blackberry.com/2010/08/blackberry-html5/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 12:32:57 +0000</pubDate>
		<dc:creator>Prosanta B.</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[blackberry 6]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[webkit]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=2004</guid>
		<description><![CDATA[New HTML5 elements supported in BlackBerry 6 and the BlackBerry Browser.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2004&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>As I’m sure you’ve heard by now, <a href="http://devblog.blackberry.com/2010/08/developing-new-blackberry-browser/" title="Developing the New BlackBerry Browser">WebKit has come to BlackBerry®</a>!  This is an exciting time not only for the BlackBerry Web Platform, but for web technologies in general.  With the combination of <a href="http://webkit.org" target="_new">WebKit</a> and the new <a href="http://www.w3.org/TR/html5" target="_new">W3C standard for HTML5</a>, web applications are going to become more and more powerful.</p>
<p>Here at Research In Motion® (RIM), we’re incredibly excited about this development. The support of WebKit and HTML5 in <a href="http://devblog.blackberry.com/2010/07/blackberry-6-developers/">BlackBerry® 6</a> &#8211; along with the recent introduction of <a href="http://devblog.blackberry.com/2010/08/blackberry-6-widgets/">BlackBerry® Widgets</a> &#8211; shows the way the platform is changing and growing for web developers looking to make rich, compelling apps that have the same look, feel and features as a native application.</p>
<p>HTML5 contains lots of <a href="http://www.w3schools.com/html5/html5_reference.asp" target="_new">new elements</a> for developers to leverage, including elements to help make web content easier to index and optimize for search engines; elements that enable you to play media in your application; elements that let you take it offline; and a plethora of other features to make your application a thing of beauty.  The BlackBerry implementation of WebKit and HTML5 will be no different &#8211; going forward with the BlackBerry 6 Browser and Widget engines, you’ll be able to leverage all of the same elements that you would for any desktop browsers with virtually no limitations.</p>
<p>These elements include:</p>
<ul>
<li><a href="http://dev.w3.org/html5/spec/Overview.html#the-canvas-element" target="_new">Canvas</a></li>
<li><a href="http://dev.w3.org/html5/spec/Overview.html#parsing" target="_new">Parsing</a></li>
<li><a href="http://dev.w3.org/html5/spec/Overview.html#video" target="_new">Video</a></li>
<li><a href="http://dev.w3.org/html5/spec/Overview.html#audio" target="_new">Audio</a></li>
<li><a href="http://dev.w3.org/html5/spec/Overview.html#forms" target="_new">Forms (partial implementation)</a></li>
<li><a href="http://dev.w3.org/geo/api/spec-source.html" target="_new">Geolocation</a></li>
<li><a href="http://dev.w3.org/html5/workers" target="_new">Workers</a></li>
<li><a href="http://dev.w3.org/html5/spec-author-view/timers.html" target="_new">Timers</a></li>
</ul>
<p>With the added capabilities of HTML5 to the BlackBerry® Browser, web developers will be able to create content that they would have never been able to run through the mobile web before &#8211; compelling games, interactive media, 3D graphics, and the list goes on. HTML5 looks to be an invaluable tool for web developers around the world!</p>
<p>Here’s a few blogs and websites with some examples of the compelling features of HTML5:</p>
<ul>
<li><a href="http://html5demos.com" target="_new">HTML5Demos</a></li>
<li><a href="http://html5gallery.com" target="_new">HTML5Gallery</a></li>
<li><a href="http://www.youtube.com/html5" target="_new">YouTube</a></li>
<li><a href="http://visionwidget.com/showcase/graphics/521-examples-of-fresh-html5-websites.html" target="_new">VisionWidget</a></li>
</ul>
<p>Please feel free to post your HTML5 experiences so far, and share with us how you plan to leverage this exciting new technology!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/2004/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/2004/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2004&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/08/blackberry-html5/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8721ed983743f63d33e3766566e941df?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Prosanta B.</media:title>
		</media:content>
	</item>
		<item>
		<title>Developing The NEW BlackBerry Browser</title>
		<link>http://devblog.blackberry.com/2010/08/developing-new-blackberry-browser/</link>
		<comments>http://devblog.blackberry.com/2010/08/developing-new-blackberry-browser/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 17:02:41 +0000</pubDate>
		<dc:creator>Michael W.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Editorials]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[blackberry 6]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[ui]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=1938</guid>
		<description><![CDATA[BlackBerry Browser senior product manager provides insight into the new BlackBerry 6 browser from a developer perspective.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=1938&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img src="http://rimdevblog.files.wordpress.com/2010/08/dev-browser11.jpg?w=480&#038;h=361" alt="" title="The BlackBerry 6 Browser" width="480" height="361" class="aligncenter size-full wp-image-1939" /></p>
<p>Over the past year, the team responsible for the new BlackBerry® Browser in BlackBerry 6 has been challenged with identifying what makes a great mobile web browsing experience, and then building it.  In addition to the new experts that have come on board through the acquisition of Torch Mobile, many of Research In Motion’s (RIM) brightest engineers have collaborated to set a new course for the BlackBerry Browser.  As the senior product manager responsible for BlackBerry Browser development, I can personally attest that we’re extremely excited to see how customers will respond to this new direction when they fire up BlackBerry 6 for the first time.</p>
<p>At the core of the new BlackBerry Browser is the WebKit rendering engine.  WebKit is a high quality open source rendering engine, which is used in many desktop and mobile web browsers.  Our Browser development team not only has the WebKit expertise of Torch Mobile (a leading contributor in the WebKit community), but also years of RIM mobile expertise to help ensure that the WebKit engine is optimized for mobile. What does this mean? Click the link below and I’ll show you!</p>
<p><span id="more-1938"></span></p>
<h2>Rendering Speed and Web Standards Support</h2>
<p>Our development team made it a priority to ensure that new BlackBerry Browser supports web standards both now and going forward. Below are few examples of where we stand today with some important web standards &#8212; including HTML5, an emerging web standard and a key focus in future versions of the BlackBerry Browser.</p>
<ul>
<li>Our <a href="http://acid3.acidtests.org/" target="_new">Acid 3</a> test score:  Perfect (100 of 100)</li>
<li>Our <a href="http://www.css3.info/selectors-test/" target="_new">CSS3 Selectors</a> test score:  Perfect (574 of 574)</li>
<li>Our <a href="http://www.html5test.com/" target="_new">HTML5</a> test score: 208 of 300 – note that total compliance is not yet possible</li>
</ul>
<p>The combination of the WebKit engine, web standards support, and our efforts to optimize for the mobile environment means that the new BlackBerry Browser is designed to provide a significant improvement to HTML rendering speed, and JavaScript® execution.  Combined, these two performance improvements will drive the most obvious and customer-facing metric of all performance metrics – page load performance!</p>
<h2>New UI and Features</h2>
<p><img src="http://rimdevblog.files.wordpress.com/2010/08/dev-browser21.jpg?w=280" alt="" title="BlackBerry 6 Browser" width="280" /> <img src="http://rimdevblog.files.wordpress.com/2010/08/dev-browser31.jpg?w=280" alt="" title="BlackBerry 6 Browser" width="280" /></p>
<p>Encapsulating the core rendering engine is an all-new user interface.  The BlackBerry Browser UI in BlackBerry 6 has been designed to help users get to their desired content quickly, with minimal latency and required steps. New features we’ve added to the BlackBerry Browser include: a redesigned start page, unified URL and search entry box, tabbed browsing, pinch to zoom, and automatic content adjustment. Check out my post on <a href="http://blogs.blackberry.com/2010/08/blackberry-6-new-browser" target="_new">Inside BlackBerry</a> for a thorough overview of these new features.</p>
<p>While many things have changed in the BlackBerry Browser, one key element has stayed the same: The BlackBerry platform optimizes, but does not compromise the web content and application experience.  We are the only platform that uses WebKit while also reducing the data consumed to render most sites significantly. BlackBerry 6 is designed to allow users to access desktop and premium mobile web content while using significantly less data, making it easier for them to stay within the confines of their service plans. This is also great news for developers, because the BlackBerry platform will not compromise your web content while reducing data consumption for consumers. It’s a win-win!</p>
<p>We have a lot of great BlackBerry Developer&#8217;s Blog posts in the coming weeks discussing WebKit and HTML5 in more detail. BlackBerry developers, please leave us a comment and let us know what you&#8217;re looking forward to the most in the new BlackBerry 6 platform!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/1938/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/1938/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=1938&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/08/developing-new-blackberry-browser/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cf3b006d8f17fead9f48d9ee95c42720?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Michael W.</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/08/dev-browser11.jpg" medium="image">
			<media:title type="html">The BlackBerry 6 Browser</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/08/dev-browser21.jpg" medium="image">
			<media:title type="html">BlackBerry 6 Browser</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/08/dev-browser31.jpg" medium="image">
			<media:title type="html">BlackBerry 6 Browser</media:title>
		</media:content>
	</item>
		<item>
		<title>Introducing BlackBerry 6 to Developers</title>
		<link>http://devblog.blackberry.com/2010/07/blackberry-6-developers/</link>
		<comments>http://devblog.blackberry.com/2010/07/blackberry-6-developers/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 16:26:53 +0000</pubDate>
		<dc:creator>Mike Kirkup</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[apis]]></category>
		<category><![CDATA[blackberry 6]]></category>
		<category><![CDATA[blackberry partner fund]]></category>
		<category><![CDATA[developer challenge]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[html 5]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[super apps]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=1915</guid>
		<description><![CDATA[Get ready for upcoming Inside BlackBerry Developer's Blog posts featuring BlackBerry 6 from Java® and Web development perspectives.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=1915&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img src="http://rimdevblog.files.wordpress.com/2010/07/statusbarhighlighted.jpg?w=360&#038;h=480" alt="" title="BlackBerry 6" width="360" height="480" class="aligncenter size-full wp-image-1920" /></p>
<p>There’s been no shortage of excitement about BlackBerry® 6 lately &#8211; I am thrilled by the response to our latest<a href="http://blogs.blackberry.com/2010/07/blackberry-6-another-sneak-peek/" title="BlackBerry 6: Another Sneak Peek">BlackBerry 6 video</a> and <a href="http://blogs.blackberry.com/tag/blackberry-6/">Inside BlackBerry blog posts</a>. We wanted to find a way to outline for you, our developer community, some of the opportunities that BlackBerry 6 will bring.</p>
<p>One thing we want to do is differentiate the way BlackBerry 6 will affect Java® development versus Web development. Over the coming weeks, we will share tips, tricks and more information about developing for BlackBerry 6 through two separate paths. For our Java developers, we’ll work to highlight the new APIs being introduced, including a new powerful set of new User Interface controls, Universal Search integration, and a Barcode Capture API. For our web developers, we’ll start to redefine BlackBerry® Widgets and talk about the completely revamped BlackBerry Browser powered by a Webkit engine. We will cover HTML5, CSS3, and concrete steps for how you can bring your mobile site to BlackBerry® smartphones.</p>
<p>On top of that, we are going to continue our series covering Super Apps and how you can create an amazing user experience on the BlackBerry platform. We are now less than eight weeks away from the final deadline for the <a href="http://www.blackberrypartnersfund.com/2010challenge" target="_new">BlackBerry Partners Fund Super Apps Developer Challenge</a>. With over $1.5 million in prizing, this is a challenge you don&#8217;t want to watch from the sidelines.</p>
<p>So bookmark the Inside BlackBerry Developer’s Blog (if you haven’t already!) and be sure to check back frequently for all the latest content! </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/1915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/1915/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=1915&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/07/blackberry-6-developers/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/df3fbb85b0186198b2f85e7cd3f0bf1a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikekir1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/07/statusbarhighlighted.jpg" medium="image">
			<media:title type="html">BlackBerry 6</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Add Menu Items Using the BlackBerry Widget SDK</title>
		<link>http://devblog.blackberry.com/2010/06/how-to-add-menu-items-using-blackberry-widget-sdk/</link>
		<comments>http://devblog.blackberry.com/2010/06/how-to-add-menu-items-using-blackberry-widget-sdk/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 10:00:00 +0000</pubDate>
		<dc:creator>Adam S.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=1744</guid>
		<description><![CDATA[A comprehensive how-to post on using menu items effectively within your BlackBerry® application, and how you can best use the menu items to create a positive application experience.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=1744&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-1748" title="Menu Items" src="http://rimdevblog.files.wordpress.com/2010/06/menuitem31.jpg?w=462&#038;h=292" alt="" width="462" height="292" /></p>
<p>Using menu items effectively within your application is one of many ways to create a positive application experience, and helps to improve the overall engagement and usage of your application.</p>
<p>The <a title="BlackBerry® Widget API collection" href="http://www.blackberry.com/developers/docs/widgetapi/" target="_new">BlackBerry® Widget API collection</a> includes JavaScript® objects that can enhance the functionality of an application created using the <a title="BlackBerry Widget SDK" href="http://na.blackberry.com/eng/developers/browserdev/widgetsdk.jsp" target="_new">BlackBerry Widget SDK</a>.  This collection includes the <a title="MenuItem object" href="http://www.blackberry.com/developers/docs/widgetapi/blackberry.ui.menu.MenuItem.html" target="_new">MenuItem</a> object, which can be used to easily create contextual menus within your BlackBerry Widget application.</p>
<p><span id="more-1744"></span></p>
<h2>Creating MenuItem objects</h2>
<p>As shown in the following example, adding a new menu item involves these two steps:</p>
<ol>
<li>Create an instance of the <a href="http://www.blackberry.com/developers/docs/widgetapi/blackberry.ui.menu.MenuItem.html" target="_new">MenuItem</a> JavaScript object;</li>
<li>Use the Widget <a href="http://www.blackberry.com/developers/docs/widgetapi/blackberry.ui.menu.html" target="_new">Menu</a> API to add the object to the menu.</li>
</ol>
<p>The keywords “Hello” and “World” are displayed as captions in the menu, and corresponding JavaScript functions named “callBackHello” and “callBackWorld” are called when the user selects the respective menu items.<br />
This example also demonstrates how to create a menu item separator.  Note the first parameter of the constructor is a Boolean value, indicating whether or not the MenuItem is a separator:</p>
<div class="sample">
<pre>
function createMenu(setDefault)
{
//Define Menu Item objects:
var mi_hello = new blackberry.ui.menu.MenuItem(false, 0, “Hello”, callBackHello);
var mi_separator = new blackberry.ui.menu.MenuItem(true, 1);
var mi_world = new blackberry.ui.menu.MenuItem(false, 2, “World”, callBackWorld);

//Clear existing menu items:
blackberry.ui.menu.clearMenuItems();

//Add a separator between two menu item objects:
blackberry.ui.menu.addMenuItem(mi_hello);
blackberry.ui.menu.addMenuItem(mi_separator);
blackberry.ui.menu.addMenuItem(mi_world);

//Optionally set default focus to a specified menu item:
if (setDefault)
{
blackberry.ui.menu.setDefaultMenuItem(mi_hello);
}
}
</pre>
</div>
<p><img class="aligncenter size-full wp-image-1749" title="Menu Item" src="http://rimdevblog.files.wordpress.com/2010/06/menuitem21.jpg?w=490&#038;h=310" alt="" width="490" height="310" /></p>
<h2>When to create the menu</h2>
<p>The most straightforward way to add menu items in your Widget application is to call the “createMenu()” method from the “onload” event which occurs immediately after the browser rendering engine loads the page.  This ensures that all required JavaScript has been loaded into memory, and that when the user is ready to interact with your application, the menu has been created:</p>
<div class="sample">
<pre>
&lt;body onload=”createMenu()”&gt;
You can also re-build the menu at any time by calling the createMenu function elsewhere on the page:
&lt;button id=”btnMenu” onclick=”createMenu(1)”&gt;
Re-build menu &lt;/button&gt;
&lt;/body&gt;
</pre>
</div>
<p><img class="aligncenter size-full wp-image-1748" title="Menu Items" src="http://rimdevblog.files.wordpress.com/2010/06/menuitem31.jpg?w=462&#038;h=292" alt="" width="462" height="292" /></p>
<h2>Menu and Super Apps</h2>
<p>One of the key principles of the <a title="Super Apps" href="http://www.blackberry.com/developers/superapps" target="_new">Super App</a> concept is being able to provide a contextual user experience.  This means allowing your application to make use of any conditional information in order to deliver content and services that are relevant within the current context.</p>
<p>The Widget Menu API provides an easy dynamic user interface you can adjust to the current context of the application.  By displaying menu items that are relevant to what the user is currently doing, you can increase engagement and optimize the user experience by making it easier for your users to access the information they need within your application.</p>
<p>The best example of effective use of a contextual menu is one that most BlackBerry users are familiar with: the Messages application.  The initial context of the Messages application provides a list of messages, and the menu on this screen includes items such as “Open” and “Search By.”  When a message is opened, the context of the application changes &#8211; and so does the menu, becoming relevant to the user viewing a message.  The “Open” menu item is removed, and the “More” and “Add to Contacts” menu items are added.  This allows the user to easily access the application functionality that is most important to them at that point in time.</p>
<p>Another example of how you can contextualize the menu is having your application perform an automatic check for updates on startup.  If a new version of your application is available, an “Update Now” item can be added to the menu.  When selected, the menu item can redirect the user to either an over-the-air download page, or launch <a title="BlackBerry App World™" href="http://www.blackberry.com/appworld" target="_new">BlackBerry App World™</a> to your product download page.</p>
<p>Another final example of effective menu usage could be to use the Widget <a href="http://www.blackberry.com/developers/docs/widgetapi/Summary_system.html" target="_new">System</a> API to detect whether the current BlackBerry smartphone has Wi-Fi® capability, and to provide an “Enable Wi-Fi” menu item in advance of your user accessing a high-bandwidth feature of your application.</p>
<h2>Super App Developer Challenge</h2>
<p>By making your apps context-aware, you can easily increase the usefulness and relevance of your services and deliver the Super App experience.  Effective use of Menu items in your application is a great way to provide a highly contextualized user experience.</p>
<p>As a reminder, BlackBerry Widget applications can qualify for the <a title="BlackBerry Super Apps Developer Challenge" href="http://www.blackberrypartnersfund.com/2010challenge" target="_new">BlackBerry Super Apps Developer Challenge</a>.  If you have or are building an application that you think meets the requirements for being a Super App, please don’t hesitate to submit it to the Developer Challenge before September 6, 2010.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/1744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/1744/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=1744&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/06/how-to-add-menu-items-using-blackberry-widget-sdk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16f032fc46b780f6d9fa38b24a7f8ff2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adamstan1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/06/menuitem31.jpg" medium="image">
			<media:title type="html">Menu Items</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/06/menuitem21.jpg" medium="image">
			<media:title type="html">Menu Item</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/06/menuitem31.jpg" medium="image">
			<media:title type="html">Menu Items</media:title>
		</media:content>
	</item>
	</channel>
</rss>
