<?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; sdk</title>
	<atom:link href="http://devblog.blackberry.com/tag/sdk/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Fri, 17 May 2013 17:47:42 +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; sdk</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>New Marmalade for BlackBerry 10 Offer</title>
		<link>http://devblog.blackberry.com/2013/05/marmalade-blackberry-10-offer/</link>
		<comments>http://devblog.blackberry.com/2013/05/marmalade-blackberry-10-offer/#comments</comments>
		<pubDate>Tue, 14 May 2013 15:18:07 +0000</pubDate>
		<dc:creator>lgazzola</dc:creator>
				<category><![CDATA[BlackBerry World]]></category>
		<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Dev Alpha]]></category>
		<category><![CDATA[Free License]]></category>
		<category><![CDATA[Marmalade]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14995</guid>
		<description><![CDATA[I’m pleased to announce we’re offering free Marmalade Indie Licenses ($499 USD) to our developer community. And to sweeten the offer, the first 300 qualifying developers will receive a free BlackBerry Dev Alpha testing device! The first step is to register at http://www.madewithmarmalade.com/blackberry. Then create your BlackBerry 10 application using the Marmalade SDK and submit [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14995&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I’m pleased to announce we’re offering  free Marmalade Indie Licenses ($499 USD) to our developer community. And to sweeten the offer, the first 300 qualifying developers will receive a free BlackBerry Dev Alpha testing device!</p>
<p>The first step is to register at <a href="http://www.madewithmarmalade.com/blackberry" target="_blank">http://www.madewithmarmalade.com/blackberry</a>. Then create your BlackBerry 10 application using the Marmalade SDK and submit it within 30 days in “Draft” to BlackBerry World. Don’t worry, it doesn’t have to be 100% ready for this first step!  </p>
<p>The first 300 qualifying vendors will receive a free BlackBerry Dev Alpha testing device on loan. Once apps are completed, submitted for final review, and approved, you’ll receive your free Marmalade Indie License (value of $499 USD) and you’ll get to keep your testing device to create more apps!</p>
<p>Our Marmalade License offer last year was extremely popular with over 1,000 apps created!  Be sure to register quickly to secure your free Marmalade Indie License and be one of the first 300 to get a free BlackBerry Dev Alpha device.</p>
<p><span id="more-14995"></span></p>
<p>If you already received a BlackBerry Dev Alpha device, you won’t qualify for an additional one.  However, you are still eligible for the free license.  Previous recipients of a free Marmalade License through a BlackBerry offer are not eligible to enter this promotion</p>
<p>For those that don’t know about Marmalade, it’s a powerful cross-platform SDK for the creation of richer apps and games on BlackBerry, iOS, Android and other platforms.   </p>
<p>Marmalade makes it easier than ever to create BlackBerry 10 apps. Why not try developing your app with the new Marmalade RAD tool, which you’ll get for free when you sign up? Marmalade Quick is a fast, flexible and open RAD programming environment for the creation of 2D games and apps. It’s based upon best-in-class open source components including Cocos2d-x/Box2D, and the entire engine is made available in source code.</p>
<p><a href="http://www.madewithmarmalade.com/BlackBerry" target="_blank">www.madewithmarmalade.com/BlackBerry</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14995/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14995/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14995&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/05/marmalade-blackberry-10-offer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/5deb68ad29db96467a20476cf2b9b8c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lgazzola</media:title>
		</media:content>
	</item>
		<item>
		<title>Command Line Rocks! Building BlackBerry 10 Apps Without An IDE</title>
		<link>http://devblog.blackberry.com/2013/05/building-apps-without-an-ide/</link>
		<comments>http://devblog.blackberry.com/2013/05/building-apps-without-an-ide/#comments</comments>
		<pubDate>Mon, 06 May 2013 12:32:05 +0000</pubDate>
		<dc:creator>doturner</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[deploy]]></category>
		<category><![CDATA[native]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14899</guid>
		<description><![CDATA[Don’t get me wrong, I love our Momentics IDE. It provides many features that help to build apps rapidly including the QML previewer and code auto-completion. Sometimes, however, it can be extremely useful to know what’s going on under-the-hood. This article will aim to explain how to build a native app from the command line, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14899&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Don’t get me wrong, I love <a href="http://developer.blackberry.com/native" target="_blank">our Momentics IDE</a>. It provides many features that help to build apps rapidly including the QML previewer and code auto-completion. Sometimes, however, it can be extremely useful to know what’s going on under-the-hood.</p>
<p>This article will aim to explain how to build a native app from the command line, using the tools bundled in the BlackBerry 10 Native SDK and your favourite text editor.</p>
<p><span id="more-14899"></span></p>
<h2>Set up your environment</h2>
<p>The Native SDK includes a script called bbndk-env.sh (or .bat on Windows) in the root folder that initialises the environment variables that the other tools depend on. I will refer to the install location of the Native SDK as $NDK_DIR.</p>
<pre>Mac: source $NDK_DIR/bbndk-env.sh
Win: $NDK_DIR/bbndk-env.bat</pre>
<h2>So what does this script set?</h2>
<p>The most important environment variables are:</p>
<p><b>QNX_TARGET</b>: This directory contains all the configuration files and libraries for the BlackBerry 10 device, the <i>target</i> that we want our app to run on.  You can see all the libraries which can be linked against in $QNX_TARGET/armle-v7/lib and $QNX_TARGET/armle-v7/usr/lib.</p>
<p><b>QNX_HOST</b>: This directory contains the tools and configuration files for our host system, ie Windows, Mac or Linux. It includes a compiler, linker and assembler for cross compiling to various architectures, as well as <a href="https://developer.blackberry.com/native/documentation/bb10/com.qnx.doc.native_sdk.devguide/com.qnx.doc.native_sdk.devguide/topic/c_understanddevenv_use_commandline.html">command line tools for packaging, signing and deploying your application</a>.</p>
<h2>Building for the ARM architecture</h2>
<p>You may have noticed the use of armle-v7 in the above directory structure. This refers to the processor architecture on BlackBerry 10: <b>ARM Little Endian Version 7</b>. To build binaries that run on BlackBerry 10 you need to compile for this architecture.</p>
<p>Start by creating a folder to hold our app&#8217;s files, call it GoodbyeIDE. From now on I will refer to this as $PROJECT_DIR. Inside this folder create a file called main.c with the following content:</p>
<pre>#include &lt;stdio.h&gt;
int main()
{
  fprintf(stdout, "Goodbye IDE!\n");
  return 0;
}</pre>
<p>Now lets compile it. Change to $PROJECT_DIR and execute:</p>
<pre>qcc -Vgcc_ntoarmv7le main.c -o main</pre>
<p>Lets explain this command in a bit more detail. qcc stands for QNX C Compiler. BlackBerry 10 is built on top of QNX and uses many of its build tools.</p>
<p>qcc is essentially a wrapper for gcc  (GNU Compiler Collection). The -V switch tells qcc which version of gcc to use, in this case its the ntoarmv7le version which stands for QNX Neutrino ARM Version 7 Little Endian (a bit of a mouthful).</p>
<p>To build for the BlackBerry 10 simulator you need to use the gcc version for the x86 architecture.</p>
<pre>qcc -Vgcc_ntox86 main.c -o main</pre>
<p>To view a full list of the available gcc versions run:</p>
<pre>qcc -V</pre>
<p>The main.c -o main part of the command just specifies the input C filename and output binary filename.</p>
<p>OK, so now we should have a binary (called main) that will run on a BlackBerry 10 device. This binary won&#8217;t run on your host operating system since it&#8217;s not compiled for the same architecture. If you have a working gcc you can compile it by doing:</p>
<pre>gcc main.c -o main2
./main2</pre>
<p>When you execute main2 you should see &#8220;Goodbye IDE&#8221;.</p>
<p><a href="http://rimdevblog.files.wordpress.com/2013/05/cmd1.png"><img class="size-full wp-image-14903 aligncenter" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/05/cmd1.png?w=454&#038;h=190" width="454" height="190" /></a></p>
<h2>Create the BAR descriptor XML</h2>
<p>BlackBerry 10 apps are packaged as BAR (<b>B</b>lackBerry <b>A</b>pplication a<b>R</b>chive) files. To create a BAR file we need a descriptor file called bar-descriptor.xml. This file includes information about the app such as name, version, required permissions and a list of assets.</p>
<p>Create the bar-descriptor.xml file with the following content:</p>
<pre>&lt;qnx&gt;
  &lt;id&gt;com.example.GoodbyeIDE&lt;/id&gt;
  &lt;versionNumber&gt;1&lt;/versionNumber&gt;
  &lt;name&gt;Goodbye IDE&lt;/name&gt;
  &lt;asset path="main" entry="true"&gt;main&lt;/asset&gt;
&lt;/qnx&gt;</pre>
<p>From our point of view the most important line in bar-descriptor.xml is this one:</p>
<pre>&lt;asset path="main" entry="true"&gt;main&lt;/asset&gt;</pre>
<p>This specifies that the BAR contains a file called main which is the entry point for the app.</p>
<p><a href="https://developer.blackberry.com/native/documentation/bb10/com.qnx.doc.native_sdk.devguide/com.qnx.doc.native_sdk.devguide/topic/r_blackberry_tablet_dtd_intro.html#r_blackberry_tablet_dtd_intro">A full list of BAR application descriptor parameters is available here</a>.</p>
<h2>Packaging and deploying your app</h2>
<p>Now that we have a binary and an application descriptor we are ready to create a BAR file.</p>
<p>A BAR file is essentially a zip file which contains all your app&#8217;s assets and the meta information from bar-descriptor.xml. In fact, if you rename a .bar file to .zip you will be able to extract it to see all the files in that app.</p>
<p>To create a BAR file run the following command:</p>
<pre>blackberry-nativepackager -package GoodbyeIDE.bar bar-descriptor.xml -devMode -debugToken ~/Library/Research\ In\ Motion/debugtoken1.bar</pre>
<p>Note that the -devMode and -debugToken flags are only required if you are deploying to a physical device. This is a handy feature that allows you to deploy your app without signing it, as long as your debug token is installed on the device.</p>
<p>To do this you&#8217;ll need to <a href="https://www.blackberry.com/SignedKeys/codesigning.html">register with RIM to sign applications</a> and <a href="https://developer.blackberry.com/native/documentation/bb10/com.qnx.doc.native_sdk.devguide/com.qnx.doc.native_sdk.devguide/topic/t_setup_manual_create_debug_token_cmdline.html">create a debug token</a>.</p>
<p>So now you have a BAR file called GoodbyeIDE.bar you can deploy it to the device using the following command:</p>
<pre>blackberry-deploy -installApp 169.254.0.1 -password pass GoodbyeIDE.bar</pre>
<p><b>169.254.0.1</b> is the IP of your target and <b>pass</b> is the device password.</p>
<p>If you take a look at your application icons, you should see a new one called <b>Goodbye IDE</b> (as specified in the &lt;name&gt; tag in bar-descriptor.xml).</p>
<p><a href="http://rimdevblog.files.wordpress.com/2013/05/cmd2.png"><img class="aligncenter size-full wp-image-14904" alt="cmd2" src="http://rimdevblog.files.wordpress.com/2013/05/cmd2-e1367843338680.png?w=400&#038;h=400" width="400" height="400" /></a></p>
<p>If you tap on the icon your app should run! But&#8230;nothing happened, right?</p>
<h2>Viewing log files over SSH</h2>
<p>Actually the app did run, it&#8217;s just that all it did was print &#8220;Goodbye IDE!&#8221; to the stdout. The stdout on BlackBerry 10 is directed into a log file. We can view this log file by SSHing onto the device. Here&#8217;s how:</p>
<p>First we have to tell the device that we want to create a secure connection to it:</p>
<pre>blackberry-connect 169.254.0.1 -password pass</pre>
<p>Now open an SSH client (such as <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">putty</a>) and run:</p>
<pre>ssh devuser@169.254.0.1</pre>
<p>You should now be connected via SSH. Feel free to poke around! Apps are installed in <b>/accounts/1000/appdata</b>. Each app is given its own <a href="https://developer.blackberry.com/native/documentation/bb10/com.qnx.doc.native_sdk.devguide/com.qnx.doc.native_sdk.devguide/topic/accessible_folders.html">sandbox folder</a> with a unique name based on its id (which we specified in bar-descriptor.xml).</p>
<p>Example sandbox folder name: <b>com.example.GoodbyeIDE.testDev__GoodbyeIDEcf9b848</b></p>
<p>The log file can be found in the <b>logs</b> directory under the sandbox folder name. To view the file just run:</p>
<pre>cat log</pre>
<p>The log file is re-created each time the app is run. To test that the app is working delete the log file, tap on the app icon and run the above command again.</p>
<h1>Summary</h1>
<p>That&#8217;s it for now. The next article will focus on making your life easier by using Makefiles, the Qt build system and creating a more logical project folder structure.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14899/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14899&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/05/building-apps-without-an-ide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/210521b8148cd3623a5b7883fcf4caa4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">doturner</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/05/cmd1.png" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/05/cmd2-e1367843338680.png" medium="image">
			<media:title type="html">cmd2</media:title>
		</media:content>
	</item>
		<item>
		<title>10.1 Gold &#8211; With great SDK powers, comes a bit of responsibility!</title>
		<link>http://devblog.blackberry.com/2013/05/10-1-gold-with-great-sdk-powers-comes-a-bit-of-responsibility/</link>
		<comments>http://devblog.blackberry.com/2013/05/10-1-gold-with-great-sdk-powers-comes-a-bit-of-responsibility/#comments</comments>
		<pubDate>Fri, 03 May 2013 15:35:41 +0000</pubDate>
		<dc:creator>Shadab Rashid</dc:creator>
				<category><![CDATA[BlackBerry World]]></category>
		<category><![CDATA[Cascades]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[.BAR]]></category>
		<category><![CDATA[Dev Alpha]]></category>
		<category><![CDATA[Q10]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[variant]]></category>
		<category><![CDATA[Z10]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14875</guid>
		<description><![CDATA[What responsibility? To make use of all the new features and make your app even greater! And of course, you want to ensure you are supporting as many in-market devices as possible. As you already know, the 10.1 Gold SDK and OS is out, along with the Q10 devices! However, since there are still some [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14875&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>What responsibility? To make use of all the new features and make your app even greater! And of course, you want to ensure you are supporting as many in-market devices as possible. As you already know, the 10.1 <a href="https://developer.blackberry.com/cascades/download/">Gold SDK</a> and <a href="https://developer.blackberry.com/devzone/blackberry10devalpha/devalpha_update.html" target="_blank">OS</a> is out, along with the Q10 devices! However, since there are still some Z10 devices on the market right now running the 10.0.X.X OS version, some questions and confusions might be present. Which SDK version to compile against? Which are the target devices? How many BAR files should I keep? How do I manage my code base? We will try to tackle some of these common questions here.</p>
<h3><strong>Coding and deploying for the devices with 10.1 OS</strong></h3>
<p>Even if your older 10.0 Z10 version of the app runs “fine” on the newer 10.1 devices (Q10 and upcoming Z10 update) running the 10.1 OS version, you should try to use the latest 10.1 SDK. Why? Starting with the 10.1 SDK, you get access to some new features which will enhance your app’s experience on the Q10 devices significantly. This particular blog post <a href="http://devblog.blackberry.com/2013/03/blackberry-z10-apps-to-blackberry-q10/?" target="_blank">here</a> is a great source of information when you are converting your Z10 app for the upcoming Q10 devices. In terms of the UI elements that you can leverage as a developer, <a href="https://developer.blackberry.com/cascades/download/releasenotes/#new" target="_blank">among others</a>, you now have access to certain components like the <a href="https://developer.blackberry.com/cascades/reference/bb__cascades__actionbarautohidebehavior.html" target="_blank">auto hiding ActionBar</a>, <a href="https://developer.blackberry.com/cascades/reference/bb__cascades__titlebar.html" target="_blank">customizable/freeform</a> and <a href="https://developer.blackberry.com/cascades/reference/bb__cascades__titlebarscrollbehavior.html" target="_blank">sticky</a> TitleBar – these elements will allow you to maximize your screen real estate (for the smaller screen Q10 devices) and provide more room for actual content for the users.</p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/05/sdk-1.jpg?w=500" /></p>
<p><span id="more-14875"></span></p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/05/sdk-2.jpg?w=500" /></p>
<p>Key <a href="https://developer.blackberry.com/cascades/documentation/dev/shortcuts/index.html" target="_blank">shortcuts</a> and <a href="https://developer.blackberry.com/cascades/documentation/dev/shortcuts/keylistener.html" target="_blank">listeners</a> are some of the other slick new features; they make common tasks much easier for your users. The Q10 devices are definitely designed for the power users who love the physical keyboard and who value productivity greatly. You want to show them as much useful content as possible (even in the smaller screen) and require as few user input as possible to get to the primary features and content.</p>
<h3><strong>What about my current applications for the Z10 devices?</strong></h3>
<p>If there are any updates or bug fixes necessary for your currently public Z10 versions of the app (made using 10.0 SDK), you definitely don’t want to keep your users waiting. Until the in-market Z10 devices receive the 10.1 updates, you should continue posting updates and bug fixes as necessary. Going forward, the new 10.1 features that you will be using for Q10 devices (which you definitely should be) and upcoming Z10 updates; if they are mainly on the QML asset files, you can just continue to maintain just one BAR file. All the 10.1 specific QML code; those asset files can be placed in the folder called 720&#215;720. For devices running lower 10.1 OS, that folder will just be ignored and only the QML files in the root folder would be considered. You can check out the github sample apps here to look at the code for projects like these. If you are using any new 10.1 C/C++ API then your application would need the latest 10.1.X.X SDK to compile against to bypass all the compile errors (the corresponding BAR file would also be a different one, since it would need the minimum 10.1 platform to run against).</p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/05/sdk-3.jpg?w=250" /></p>
<p style="text-align:center;"><i>Project Explorer View</i></p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/05/sdk-4.jpg?w=500" /></p>
<p style="text-align:center;"><i>The QML code under the <strong>720&#215;720</strong> folder. It is using some <strong>new</strong> 10.1 specific features (e.g. customizable TitleBar).<br />
If the same BAR file is run on the 10.0 devices, this code won’t be executed (the folder will be ignored).<br />
Note: This is a modified sample code shown here just for demonstration</i></p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/05/sdk-5.jpg?w=450" /></p>
<p style="text-align:center;"><i>The QML file under the root assets folder; this will run by default. Note that there is no 10.1 specific code here </i></p>
<p>Note that you can install all the different SDK versions through the IDE update options and install the different OS versions. Re-iterating what is mentioned on the <a href="https://developer.blackberry.com/cascades/download/releasenotes/#new" target="_blank">release notes</a>:</p>
<ul>
<li><i> If you are developing using a BlackBerry 10 Dev Alpha device, you need to download the 10.0.10.263 target from the update site.</i></li>
<li><i> If you are developing using the BlackBerry Z10 smartphone, you need to download a target from the update site that matches the device version that&#8217;s provided by your wireless service provider. You can verify the device version by opening the Settings app, tapping About, selecting OS in the Category drop-down list, and checking the version that&#8217;s listed in the OS Version field.</i></li>
<li><i>For more information about developing apps that work on different versions of the BlackBerry 10 Native SDK, see <a href="http://supportforums.blackberry.com/t5/Cascades-Development-Knowledge/Appropriate-version-of-the-BlackBerry-Native-SDK/ta-p/2284129" target="_blank">Appropriate version of the BlackBerry Native SDK</a> in the BlackBerry Support Community Forums.</i></li>
</ul>
<h3><strong>How do I specify restrictions to BlackBerry World and BAR files?</strong></h3>
<p>When you are submitting the signed BAR files through your vendor portal account, you can choose the minimum OS version and the devices accordingly. <strong>These settings control whether or not your app will show up on the users’ BlackBerry World app (depending on the devices and the OS version they are currently running on)</strong>.</p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/05/sdk-6.jpg?w=500" /></p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/05/sdk-7.jpg?w=500" /></p>
<p>Note that there is also a specific value that can be set through the bar-descriptor.xml file, which dictates the minimum required platform OS version required to install and run the app. This in turn gets reflected on the final signed BAR produced (MANIFEST.MF file). Do not modify this default value set unless you are absolutely certain which device OS versions you want to prevent the app from being installed (even if they are discovered through the BlackBerry World app). This value is checked by the OS itself when the app is installed and run using the BlackBerry World app. <strong>However, this is not something that the BlackBerry World looks at (currently) to filter what apps the user can see to download. This means, if you are playing around with this value, there could be instances where the user can see or buy the app through the BlackBerry World app but not be able to install it!</strong> The vendor portal filtering only gives you granularity between 10.0.0, 10.0.10 and 10.1.0 for now but if you are modifying the bar-descriptor.xml value for this, you can end up being really specific (10.0.9.X, 10.0.10.X, 10.1.X.X) which could prevent your users from installing the app (even if they are being able to see it or buy it).</p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/05/sdk-8.jpg?w=500" /></p>
<p><i>The bar-descriptor.xml editor from the QNX Momentics IDE</i></p>
<p>Viewing the resulting signed BAR file through the IDE (MANIFST.MF file)</p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/05/sdk-9.jpg?w=500" /></p>
<p><i>Viewing the resulting signed BAR file through the IDE (MANIFST.MF file) </i></p>
<h3><strong>Managing code base</strong></h3>
<p>Since there are newer API/libraries with 10.1 SDK, you might already be thinking about how to manage your code base better. Well, there are a few different options to choose from:</p>
<ol>
<li>If you are already using a version control system like <a href="https://github.com/" target="_blank">Github</a>, just use the <a href="http://learn.github.com/p/branching.html" target="_blank">branching and merging technique</a> for your code base
<ul>
<li>Create a new branch from your latest 10.0.X.X code version. Add all the new 10.1 features here and continue to use this one for devices running 10.1 (Q10 devices for now and soon to be Z10 as well)</li>
</ul>
</li>
<li>If your 10.1 changes (e.g. using some of the newer UI elements and features) are mainly on the QML assets, you can make use of the <a href="https://developer.blackberry.com/cascades/documentation/ui/resolution/using_static_asset.html" target="_blank">static asset selector</a> which is new with 10.1. Basically, your IDE will be pointing to the same project (code base) but based on which device you are targetting your app, it will select the respective .qml files
<ul>
<li>As mentioned before, the Z10 devices running lower than 10.1 OS, will just ignore the folders such as the <strong>720&#215;720</strong></li>
</ul>
</li>
<li>If you are using 10.1 specific API in your C++ code (only), you can use the NDK versioning macros to detect the OS versions. This forum post <a href="http://supportforums.blackberry.com/t5/Native-Development/Using-the-new-NDK-versioning-macros-to-detect-API-versions/td-p/2286807" target="_blank">here</a> talks about this in details</li>
</ol>
<h3><strong>To Sum Up</strong></h3>
<ul>
<li>For devices running 10.1 OS, definitely use 10.1 SDK to compile and deploy your app; make use of all the useful features which will make the Q10 experience of your app significantly better
<ul>
<li>As soon as 10.1 OS is picked up by the Z10 devices, these app releases will be shown through BlackBerry World as well (provided you set the vendor portal filtering accordingly)</li>
<li>There is more than one way to manage your code base; you have to decide which one is best for you</li>
</ul>
</li>
<li>For posting updates and bug fixes to the 10.0 Z10 versions of your app, continue to use the respective 10.0 SDK to compile and deploy the app</li>
<li>Sanity check: Don’t forget to test and try out the application on the OS versions that your users are expected to run the app</li>
</ul>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/05/sdk-10.jpg?w=500" /></p>
<p>We hope at least some of this was helpful to you. If we have missed any particular cases, do bring them to our attention and we will try to advise accordingly. Hope to see all of your apps for the Q10 devices soon!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14875/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14875&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/05/10-1-gold-with-great-sdk-powers-comes-a-bit-of-responsibility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/80e97ad98707931e59eb2b03535cc8b2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shrashid</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/05/sdk-1.jpg?w=500" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/05/sdk-2.jpg?w=500" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/05/sdk-3.jpg?w=250" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/05/sdk-4.jpg?w=500" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/05/sdk-5.jpg?w=450" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/05/sdk-6.jpg?w=500" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/05/sdk-7.jpg?w=500" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/05/sdk-8.jpg?w=500" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/05/sdk-9.jpg?w=500" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/05/sdk-10.jpg?w=500" medium="image" />
	</item>
		<item>
		<title>BlackBerry Q10 SDK Update</title>
		<link>http://devblog.blackberry.com/2013/02/blackberry-q10-sdk-update/</link>
		<comments>http://devblog.blackberry.com/2013/02/blackberry-q10-sdk-update/#comments</comments>
		<pubDate>Wed, 06 Feb 2013 01:00:37 +0000</pubDate>
		<dc:creator>Tim N.</dc:creator>
				<category><![CDATA[Adobe AIR Development]]></category>
		<category><![CDATA[Android Development]]></category>
		<category><![CDATA[Announcements]]></category>
		<category><![CDATA[BlackBerry Jam]]></category>
		<category><![CDATA[Cascades]]></category>
		<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WebWorks]]></category>
		<category><![CDATA[Dev Alpha C]]></category>
		<category><![CDATA[Keyboard]]></category>
		<category><![CDATA[QWERTY]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=13458</guid>
		<description><![CDATA[[Update - February 6th: If you've upgraded already - head over to the download page again - we've provided a refresh of the SDK to correct an issue some developers have reported.] With the successful launch of BlackBerry 10, we now turn our attention to letting developers know what to expect from the BlackBerry 10 [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13458&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:left;">[Update - February 6th: If you've upgraded already - head over to the <a href="https://developer.blackberry.com/cascades/download/beta/" target="_blank">download page</a> again - we've provided a refresh of the SDK to correct an issue some developers have reported.]</p>
<p style="text-align:center;"><a href="http://rimdevblog.files.wordpress.com/2013/02/devblog-keyboard-beta.png"><img class="aligncenter  wp-image-13460" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/02/devblog-keyboard-beta-e1360054184191.png?w=512&#038;h=190" width="512" height="190" /></a></p>
<p>With the <a href="http://blogs.blackberry.com/2013/01/blackberry-10-apps/">successful launch</a> of <a href="http://global.blackberry.com/blackberry-10.html">BlackBerry 10</a>, we now turn our attention to letting developers know what to expect from the BlackBerry 10 SDK when it comes to the BlackBerry Q10. Up until the BlackBerry 10 launch event, details on this device had been much like those of the majestic Yeti. But fear not, all details on the device <a href="http://devblog.blackberry.com/2013/01/blackberry-q10/">have now been revealed</a> and we’re ready for you to start testing apps on the device.</p>
<p>I’m very happy to announce that we now have updated versions of the <a href="https://developer.blackberry.com/cascades/download/beta/" target="_blank">BlackBerry 10 SDKs</a> available for download. The main purpose of these SDK updates is to ensure that the development runtimes have proper support for the physical keyboard and screen size and to provide simulators so that developers can start testing their applications on the <a href="http://devblog.blackberry.com/2012/08/blackberry-10-screen-resolutions/">720&#215;720 screen resolution</a>.</p>
<p>The details of the SDK additions are posted on the online roadmaps for each of the runtimes. The focus of these SDK updates is not on net new functionality, but instead around updates needed to support the 1:1 form factor, and screen resolution, allowing you to easily build a single application for both the full touch and physical keyboard devices. We’ll also be performing demonstrations, sessions and labs at BlackBerry JAM Europe to show you how to provide a single application for both the BlackBerry Z10 and BlackBerry Q10 devices with very little effort. In fact, in most cases your app will simply work right out of the box, but you can also easily make Q10 specific tweaks to your application using our built in framework additions.</p>
<p>This release brings with it an updated Q10 Simulator, but no SDK OS update for the BlackBerry Dev Alpha testing devices. The SDK update is specifically targeted at providing testing support using the BlackBerry Q10 simulator and BlackBerry Dev Alpha C testing devices (which are <i>currently</i> only available in the hands-on lab sessions at BlackBerry JAM Europe).</p>
<p>There’s updated SDK downloads for Native and AIR, as well as on-device updates for the Android and BlackBerry WebWorks runtimes. So grab the latest Simulators and SDK downloads to start testing your application for the BlackBerry Q10!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/13458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/13458/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13458&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/02/blackberry-q10-sdk-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3939390650b170ba28e9bf3c53d397ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">timneil1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/02/devblog-keyboard-beta-e1360054184191.png" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>BlackBerry 10 Dev Alpha OS Update &#8211; January 30th</title>
		<link>http://devblog.blackberry.com/2013/01/dev-alpha-os-update/</link>
		<comments>http://devblog.blackberry.com/2013/01/dev-alpha-os-update/#comments</comments>
		<pubDate>Thu, 24 Jan 2013 20:26:17 +0000</pubDate>
		<dc:creator>Tim N.</dc:creator>
				<category><![CDATA[Adobe AIR Development]]></category>
		<category><![CDATA[Android Development]]></category>
		<category><![CDATA[Cascades]]></category>
		<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[BlackBerry 10 Dev Alpha C]]></category>
		<category><![CDATA[Keyboard]]></category>
		<category><![CDATA[QWERTY]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=13266</guid>
		<description><![CDATA[With the BlackBerry 10 launch event just around the corner, we’re also making an update available for the BlackBerry 10 Dev Alpha A and B testing devices. That’s right &#8211; on January 30th we’ll be providing an updated version of the BlackBerry 10 SDK and OS for the BlackBerry 10 Dev Alpha A and B [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13266&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/01/devealphaupdatepic1.jpg" /></p>
<p>With the BlackBerry 10 launch event just around the corner, we’re also making an update available for the BlackBerry 10 Dev Alpha A and B testing devices. That’s right &#8211; on January 30th we’ll be providing an updated version of the BlackBerry 10 SDK and OS for the BlackBerry 10 Dev Alpha A and B testing devices. This SDK and OS upgrade will be delivered in the same manner as the <a href="http://devblog.blackberry.com/2013/01/native-sdk-january-refresh/" target="_new">previous target OS version</a>, as an available target OS update in the Momentics IDE and as an OS upgrade for your BlackBerry 10 Dev Alpha testing device. Please check out the details from the <a href="http://devblog.blackberry.com/2013/01/native-sdk-january-refresh/" target="_new">previous blog post</a> on how to download the latest target OS from within Momentics, and how to upgrade your BlackBerry 10 Dev Alpha OS.</p>
<p>Just like the previous target OS update, this one brings simply a newer version of the BlackBerry 10 SDK OS but with a slight twist. This January 30th update will also include the BlackBerry Hub, phone, and BlackBerry Maps applications. Adding these three new applications will go further to help developers test their end-to-end integration with core BlackBerry 10 applications.</p>
<p>So get ready for the launch event next week, and also prepare your development environment and test devices for an update.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/13266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/13266/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13266&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/01/dev-alpha-os-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3939390650b170ba28e9bf3c53d397ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">timneil1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/01/devealphaupdatepic1.jpg" medium="image" />
	</item>
		<item>
		<title>Gold Dev Tools Webcast Tomorrow!</title>
		<link>http://devblog.blackberry.com/2012/12/gold-dev-tools-webcast/</link>
		<comments>http://devblog.blackberry.com/2012/12/gold-dev-tools-webcast/#comments</comments>
		<pubDate>Mon, 17 Dec 2012 16:47:57 +0000</pubDate>
		<dc:creator>Ken W</dc:creator>
				<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[blackberry webworks]]></category>
		<category><![CDATA[gold build]]></category>
		<category><![CDATA[native]]></category>
		<category><![CDATA[ndk]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[webcast]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12744</guid>
		<description><![CDATA[Everyone loves a good webinar. OK, perhaps that’s an overstatement. Nevertheless, we hear loud and clear that our developer community loves them. The series of webinars we have run throughout the summer in conjunction with each successive SDK release have been extremely successful. So why stop now? Tomorrow &#8211; Tuesday, December 18th – we are [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12744&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter" alt="" src="http://farm9.staticflickr.com/8174/8025132500_e743d59588.jpg" width="500" height="333" /></p>
<p>Everyone loves a good webinar. OK, perhaps that’s an overstatement. Nevertheless, we hear loud and clear that our developer community loves them. The series of webinars we have run throughout the summer in conjunction with each successive SDK release have been extremely successful. So why stop now? Tomorrow &#8211; Tuesday, December 18th – we are bringing you two webinars that will cover all the latest information related to gold release Native and HTML5 SDKs for BlackBerry 10. The launch event date is coming up fast, so head on over to the registration pages and mark your calendars.</p>
<h3><strong>BlackBerry 10 Native SDK</strong></h3>
<p>We will take a quick look at what we have achieved so far with our native SDK. We will then look at the latest and greatest API and tooling features that have arrived in this most recent beta as well as the beta that preceded it. This includes things like advertising, SMS and invocation framework enhancements. Also, for the first time you will get a quick preview of the cards that are available to invoke and how you can invoke them. We will also cover some of the important IDE enhancements that have arrived, including the update manager, a brand new spanking project wizard, and the latest and greatest features that have been added to the Microsoft Visual Studio Plugin.</p>
<p><strong>REGISTRATION:</strong><br />
<a href="http://www.blackberrydeveloperevents.com/events/webcast/registration/register.html?scoid=1079239157" target="_new">http://www.blackberrydeveloperevents.com/events/webcast/registration/register.html?scoid=1079239157</a></p>
<h3><strong>BlackBerry 10 WebWorks SDK</strong></h3>
<p>We&#8217;ll take a look at the latest gold release as well as the most recent beta that preceded it. Starting with a quick overview of BlackBerry WebWorks, we will move to a summary of all of the latest features. We will then dive deeper into some of the more interesting features with a live look at code and functioning samples.</p>
<p><strong>REGISTRATION:</strong><br />
<a href="http://www.blackberrydeveloperevents.com/events/webcast/registration/register.html?scoid=1079318388" target="_new">http://www.blackberrydeveloperevents.com/events/webcast/registration/register.html?scoid=1079318388</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12744/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12744&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/12/gold-dev-tools-webcast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3b422c1a037b89d4ddf5bef834dbdeef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kjwallis</media:title>
		</media:content>

		<media:content url="http://farm9.staticflickr.com/8174/8025132500_e743d59588.jpg" medium="image" />
	</item>
		<item>
		<title>JavaScript vs. C++? Cascades Lets You Make Native Apps With Both!</title>
		<link>http://devblog.blackberry.com/2012/12/cascades-javascript-blackberry10/</link>
		<comments>http://devblog.blackberry.com/2012/12/cascades-javascript-blackberry10/#comments</comments>
		<pubDate>Thu, 13 Dec 2012 20:59:51 +0000</pubDate>
		<dc:creator>Dave Balmer</dc:creator>
				<category><![CDATA[Cascades]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12704</guid>
		<description><![CDATA[I’m a web developer. Yes, I did have some C/C++ chops back in the distant past, but jumping in and building a native mobile app today is something that gives me pause. So imagine my surprise when I learned that BlackBerry 10 native apps can be made with JavaScript. Intrigued? Yeah, me too. I’m still [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12704&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I’m a web developer. Yes, I did have some C/C++ chops back in the distant past, but jumping in and building a native mobile app today is something that gives me pause. So imagine my surprise when I learned that BlackBerry 10 native apps can be made with JavaScript. Intrigued? Yeah, me too.</p>
<p>I’m still pretty new to RIM, and still learning all the new tools we have to offer. So there I was in Cascades and C++ training when something caught my ear. It went something like this: “Blah blah blah C++ blah blah posix blah blah QML blah blah JavaScript…” <b>Wait! Back up; did you say “JavaScript?!”</b></p>
<p>Turns out, the native Cascades framework doesn’t just support JavaScript; it’s baked in. The implications hit me fast and my head started racing with ideas. From that moment on, I quietly raced into my own little world of coding and exploring. Here’s what I found:</p>
<p><span id="more-12704"></span></p>
<p><b>You can create a fully native BlackBerry 10 UI using QML and JavaScript </b></p>
<p>QML looks sort of like HTML and JSON had a baby. Check this out:</p>
<pre>import bb.cascades 1.0
Page {
       Container {
              Label {
                     id: hello
                     text: "Hello World!"
                     horizontalAlignment: HorizontalAlignment.center
              }
              Button {
                     text: "Welcome!"
                     onTouch: {
                           // this is some JavaScript!
hello.text = "Thank you!";
                     }
              }
       }
}</pre>
<p>You can even “subclass” and customize native controls within QML and JavaScript. Even better, the native IDE has a live UI preview and a properties inspector. Both cut the learning curve down to where even a noob native developer like me can get in and do some serious damage in a short time.</p>
<p><b>You can build many native apps purely in JavaScript</b></p>
<p>BlackBerry 10’s native Cascades framework exposes its goodness to C++ and JavaScript. It’s like having a browser engine without all the fuss; you’re connected directly to the metal. This means web developers can explore the wilds of native development in BlackBerry 10 without having to stray too far from our comfort zone.</p>
<p><img class="aligncenter size-full wp-image-12705" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2012/12/devblog-balmer-e1355430896388.png?w=599&#038;h=202" width="599" height="202" /></p>
<p><b>You can expose other C++ code to the JavaScript layer</b></p>
<p>This means that if you run into something that really needs some seriously optimized C++ code to get it running, you can still have the convenience of your application logic being in JavaScript. It’s not an all or nothing scenario. What a great ice breaker to have with native development folks; working on the same project in peace and harmony (flowers, moonbeams and unicorns are optional).</p>
<p><b>The web is still in there; it’s just in a UI control</b></p>
<p>Even the most die-hard native developers recognize that some things (like, say, content) are well suited for HTML and such. That’s why most native libraries out there provide a web view of some sort. BlackBerry 10 is no exception. In fact, I’ve met web developers who are using a hybrid approach: writing the UI for their app in QML, application in JavaScript, contents and other goodies inside a web view inside their app; all baked into a single native BlackBerry 10 app. Sounds crazy, but the results are pretty cool.</p>
<p><b>So why would you want to do this? What about the web… versus native debate?</b></p>
<p>The deep truth is, native apps will always be more suited to many high performance and demanding applications. While HTML5 gets more awesome every day, sometimes you may have the urge to push beyond what is offered in the browser engine (or ignore it entirely). There’s nothing wrong with having these thoughts, and now that you have a slick outlet for them in BlackBerry 10, there’s no reason not to go exploring.</p>
<p><b>Ready to get going? Here are some resources to help you on your journey:</b></p>
<p>The Cascades SDK page: <a href="https://developer.blackberry.com/cascades/">https://developer.blackberry.com/cascades/</a></p>
<p>Some samples on GitHub, with lots of JavaScript: <a href="https://github.com/blackberry/Cascades-Samples">https://github.com/blackberry/Cascades-Samples</a></p>
<p>You can ask me more on Twitter too &#8211; <a href="https://twitter.com/balmer" target="_blank">@balmer</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12704/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12704/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12704&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/12/cascades-javascript-blackberry10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2d4f6da5fec7c3c30fb6d0b7f821df6b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davebalmerbb</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/12/devblog-balmer-e1355430896388.png" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>BlackBerry 10 SDK for Adobe AIR reaches Gold!</title>
		<link>http://devblog.blackberry.com/2012/12/blackberry-10-sdk-for-adobe-air-gold/</link>
		<comments>http://devblog.blackberry.com/2012/12/blackberry-10-sdk-for-adobe-air-gold/#comments</comments>
		<pubDate>Tue, 11 Dec 2012 21:02:51 +0000</pubDate>
		<dc:creator>Dustin M.</dc:creator>
				<category><![CDATA[Adobe AIR Development]]></category>
		<category><![CDATA[Announcements]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Gold]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12658</guid>
		<description><![CDATA[Today is the launch of the Gold version of the BlackBerry 10 SDK for Adobe AIR. Thank you to everyone that has been helping us test it so far! For a full list of API updates and fixes, please head over to the release notes. Below are some of the benefits of using the gold [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12658&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-12659" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2012/12/air-gold-sdk.jpg?w=264&#038;h=221" width="264" height="221" /></p>
<p>Today is the launch of the Gold version of the BlackBerry 10 SDK for Adobe AIR. Thank you to everyone that has been helping us test it so far! For a full list of API updates and fixes, please head over to the <a href="https://developer.blackberry.com/air/documentation/bb10/bb10_air_sdk_rn_3.0beta_2010852_11.html" target="_new">release notes</a>. Below are some of the benefits of using the gold release of the BlackBerry 10 SDK for Adobe AIR.</p>
<h3><strong>BlackBerry UI / Same components as native</strong></h3>
<p>The BlackBerry 10 SDK for Adobe AIR has been rebuilt from the ground up to allow developers to create applications that adhere to the <a href="https://developer.blackberry.com/design/" target="_new">BlackBerry UI branding guidelines</a>. Basically all of the components you would get if you were a native developer, you also get in the BlackBerry 10 SDK for Adobe AIR.</p>
<h3><strong>Performance</strong></h3>
<p>Developing Adobe AIR applications that perform well on mobile is a challenge, and is also one of the main reasons why so many Flash developers shy away from mobile development. The BlackBerry 10 SDK for Adobe AIR was built specifically for BlackBerry 10 and mobile development. If you use the components of the SDK, you can be assured that they are the best performing components for BlackBerry 10.</p>
<h3><strong>Multi-screen development</strong></h3>
<p>With the BlackBerry 10 SDK for Adobe AIR, developers can use the <a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/core/Container.html" target="_new">Container API</a> to organize the application&#8217;s UI controls. By using a <a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/layouts/package-detail.html" target="_new">layout</a>, a Container manages the positioning and size of any UI component that it contains. This allows developers to target multiple aspect ratios and orientations easily without having to specify set dimensions for their application.</p>
<h3><strong>Native capabilities</strong></h3>
<p>The BlackBerry 10 SDK for Adobe AIR has native capabilities baked right in. You can easily take advantage of things such as <a href="https://developer.blackberry.com/air/apis/bb10/qnx/invoke/package-detail.html" target="_new">invocation</a>, <a href="https://developer.blackberry.com/air/apis/bb10/qnx/sensors/package-detail.html" target="_new">sensors</a>, <a href="https://developer.blackberry.com/air/apis/bb10/net/rim/blackberry/push/package-detail.html" target="_new">push</a>, <a href="https://developer.blackberry.com/air/apis/bb10/qnx/notification/package-detail.html" target="_new">notifications</a>, <a href="https://developer.blackberry.com/air/apis/bb10/net/rim/blackberry/payment/package-detail.html" target="_new">payment</a> and <a href="https://developer.blackberry.com/air/apis/bb10/" target="_new">more</a>.</p>
<h3><strong>Port your AIR apps</strong></h3>
<p>Re-compile your existing BlackBerry PlayBook AIR applications to BlackBerry 10. If you’re already using the fuse component set that debuted with the BlackBerry PlayBook SDK for Adobe AIR, the port should be quick and easy. You can get more details from <a href="http://devblog.blackberry.com/2012/11/porting-air-playbook-apps-to-blackberry-10/" target="_new">this blog post</a>.</p>
<p>For more details on what’s coming after Gold for the BlackBerry 10 SDK for Adobe AIR, please visit our <a href="https://developer.blackberry.com/air/download/roadmap" target="_new">Adobe AIR roadmap</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12658/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12658/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12658&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/12/blackberry-10-sdk-for-adobe-air-gold/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/598d212a6063d9f64055658aeb82ebb9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dustinmalik</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/12/air-gold-sdk.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>Augmenting Reality With BlackBerry 10 and Wikitude SDK</title>
		<link>http://devblog.blackberry.com/2012/11/blackberry-10-and-wikitude-sdk/</link>
		<comments>http://devblog.blackberry.com/2012/11/blackberry-10-and-wikitude-sdk/#comments</comments>
		<pubDate>Mon, 19 Nov 2012 17:50:09 +0000</pubDate>
		<dc:creator>Ramprasad Madhavan</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[AR]]></category>
		<category><![CDATA[augmented reality]]></category>
		<category><![CDATA[BlackBerry10 BlackBerry 10]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[native]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[webcast]]></category>
		<category><![CDATA[wikitude]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12157</guid>
		<description><![CDATA[Augmented Reality is a way to enhance what you see around you with the use of your mobile phone’s camera, sensors, and location services. If done right, applications of this technology can take the experience of the consumer to an entirely new level. Implementing this technology can be exciting and challenging at the same time. [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12157&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://www.blackberrydeveloperevents.com/events/webcast/registration/register.html?scoid=1075028770"><img class="aligncenter  wp-image-12159" title="wikitude" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2012/11/wikitude.png?w=624&#038;h=152" height="152" width="624" /></a></p>
<p>Augmented Reality is a way to enhance what you see around you with the use of your mobile phone’s camera, sensors, and location services. If done right, applications of this technology can take the experience of the consumer to an entirely new level. Implementing this technology can be exciting and challenging at the same time. For those seeking a mature solution, we are extremely delighted about the recent <a href="http://www.wikitude.com/wikitude-launches-worlds-augmented-reality-sdk-blackberry-10">announcement</a> on the BlackBerry® 10 support for the Wikitude SDK.</p>
<p><span id="more-12157"></span></p>
<p>Following up with that announcement, we are pleased to announce our next webcast on Augmented Reality (AR) Development for BlackBerry 10. Join us to learn how to make use of the Wikitude SDK to create cool AR apps and games for the BlackBerry 10. Get a deeper insight into the concepts of creating AR content using HTML5/JavaScript/CSS and integration into BlackBerry10 Cascades™ applications. Hear directly from Wolfgang Damm, Lead Software Architect from Wikitude Team that created the &#8220;<a href="http://www.wikitude.com/wikitude-wins-augmented-reality-developer-tool-platform-year-row" target="_blank">Best Augmented Reality Browser 2012</a>&#8220;.</p>
<p>Registration is open now! Please signup to reserve your spot for the webcast on November 20th, 2012 at 11:00am EST</p>
<p><a href="http://www.blackberrydeveloperevents.com/events/webcast/registration/register.html?scoid=1075028770">http://www.blackberrydeveloperevents.com/events/webcast/registration/register.html?scoid=1075028770</a></p>
<p>Get up to speed on the features of Wikitude SDK for BlackBerry 10 before the webcast:</p>
<p><a href="http://www.wikitude.com/developer/sdk/wikitude-sdk-blackberry-10">http://www.wikitude.com/developer/sdk/wikitude-sdk-blackberry-10</a></p>
<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/i4AE-9tLLEs?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>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12157/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12157&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/11/blackberry-10-and-wikitude-sdk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ba5492209a7823e5998202d3e638830d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rmadhavan</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/11/wikitude.png" medium="image">
			<media:title type="html">wikitude</media:title>
		</media:content>
	</item>
		<item>
		<title>Porting Adobe AIR BlackBerry PlayBook Applications to BlackBerry 10</title>
		<link>http://devblog.blackberry.com/2012/11/porting-air-playbook-apps-to-blackberry-10/</link>
		<comments>http://devblog.blackberry.com/2012/11/porting-air-playbook-apps-to-blackberry-10/#comments</comments>
		<pubDate>Thu, 15 Nov 2012 16:58:49 +0000</pubDate>
		<dc:creator>Dustin M.</dc:creator>
				<category><![CDATA[Adobe AIR Development]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[FDT]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash builder]]></category>
		<category><![CDATA[Fuse UI]]></category>
		<category><![CDATA[playbook]]></category>
		<category><![CDATA[porting]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12077</guid>
		<description><![CDATA[Speaking of porting, don&#8217;t forget our 36 hour The BlackBerry Got Game Port-a-Thon  starts tomorrow! Check out this post for details and how you can get some awesome rewards for porting apps to BlackBerry® 10. &#8211; Ed. The BlackBerry® 10 SDK for Adobe® AIR® has been created to make it easier for you to create Adobe [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12077&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-12078" title="" alt="" src="http://rimdevblog.files.wordpress.com/2012/11/air-porting-pb.jpg?w=501&#038;h=237" height="237" width="501" /></p>
<p><em>Speaking of porting, don&#8217;t forget our 36 hour <strong>The BlackBerry Got Game Port-a-Thon </strong> starts tomorrow! Check out <a href="http://devblog.blackberry.com/2012/11/got-game-port-a-thon/" target="_blank">this post</a> for details and how you can get some awesome rewards for porting apps to BlackBerry® 10. &#8211; Ed.</em></p>
<p>The BlackBerry® 10 SDK for Adobe® AIR® has been created to make it easier for you to create Adobe AIR applications on multiple screen sizes while keeping mobile performance in mind. If you’re a developer that has one or more of the 6000+ Adobe AIR applications on the BlackBerry® PlayBook™ tablet, this article will help point you in the right direction for getting your BlackBerry PlayBook tablet application updated for BlackBerry 10. This blog post will cover:</p>
<ul>
<li>Getting started</li>
<li>User interface guidelines</li>
<li>Support for multiple screen sizes</li>
<li>Fuse UI</li>
<li>Layouts</li>
<li>Application icon size</li>
<li>Samples</li>
<li>Help</li>
</ul>
<p><span id="more-12077"></span></p>
<h3><strong>Getting Started</strong></h3>
<p>The first thing you’re going to want to do is download and install the latest versions of the BlackBerry 10 Beta SDK for Adobe AIR 3.0 from <a href="https://developer.blackberry.com/air/download/" target="_new">this location</a>. This link also provides steps on how to download and install the latest version of the BlackBerry 10 Dev Alpha Simulator, which you’ll also need if you haven’t attended a BlackBerry Jam event and got yourself a Dev Alpha unit. To get your development environment set up, you can follow one of the many guides located <a href="https://developer.blackberry.com/air/documentation/bb10/overview_ms_2010836_11.html" target="_new">here</a>. If you are porting content that was originally created using Adobe® Flash® Professional, there is a guide you can follow <a href="http://supportforums.blackberry.com/t5/Adobe-AIR-Development/How-to-Create-a-BlackBerry-10-AIR-Application-with-Adobe-Flash/ta-p/1817139" target="_new">here</a>.</p>
<h3><strong>User interface guidelines</strong></h3>
<p>The user experience for BlackBerry 10 has changed significantly from the experience on the BlackBerry PlayBook tablet. Creating a cinematic experience, having fluid workflows, and emphasizing high performance are just some of the key principles that BlackBerry 10 applications should follow. The <a href="https://developer.blackberry.com/design/" target="_new">BlackBerry 10 UI Guidelines</a> cover these principles and specify design, interaction, and style guidelines for your app.</p>
<h3><strong>Support for multiple screen sizes</strong></h3>
<p>Your BlackBerry 10 application should support the different screen sizes so that it looks consistent across devices. You specify the splash screen in the BAR application descriptor file and you can add them for each supported screen resolution. The BlackBerry 10 OS chooses the correct icon and splash screen to use based on the device that the application is running on.</p>
<p>Currently, the BlackBerry 10 OS supports the following screen sizes:</p>
<table width="100%" border="1" cellpadding="5">
<tbody>
<tr>
<td><i>Device</i></td>
<td><i>Resolution</i></td>
<td><i>Ratio</i></td>
</tr>
<tr>
<td>BlackBerry 10 Dev Alpha</td>
<td>768&#215;1280</td>
<td>-</td>
</tr>
<tr>
<td>First full touch BlackBerry 10 device</td>
<td>768&#215;1280</td>
<td>-</td>
</tr>
<tr>
<td>Future full touch BlackBerry 10 devices</td>
<td>720&#215;1280</td>
<td>16:9</td>
</tr>
<tr>
<td>Physical keyboard BlackBerry 10 devices</td>
<td>720&#215;720</td>
<td>1:1</td>
</tr>
</tbody>
</table>
<p>To support multiple screens in your BlackBerry 10 application, modify the bar-descriptor file.</p>
<pre>&lt;splashScreens&gt;
   &lt;image&gt;splash-1024x600.jpg&lt;/image&gt;
   &lt;image&gt;splash-600x1024.jpg&lt;/image&gt;
   &lt;image&gt;splash-1280x768.jpg&lt;/image&gt;
   &lt;image&gt;splash-768x1280.jpg&lt;/image&gt;  
&lt;/splashScreens&gt;</pre>
<h3><strong>Fuse UI</strong></h3>
<p>In BlackBerry Tablet OS SDK for Adobe AIR 2.0, the qnx.fuse.ui API was introduced as a replacement for the qnx.ui API used in version 1.0. While the qnx.ui was deprecated, it remained available to applications for the BlackBerry PlayBook OS.</p>
<p>In the BlackBerry 10 SDK for Adobe AIR, the qnx.ui API has been removed, and you must update up your application to use the qnx.fuse.ui API.</p>
<p>In order to use the qnx.fuse.ui API in your application, you must add the QNXSkins AIR Native Extension to your application. For more information, see Adobe AIR native extensions.</p>
<table width="100%" border="1" cellpadding="5">
<tbody>
<tr>
<td><i>BlackBerry Tablet OS SDK 1.0</i></td>
<td><i>BlackBerry Tablet OS SDK 2.X and BlackBerry 10 SDK</i></td>
</tr>
<tr>
<td>qnx.ui.buttons</td>
<td><a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/buttons/package-detail.html" target="_new">qnx.fuse.ui.buttons</a></td>
</tr>
<tr>
<td>qnx.ui.core</td>
<td><a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/core/package-detail.html" target="_new">qnx.fuse.ui.core</a></td>
</tr>
<tr>
<td>qnx.ui.display</td>
<td><a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/display/package-detail.html" target="_new">qnx.fuse.ui.display</a></td>
</tr>
<tr>
<td>qnx.ui.events</td>
<td><a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/events/package-detail.html" target="_new">qnx.fuse.ui.events</a></td>
</tr>
<tr>
<td>qnx.ui.geom</td>
<td><a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/geom/package-detail.html" target="_new">qnx.fuse.ui.geom</a></td>
</tr>
<tr>
<td>qnx.ui.listClasses</td>
<td><a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/listClasses/package-detail.html" target="_new">qnx.fuse.ui.listClasses</a></td>
</tr>
<tr>
<td>qnx.ui.media</td>
<td><a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/media/package-detail.html" target="_new">qnx.fuse.ui.media</a></td>
</tr>
<tr>
<td>qnx.ui.picker</td>
<td><a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/picker/package-detail.html" target="_new">qnx.fuse.ui.picker</a></td>
</tr>
<tr>
<td>qnx.ui.progress</td>
<td><a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/progress/package-detail.html" target="_new">qnx.fuse.ui.progress</a></td>
</tr>
<tr>
<td>qnx.ui.skins</td>
<td><a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/skins/package-detail.html" target="_new">qnx.fuse.ui.skins</a></td>
</tr>
<tr>
<td>qnx.ui.slider</td>
<td><a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/slider/package-detail.html" target="_new">qnx.fuse.ui.slider</a></td>
</tr>
<tr>
<td>qnx.ui.text</td>
<td><a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/text/package-detail.html" target="_new">qnx.fuse.ui.text</a></td>
</tr>
<tr>
<td>qnx.ui.text.textInputIMF</td>
<td><a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/text/TextInput.html" target="_new">qnx.fuse.ui.text.TextInput</a></td>
</tr>
<tr>
<td>qnx.ui.listClasses.scrollPane</td>
<td><a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/core/Container.html" target="_new">qnx.fuse.ui.core.Container</a></td>
</tr>
</tbody>
</table>
<h3><strong>Layouts</strong></h3>
<p>In BlackBerry Tablet OS SDK for Adobe AIR 2.0, the container methodology (highlighted in qnx.ui.core) was deprecated in favor of using layouts to organize your UI components.</p>
<p>In the BlackBerry 10 SDK for Adobe AIR, the container concept has been removed, and you must update your application to use the layout method.</p>
<p>You can use the <a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/core/Container.html" target="_new">Container class</a> to organize your application&#8217;s UI controls. By using a layout, a Container manages the positioning and size of any UI component that it contains. Any controls that are added to a container are known as children. A container can also contain other containers, called sub-containers.</p>
<p>Below a container is created and a <a href="https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/layouts/rowLayout/package-detail.html" target="_new">rowLayout</a> is assigned to it:</p>
<pre>//Create container
container = new Container();
container.scrollDirection = ScrollDirection.VERTICAL;
container.height = stage.stageHeight;
container.width = stage.stageWidth;
//Create layout
var row:RowLayout = new RowLayout();
container.layout = row;
row.spacing = 5;
row.padding = 5;</pre>
<h3><strong>Application icon size</strong></h3>
<p>When creating new application icons, make sure that your application icon is the appropriate size for the application platform.</p>
<table width="80%" border="1" cellpadding="5">
<tbody>
<tr>
<td><i>Platform</i></td>
<td><i>Icon Size (pixels)</i></td>
</tr>
<tr>
<td>BlackBerry PlayBook OS</td>
<td>86&#215;86</td>
</tr>
<tr>
<td>BlackBerry 10 OS</td>
<td>114&#215;114</td>
</tr>
</tbody>
</table>
<h3><strong>Samples</strong></h3>
<p>There are some BlackBerry 10 Adobe AIR samples that you can download the source for that will help you get started. You can find a description and the download location <a href="https://developer.blackberry.com/air/sampleapps/" target="_new">here</a>. If you’re new, I recommend starting with the “Starship Settings” application and then moving on to the “Weather guesser” application for some more advanced layout techniques.</p>
<h3><strong>Help</strong></h3>
<p>If you need help, here is a list of resources that you can reference:</p>
<p><a href="http://supportforums.blackberry.com/t5/Adobe-AIR-Development/bd-p/tablet" target="_new">The Adobe AIR Development BlackBerry Support Community Forum</a><br />
<a href="https://developer.blackberry.com/air/apis/bb10/" target="_new">BlackBerry 10 SDK for Adobe AIR API Reference (beta)</a><br />
<a href="https://developer.blackberry.com/air/documentation/bb10/" target="_new">The BlackBerry SDK for Adobe AIR Documentation</a><br />
<a href="http://supportforums.blackberry.com/t5/Adobe-AIR-Development/tkb-p/tablet%40tkb" target="_new">The Adobe AIR Development BlackBerry Resource Center</a></p>
<p>If all else fails, you can tweet me <a href="http://twitter.com/dustinmalik" target="_new">@dustinmalik</a> or tweet <a href="http://twitter.com/BlackBerryDev" target="_new">@BlackBerryDev</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12077/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12077/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12077&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/11/porting-air-playbook-apps-to-blackberry-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/598d212a6063d9f64055658aeb82ebb9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dustinmalik</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/11/air-porting-pb.jpg" medium="image" />
	</item>
	</channel>
</rss>
