<?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; BlackBerry PlayBook OS 2.0</title>
	<atom:link href="http://devblog.blackberry.com/tag/blackberry-playbook-os-2-0/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 15:08:31 +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; BlackBerry PlayBook OS 2.0</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>Enterprise app development with BlackBerry Mobile Fusion and BlackBerry PlayBook OS 2.0</title>
		<link>http://devblog.blackberry.com/2012/03/enterprise-app-development/</link>
		<comments>http://devblog.blackberry.com/2012/03/enterprise-app-development/#comments</comments>
		<pubDate>Tue, 06 Mar 2012 19:21:43 +0000</pubDate>
		<dc:creator>Gurtej S.</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Platform Services]]></category>
		<category><![CDATA[app development]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[BlackBerry Balance]]></category>
		<category><![CDATA[BlackBerry Device Service]]></category>
		<category><![CDATA[BlackBerry Mobile Fusion]]></category>
		<category><![CDATA[BlackBerry PlayBook OS 2.0]]></category>
		<category><![CDATA[Enterprise]]></category>
		<category><![CDATA[mobile device management]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=8660</guid>
		<description><![CDATA[Introducing BlackBerry Device Service, the component of BlackBerry® Mobile Fusion used to manage BlackBerry PlayBook tablets and future BlackBerry 10 devices.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8660&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-8661" title="" src="http://rimdevblog.files.wordpress.com/2012/03/enterprise-fusion.jpg?w=600&#038;h=261" alt="" width="600" height="261" /></p>
<p>Today, I am very excited to introduce you to BlackBerry® Device Service, which is the component of BlackBerry® Mobile Fusion used to manage BlackBerry® PlayBook™ tablets and future BlackBerry® 10 devices. <a href="http://bizblog.blackberry.com/2012/02/playbook-mobile-fusion/" target="_new">BlackBerry Mobile Fusion</a> is RIM’s new unified multi-platform MDM (mobile device management) solution for managing in market BlackBerry OS devices, BlackBerry 10 devices, and iOS and Android™ devices as shown in the image above.</p>
<p>Why should you be excited about the launch of BlackBerry Device Service together with <a href="http://blogs.blackberry.com/2012/02/playbook-os-2-0-update-here-download-now/" target="_new">BlackBerry PlayBook OS 2.0</a>? Well that’s simple. For those of you new to enterprise mobility, especially when it comes to BlackBerry, we’ve always had the secret sauce to enable your enterprise mobile applications to seamlessly connect to your backend application server with no need for an enterprise VPN. This secret sauce was our BlackBerry Mobile Data System (MDS) which abstracted away much of the wireless network complexities and provided an end to end, AES secure connection for enterprise application developers.</p>
<p><span id="more-8660"></span></p>
<p>For those of you that have been long waiting for this feature, look no further as we are bringing this functionality back to BlackBerry PlayBook OS 2.0 and future BlackBerry 10 devices. Just imagine if you were an insurance adjuster in the field and wanted an application:</p>
<ul>
<li>pushed to your BlackBerry PlayBook tablet</li>
<li>to seamlessly upload both vehicles pictures and a brief description to your application server that resides behind your corporate firewall</li>
</ul>
<p>Together with BlackBerry Device Service and BlackBerry PlayBook OS 2.0, these problems are solved! This is exactly what we have enabled both the corporate customers and enterprise developers to implement.</p>
<p>Although customers have long had the ability to push applications to BlackBerry users with a BlackBerry Enterprise Server, this is the first time we are introducing a user self-serve portal to manage all enterprise applications – right from BlackBerry App World™. With BlackBerry Balance™, enterprise applications are installed within a corporate perimeter on the device. For more information on BlackBerry Balance, be sure to read this blog post from <a href="http://blogs.blackberry.com/2011/05/introducing-blackberry-balance/" target="_new">the Inside BlackBerry Blog</a>, and check out the <a href="http://ca.blackberry.com/business/software/balance/" target="_new">BlackBerry Balance website</a> as well.</p>
<p>Together, these features will protect all your resident enterprise application data within the corporate perimeter and at the same time provide a secure AES encrypted pipe to transport your data securely from behind the firewall. This is exactly why I share this excitement with all our enterprise development community today.</p>
<p>If you haven’t already done so, I would check for BlackBerry PlayBook OS upgrades and immediately <a href="http://helpblog.blackberry.com/2012/02/download-update-blackberry-playbook-2-0/" target="_new">upgrade your device to BlackBerry PlayBook OS 2.0</a>. You can also <a href="http://ca.blackberry.com/business/software/mobilefusion/?CPID=KNC-kw461269_p7&amp;HBX_PK=rim|48df4058-6993-6689-42fc-000053a41b7d" target="_new">download a free trial of BlackBerry Mobile Fusion</a> today.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/8660/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/8660/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8660&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/03/enterprise-app-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/41e8b1a2189dfce0a51887beab21795d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gurtejsan1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/03/enterprise-fusion.jpg" medium="image" />
	</item>
		<item>
		<title>Web Inspector from BlackBerry PlayBook OS 2.0 can improve performance, bug fixing and experience building</title>
		<link>http://devblog.blackberry.com/2012/02/web-inspector-playbook/</link>
		<comments>http://devblog.blackberry.com/2012/02/web-inspector-playbook/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 20:03:13 +0000</pubDate>
		<dc:creator>Adam S.</dc:creator>
				<category><![CDATA[Java Development]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[blackberry playbook]]></category>
		<category><![CDATA[BlackBerry PlayBook development]]></category>
		<category><![CDATA[BlackBerry PlayBook OS 2.0]]></category>
		<category><![CDATA[blackberry webworks]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Inspector]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=8583</guid>
		<description><![CDATA[BlackBerry developers can use the Web Inspector utility to help to debug and profile web application content running on a BlackBerry PlayBook tablet.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8583&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>BlackBerry® developers can use the Web Inspector utility to help to debug and profile web application content running on a BlackBerry® PlayBook™ tablet. I discussed this earlier in a blog post entitled “<a href="http://devblog.blackberry.com/2011/06/debugging-blackberry-web-apps/" target="_new">Debugging BlackBerry web applications using Web Inspector</a>,” and BlackBerry remains the only mobile development platform in the market with this feature. This powerful debugging tool can be used to test and troubleshoot HTML5 content, running either in the browser or within an application created using the <a href="https://bdsc.webapps.blackberry.com/html5/" target="_new">BlackBerry® WebWorks™ SDK</a>. Instructions about <a href="http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/How-to-debug-BlackBerry-web-applications-using-Web-Inspector/ta-p/1207155" target="_new">how to debug BlackBerry web applications using Web Inspector</a> can be found in developer support documentation.</p>
<p>The <a href="http://devblog.blackberry.com/2012/02/build-web-apps-playbook/" target="_new">BlackBerry® PlayBook™ OS 2.0 software upgrade</a> provided major enhancements to the web developer platform, and I wanted to highlight some of the key improvements to Web Inspector that are now available in OS 2.0 as well. These enhancements can make it easier for developers to fix bugs, improve performance and create positive experiences for their users.</p>
<h3><strong>Quick access settings menu</strong></h3>
<p>A settings panel is now available to help developers configure how information is presented within Web Inspector. Developers can define default formats for colors, text indentation and word wrap behavior.</p>
<p><img class="aligncenter size-full wp-image-8590" title="" src="http://rimdevblog.files.wordpress.com/2012/02/web-inspector-1.jpg?w=500&#038;h=406" alt="" width="500" height="406" /></p>
<p><span id="more-8583"></span></p>
<h3><strong>Network panel</strong></h3>
<p>The new networking panel displays helpful information about HTTP request and responses made by your application. This includes network traffic logging about documents, style sheets, images, scripts, XmlHttpRequest, fonts and even web sockets.</p>
<p>Click on any resource displayed on the left side panel to view its request and response HTTP headers as well as a preview of the actual resource.</p>
<p><img class="aligncenter size-full wp-image-8589" title="" src="http://rimdevblog.files.wordpress.com/2012/02/web-inspector-2.jpg?w=500&#038;h=255" alt="" width="500" height="255" /></p>
<h3><strong>Context Menu</strong></h3>
<p>Right-clicking on any panel in Web Inspector will now display a new context menu. This menu contains items that are relevant to the current window. For example, within the “Elements” panel developers can edit or copy selected HTML elements, while in the Network panel, developers can copy link addresses as well as HTTP request and response headers.</p>
<p><img class="aligncenter size-full wp-image-8588" title="" src="http://rimdevblog.files.wordpress.com/2012/02/web-inspector-3.jpg?w=500&#038;h=279" alt="" width="500" height="279" /></p>
<p><strong>Note:</strong> Access to the system clipboard is restricted by JavaScript®, so in order to implement this copy feature, Web Inspector will instead open a new tab or window in your browser and display the selected information in plain text. If you have popup blocking enabled, you may not see this new tab or window.</p>
<h3><strong>Console window auto-complete</strong></h3>
<p>Another great improvement is that Web Inspector has been designed to respond to what you type in the console window. Often the console is used to make dynamic calls to JavaScript loaded on the page. This can be a helpful practice for checking variable values or running debug code.<br />
To see this in action, start typing some JavaScript from within the console window, such as the example shown in the following screenshot. After each period, you should be prompted with a drop-down list of available method or property names for the current JavaScript object you have provided.</p>
<p><img class="aligncenter size-full wp-image-8587" title="" src="http://rimdevblog.files.wordpress.com/2012/02/web-inspector-4.jpg?w=500&#038;h=136" alt="" width="500" height="136" /></p>
<h3><strong>Custom User Agent</strong></h3>
<p>Web Inspector can now be used to change the value of the user agent header. This header is often used by web servers to detect which browser is currently being used to access a web page, and provide custom content targeted to that browser. Open up the settings window and select the “Override User Agent” checkbox. You can then select from a list of default user agent values, or provide your own.</p>
<p>See the “<a href="http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/How-to-detect-the-BlackBerry-Browser/ta-p/559862" target="_new">How to detect the BlackBerry Browser</a>” developer article for more information about the format of the user agent header on the BlackBerry web platform.</p>
<p><img class="aligncenter size-full wp-image-8586" title="" src="http://rimdevblog.files.wordpress.com/2012/02/web-inspector-5.jpg?w=450&#038;h=146" alt="" width="450" height="146" /></p>
<h3><strong>JavaScript “pretty print”</strong></h3>
<p>Minifying JavaScript is an excellent way of improving web page performance by reducing unneeded bandwidth. However, it can become very difficult to debug minified JavaScript as finding the right place to set breakpoints can be challenging.</p>
<p>When JavaScript is minified, all whitespace and comments are removed. This often results in an entire library being displayed as a single line of code.</p>
<p><img class="aligncenter size-full wp-image-8585" title="" src="http://rimdevblog.files.wordpress.com/2012/02/web-inspector-6.jpg?w=450&#038;h=210" alt="" width="450" height="210" /></p>
<p>Fortunately for BlackBerry developers, Web Inspector now provides a “Pretty print” feature, which can be found at the bottom of the status bar in the Scripts panel. When clicked, it will automatically re-format all JavaScript using appropriate indentation and whitespace.</p>
<p><img class="aligncenter size-full wp-image-8584" title="" src="http://rimdevblog.files.wordpress.com/2012/02/web-inspector-7.jpg?w=450&#038;h=388" alt="" width="450" height="388" /></p>
<p>Don’t forget to use Web Inspector as part of developing and testing your HTML5 and BlackBerry WebWorks applications. It can save you a lot of time and frustration in tracking down a bug, or finding ways to optimize your web content.</p>
<p>Try it out for yourself, and <a href="http://twitter.com/BlackBerryDev" target="_new">let us know</a> how it helps with your BlackBerry development.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/8583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/8583/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8583&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/02/web-inspector-playbook/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/02/web-inspector-1.jpg" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2012/02/web-inspector-2.jpg" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2012/02/web-inspector-3.jpg" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2012/02/web-inspector-4.jpg" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2012/02/web-inspector-5.jpg" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2012/02/web-inspector-6.jpg" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2012/02/web-inspector-7.jpg" medium="image" />
	</item>
		<item>
		<title>We turbo-boosted the BlackBerry PlayBook browser &#8211; can your web apps keep up? [VIDEO]</title>
		<link>http://devblog.blackberry.com/2012/02/playbook-browser-video-demo/</link>
		<comments>http://devblog.blackberry.com/2012/02/playbook-browser-video-demo/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 19:49:54 +0000</pubDate>
		<dc:creator>Adam S.</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[blackberry playbook]]></category>
		<category><![CDATA[BlackBerry PlayBook browser]]></category>
		<category><![CDATA[BlackBerry PlayBook OS 2.0]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[PlayBook app development]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=8475</guid>
		<description><![CDATA[Check out a video demo of what web developers can really do to leverage some of the powerful hardware accelerated capabilities of the 2.0 browser.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8475&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In my post “<a href="http://devblog.blackberry.com/2012/02/build-web-apps-playbook/" target="_new">Building stable web apps – you can do it with the BlackBerry PlayBook tablet OS 2.0 software update</a>”, I wrote about the improvements in BlackBerry® PlayBook™ OS 2.0. I’ve since had a few of my developer friends ask about a comparison video – a great idea! Here’s a video that demonstrates what web developers can really do to leverage some of the powerful hardware accelerated capabilities of the <a href="http://www.blackberry.com/playbook" target="_new">BlackBerry PlayBook</a> OS 2.0 browser.</p>
<p style="text-align:center;"><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='560' height='315' src='http://www.youtube.com/embed/OYgtr0-hlBQ?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>
<p style="text-align:center;">[<a href="http://www.youtube.com/watch?v=OYgtr0-hlBQ">YouTube link for mobile viewing</a>]</p>
<p>The following demos are being used in this video:</p>
<ul>
<li><a href="http://www.craftymind.com/guimark3/" target="_new">Guimark3</a> HTML5 bitmap drawing test, by Sean Christmann</li>
<li><a href="http://remysharp.com/demo/rubiks/" target="_new">Rubiks</a> HTML5 canvas, by Remy Sharp</li>
<li><a href="http://hakim.se/experiments/html5/origami" target="_new">Origami</a>, by Hakim El Hattab</li>
</ul>
<p>Leave us a comment and tell us what you think!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/8475/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/8475/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8475&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/02/playbook-browser-video-demo/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>
	</item>
		<item>
		<title>Native WebGL: A giant leap for the web development community on the BlackBerry PlayBook</title>
		<link>http://devblog.blackberry.com/2012/02/playbook-native-webgl-development/</link>
		<comments>http://devblog.blackberry.com/2012/02/playbook-native-webgl-development/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 16:36:00 +0000</pubDate>
		<dc:creator>Adam S.</dc:creator>
				<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[app development]]></category>
		<category><![CDATA[blackberry playbook]]></category>
		<category><![CDATA[BlackBerry PlayBook OS 2.0]]></category>
		<category><![CDATA[BlackBerry web platform]]></category>
		<category><![CDATA[blackberry webworks]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[WebGL]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=8460</guid>
		<description><![CDATA[The BlackBerry web platform for BlackBerry PlayBook tablet OS 2.0 supports WebGL - learn more about how to utilize this in your web development.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8460&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:center;"><img class="aligncenter size-full wp-image-8462" title="Image courtesy of Khronos Group™" src="http://rimdevblog.files.wordpress.com/2012/02/webgl-logo.jpg?w=335&#038;h=174" alt="Image courtesy of Khronos Group™" width="335" height="174" /></p>
<p>BlackBerry® developers, you’re in for a treat. If you haven’t heard already, the BlackBerry web platform for <a href="http://www.blackberry.com/playbook" target="_new">BlackBerry® PlayBook™</a> tablet OS 2.0 supports WebGL. WebGL is an exciting new technology that is designed to offer advanced rendering capabilities and 3D Graphics for web development. Support for this feature was announced during the <a href="http://www.blackberrydevcon.com/americas/content/on-demand" target="_new">BlackBerry DevCon Americas 2011</a> keynote, and developers can use it as part of their <a href="http://developer.blackberry.com/html5" target="_new">HTML5 and BlackBerry® WebWorks™</a> web applications.</p>
<p>That’s right &#8211; if you wanted to, you could build a standalone BlackBerry application, powered by WebGL, using the BlackBerry WebWorks SDK, and distribute that app to other BlackBerry® PlayBook™ tablet users through the BlackBerry App World™ storefront.</p>
<p>This is a giant step forward for the web development community. As one of the first mobile development platforms to offer a native implementation of WebGL to its developers, BlackBerry provides the web development community a unique opportunity to push the boundaries of what they can do in their application content. WOW!</p>
<p><span id="more-8460"></span></p>
<h3><strong>This is amazing! Wait a sec, what’s WebGL?</strong></h3>
<p><a href="https://www.khronos.org/registry/webgl/specs/1.0/" target="_new">WebGL</a> is a cross-platform web standard that is designed to define a specification for enabling 3D graphics, powered by OpenGL ES 2.0. Using WebGL, you can create amazing graphics and subsequently more fun user experiences.</p>
<p>Here is a demo of a game named <a href="http://blackberry.github.com/WebGL-Samples/tunneltilt/" target="_new">TunnelTilt</a> running on BlackBerry PlayBook tablet OS 2.0. This sample app was created for the purpose of announcing WebGL at BlackBerry DevCon Americas 2011, and it has since been open sourced as the BlackBerry <a href="https://github.com/blackberry/WebGL-Samples/" target="_new">WebGL-Samples</a> repo in Github:</p>
<p style="text-align:center;"><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='560' height='315' src='http://www.youtube.com/embed/TxazzRLa0qQ?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>
<p style="text-align:center;">[<a href="http://www.youtube.com/watch?v=TxazzRLa0qQ" target="_new">YouTube link for mobile viewing</a>]</p>
<p>The 3D graphics are rendered in an HTML5 canvas element that is hardware accelerated. This content can even be interacted with using JavaScript™ and the document object model (DOM).</p>
<p><code>function webGLStart() {<br />
var canvas = document.getElementById("lesson01-canvas");<br />
initGL(canvas);<br />
initShaders();<br />
initBuffers();</code></p>
<p>gl.clearColor(0.0, 0.0, 0.0, 1.0);<br />
gl.enable(gl.DEPTH_TEST);</p>
<p>drawScene();<br />
}</p>
<p><strong>Code sample:</strong> Learning WebGL Lesson 1 (<a href="http://learningwebgl.com/blog/?p=28">http://learningwebgl.com/blog/?p=28</a>)</p>
<h3><strong>Libraries and Frameworks</strong></h3>
<p>The WebGL code that provides highly visual graphics can be very complex, and may present a steep learning curve for new developers who are not familiar with the necessary principles. Building compelling WebGL content may require a deep understanding of trigonometry, geometry and Open GL features.</p>
<p>For example, after reading the following tutorial about <a href="http://learningwebgl.com/blog/?p=28" target="_new">how to draw a triangle and square</a> using WebGL, ask yourself if you were expecting to see so many lines of code. There may not be the higher level “draw” or “square” primitives and methods that a developer may find helpful in building real-world applications. WebGL offers lower-level primitives to its developers for building content. Why? It’s because WebGL is a language, not an application framework.</p>
<p>Don’t worry if that’s not what you were hoping to hear! Keep reading.</p>
<p><code>var square = gl.createBuffer();<br />
var square_vertices = [<br />
1.0, 1.0, 0.0,<br />
-1.0, 1.0, 0.0,<br />
1.0, -1.0, 0.0,<br />
-1.0, -1.0, 0.0<br />
];<br />
gl.bindBuffer(gl.ARRAY_BUFFER, square);<br />
gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(square_vertices), gl.STATIC_DRAW);<br />
square.itemSize = 3;<br />
square.numItems = 4;<br />
</code></p>
<p><strong>Code sample:</strong> creating a square using basic WebGL constructs.</p>
<p>Many, and I mean many, developers have recognized the need to simplify WebGL development, and have spent a lot of time and energy building great libraries and frameworks for other developers to use. These libraries translate the low-level functionality of WebGL into higher-level APIs that are easier to use in the context of application development.</p>
<p>Another benefit to developers is that all of this is done using JavaScript APIs. So if you are already familiar with the JavaScript language, you are off to a great start. You can continue to use all of the existing JavaScript development tools that you currently use (e.g. Web Inspector, IDEs, Jslint, etc).</p>
<p>A few examples of community-led projects that web developers can use to build great WebGL content include <a href="http://mrdoob.github.com/three.js/" target="_new">three.js</a>, <a href="http://www.ambiera.com/copperlicht/" target="_new">CopperLicht</a>, <a href="http://scenejs.org/" target="_new">SceneJS</a>, <a href="http://www.glge.org/" target="_new">GLGE</a> and <a href="http://www.c3dl.org/" target="_new">Canvas 3d library</a>. There are many more, and the list will continue to grow. These libraries have traditionally focused on desktop browsers, which means authors will need to ensure they have successfully been optimized for mobile too. If you end up using a 3rd party library and find a bug, or if you are concerned about performance, please contact the appropriate author(s) and file an issue with them. Many of these frameworks exist as open source, meaning there is a great opportunity for improvement. As a community, we can work together to ensure these libraries work great on BlackBerry.</p>
<p><code>var rect = new THREE.Rectangle();<br />
rect.set(0, 0, 100, 100);</code></p>
<p><strong>Code sample:</strong> using three.js library to create a square. Only 2 lines of code!</p>
<h3><strong>Performance</strong></h3>
<p>So obviously there is a mobile version of the WebGL spec, right? Developers can expect to work with a specification that’s optimized for mobile devices and doesn’t have high memory or CPU requirements as desktop computers?</p>
<p>No, actually, there isn’t! OpenGL ES 2.0 does not have a mobile spec. So the same libraries that are used to produce WebGL content for powerful desktop hardware are also the same libraries used to build content for mobile devices.</p>
<p>What does this mean? It means that WebGL code that was designed for desktop browsers will need to be properly optimized to run on mobile smartphones and tablets. If not, you can expect to experience slow rendering or performance. This is very important for developers to recognize: one cannot assume that if it works on desktop, it will also work on mobile.</p>
<p><a href="http://rimdevblog.files.wordpress.com/2012/02/stopwatch.jpg"><img class="aligncenter size-full wp-image-8461" title="" src="http://rimdevblog.files.wordpress.com/2012/02/stopwatch.jpg?w=178&#038;h=238" alt="" width="178" height="238" /></a></p>
<h3><strong>Community Activity</strong></h3>
<p>Many of you have already seen our web platform team members participating in HTML5 and WebGL developer events worldwide. Recently we had delegates attend and present at events such as <a href="http://ongamestart.com/" target="_new">onGameStart</a> and <a href="http://www.newgameconf.com/" target="_new">New Game Conference</a>. Here are some highlights from these events:</p>
<blockquote><p>“WebGL is huge!!! And the fact that we will be the first tablet to have it built-in is extra-huge. We need to engage aggressively here to showcase our wares … interest in tablets is high.”</p></blockquote>
<p>- Laurent Hasson, Director Web Platform, Research In Motion® (RIM®) (onGameStart, Warsaw, Poland)</p>
<blockquote><p>“Good News! We are actually well positioned in terms of technology … There’s no reason we can’t have the best mobile web platform for gaming and game development.”</p></blockquote>
<p>- Genevieve Mak, Software Developer, RIM (New Game Conference, San Francisco, USA)</p>
<h3><strong>This is awesome. I love WebGL. What should I do now?</strong></h3>
<p>The following steps can help you learn how to build a WebGL-powered BlackBerry application:</p>
<p>1. The <a href="https://github.com/blackberry/WebGL-Samples/downloads" target="_new">BlackBerry open source project on Github</a> contains a <a href="https://github.com/blackberry/WebGL-Samples" target="_new">WebGL-Samples</a> repo where developers can download and/or contribute to code examples. In fact, the source code for the TunnelTilt sample app shown above is available in this repo! Download it today and see how JavaScript, HTML5 and WebGL are being used together to provide an awesome user experience.</p>
<p>2. Log into the <a href="http://www.blackberrydevcon.com/americas/content/on-demand" target="_new">DevCon on Demand</a> portal and read through the DEV46 session “Advanced Web Rendering: WebGL, Canvas and Gaming” session that was delivered at BlackBerry DevCon Americas 2011. Don’t miss this session, where Eli Fiddler and Ram Rajagopalan from RIM presented a great overview and best practices about using WebGL as well as some helpful code snippets and examples.</p>
<p>3. Take advantage of the many helpful learning resources you can find online, such as <a href="http://learningwebgl.com/" target="_new">learningwebgl.com</a> by Giles Thomas, which contains many tutorials and sample code. Remember: WebGL is a standard that the BlackBerry web platform supports. This means that most &#8211; if not all &#8211; tutorials, sample code or labs that you will find can be used to assist you in building WebGL content for BlackBerry. Check out the Mozilla Developer network for a robust collection of <a href="https://developer.mozilla.org/en/WebGL" target="_new">WebGL learning resources</a>.</p>
<p>4. Discover how you can use Ripple Mobile Emulator to <a href="http://devblog.blackberry.com/2011/12/ripple-beta-refresh-download/" target="_new">test WebGL content</a>, and the <a href="https://bdsc.webapps.blackberry.com/html5/documentation/ww_getting_started/what_is_a_webworks_app_1845471_11.html" target="_new">BlackBerry WebWorks SDK</a> to transform that content into a standalone BlackBerry application.</p>
<p>Did you find a bug? Report bugs in the <a href="https://www.blackberry.com/jira/secure/Dashboard.jspa+" target="_new">developer issue tracker</a>. Our goal is to provide developers with a world class WebGL experience on the BlackBerry platform, and we want to hear from you to ensure we are doing so.</p>
<p>Finally, I wanted to extend an invite to you to stay in touch with us. We want to know when you have created a WebGL application, framework and/or game content that runs great on the <a href="http://www.blackberry.com/playbook" target="_new">BlackBerry PlayBook</a> tablet. <a href="http://twitter.com/blackberrydev" target="_new">Send us a message</a> or ask a question in the comments below, or else share a great idea <a href="http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/bd-p/browser_dev" target="_new">in the forums</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/8460/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/8460/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8460&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/02/playbook-native-webgl-development/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/02/webgl-logo.jpg" medium="image">
			<media:title type="html">Image courtesy of Khronos Group™</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/02/stopwatch.jpg" medium="image" />
	</item>
		<item>
		<title>Get your Android apps ready for the BlackBerry PlayBook OS 2.0 launch</title>
		<link>http://devblog.blackberry.com/2012/01/android-apps-for-blackberry-playbook-os-2-0/</link>
		<comments>http://devblog.blackberry.com/2012/01/android-apps-for-blackberry-playbook-os-2-0/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 19:37:56 +0000</pubDate>
		<dc:creator>BlackBerry</dc:creator>
				<category><![CDATA[Android Development]]></category>
		<category><![CDATA[BlackBerry World]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[blackberry app world]]></category>
		<category><![CDATA[BlackBerry PlayBook OS 2.0]]></category>
		<category><![CDATA[BlackBerry Runtime for Android Apps]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=8311</guid>
		<description><![CDATA[Read about how to ensure that your packaged and signed Android app is available in the BlackBerry App World storefront for the release of BlackBerry PlayBook OS 2.0.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8311&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Hey everyone! James here from the Developer Relations team at Research In Motion® (RIM®).</p>
<p>At CES 2012 in Las Vegas, we previewed the upcoming BlackBerry® PlayBook™ OS 2.0 software, which is designed to have the BlackBerry® Runtime for Android™ Apps built-in! This offering will allow developers to repackage their existing Android™ applications to run on the BlackBerry® PlayBook™ tablet, as well as the upcoming BlackBerry® 10 devices.</p>
<p>Seeing the great response for the BlackBerry Runtime for Android Apps at CES, developer meet-ups and conferences that we’ve attended over the last few months, we’re expecting a huge interest in the consumer space for these apps when the update is made available next month. We want to ensure that you are able to capitalize on this unique opportunity by having your applications available when BlackBerry PlayBook OS 2.0 is launched!</p>
<p><strong>In order to ensure that your packaged and signed Android app is available in the BlackBerry App World™ storefront for the release of BlackBerry PlayBook OS 2.0, be sure to have your app submitted by Monday, February 6th, 2012.</strong></p>
<p>To help with the process of submitting your application for approval and entry into BlackBerry App World, <strong>we strongly recommend</strong> the following:</p>
<ul>
<li>Before submitting your Android application to BlackBerry App World, please make sure to remove all mention of the word “Android” from your application. Both in the application description and the application itself.</li>
<li>Please remove all links to Android Market from within your application.</li>
<li>When submitting your Android application to BlackBerry App World, please make sure to select a minimum BlackBerry PlayBook OS of 2.0.</li>
<li>Please make sure your application is signed. For more information on code signing, please view the code signing documentation on the BlackBerry Runtime for Android Apps webpage (linked <a href="https://bdsc.webapps.blackberry.com/android/documentation/request_a_code_signing_key_1767016_11.html" target="_new">here</a>).</li>
</ul>
<p>We’ve released a few different options to convert your application (from APK to BAR) which are:</p>
<ul>
<li>The <a href="https://bdsc.webapps.blackberry.com/android/documentation/install_plugin_prerequisites_1895476_11.html" target="_new">BlackBerry Plug-in for ADT</a>, which is designed to augment your existing Eclipse development environment</li>
<li>The <a href="http://developer.blackberry.com/android/bpaa" target="_new">BlackBerry Packager for Android apps</a>, which is designed to allow you to test/convert your app through your browser (no downloads required!)</li>
<li>The <a href="https://bdsc.webapps.blackberry.com/android/downloads/fetch/CommandLineTools.zip" target="_new">BlackBerry SDK for Android apps</a>, which is designed to give you access to command-line arguments for scripting and getting your hands dirty</li>
</ul>
<p>I think you’ll be pleasantly surprised at how easy the porting process is. You can of course submit your application at a later date, but in order to ensure broader reach and exposure to consumers, I would strongly suggest having it submitted by February 6th, 2012.</p>
<p>If you have any questions, our <a href="http://developer.blackberry.com/android" target="_new">Android microsite</a> is extremely useful, or feel free to drop by our <a href="http://supportforums.blackberry.com/t5/BlackBerry-Plug-in-for-Android/bd-p/adt" target="_new">forum</a> or tweet us (<a href="http://twitter.com/blackberrydev" target="_new">@BlackBerryDev</a>). It’s a great time to be a BlackBerry developer!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/8311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/8311/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8311&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/01/android-apps-for-blackberry-playbook-os-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/860f33a401c613708d3feb4ae6541d80?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">insideblackberryblog</media:title>
		</media:content>
	</item>
	</channel>
</rss>
