<?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 10</title>
	<atom:link href="http://devblog.blackberry.com/tag/blackberry-10/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; BlackBerry 10</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 BlackBerry Q5 Announced Today at BlackBerry Live for Select Markets</title>
		<link>http://devblog.blackberry.com/2013/05/new-blackberry-q5-announced-today-at-blackberry-live-for-select-markets/</link>
		<comments>http://devblog.blackberry.com/2013/05/new-blackberry-q5-announced-today-at-blackberry-live-for-select-markets/#comments</comments>
		<pubDate>Tue, 14 May 2013 14:00:54 +0000</pubDate>
		<dc:creator>Donny Halliwell</dc:creator>
				<category><![CDATA[BlackBerry Jam]]></category>
		<category><![CDATA[BlackBerry Live]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[BlackBerry Q5]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14992</guid>
		<description><![CDATA[As the BlackBerry Live keynote news keeps flowing in I’m happy to introduce you to the youthful and fun BlackBerry Q5 smartphone, running BlackBerry 10. With a QWERTY keyboard and a confident design, this new BlackBerry smartphone has been built to provide a fast, effortless experience that helps you explore, create and share while on [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14992&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://rimblogs.files.wordpress.com/2013/05/screen-shot-2013-05-13-at-11-17-23-am.png"><img class="aligncenter size-full wp-image-16936" alt="Screen Shot 2013-05-13 at 11.17.23 AM" src="http://rimblogs.files.wordpress.com/2013/05/screen-shot-2013-05-13-at-11-17-23-am.png?w=600&#038;h=236" width="600" height="236" /></a></p>
<p>As the BlackBerry Live keynote news keeps flowing in I’m happy to introduce you to the youthful and fun BlackBerry Q5 smartphone, running BlackBerry 10. With a QWERTY keyboard and a confident design, this new BlackBerry smartphone has been built to provide a fast, effortless experience that helps you explore, create and share while on the go. Thorsten Heins just revealed the device onstage at BlackBerry Live, but we’ve got all the details ready to share with you below.</p>
<p>I&#8217;ve been using this device for a few days now and I’m already in love. It fits into my lifestyle perfectly offering the powerful experience I need and allowing me to flow seamlessly from task to task throughout my day.</p>
<h3>Highlights and features of the BlackBerry Q5</h3>
<ul>
<li><strong>The evolution of the classic BlackBerry Keyboard:</strong><br />
The BlackBerry Q5 features a classic BlackBerry Keyboard with discrete keys that has been re-engineered and elegantly designed to help you type fast, accurately and with the least amount of effort. Plus with Instant Action shortcuts you can type to perform tasks faster. The BlackBerry Q5 smartphone gives you the best of both worlds – a classic QWERTY keyboard for optimized communications and a 3.1” touchscreen for all the rest.</li>
<li><strong>Create the perfect shot with BlackBerry Time Shift mode and Story Maker </strong><br />
Create the picture perfect shot with BlackBerry Time Shift mode, then create and share your story, weaving together your photos, videos and music into a movie with BlackBerry Story Maker.</li>
<li><strong>Share and be seen with BBM Video with Screen Share </strong><br />
Instantly switch your BBM (BlackBerry Messenger) chat to a BBM Video conversation and catch up face-to-face. You can even share your screen, whether it’s a photo, a page in the browser, an idea, or a view from your camera.</li>
<li><strong>Stay close to what’s important to you with BlackBerry Hub </strong><br />
With BlackBerry Hub, all of your messages and social conversations are only one swipe away. There’s no need to stop what you’re doing. Simply peek into the BlackBerry Hub from anywhere with a swipe to effortlessly flow in and out of your messages and conversations.</li>
<li><strong>BlackBerry World delivers a rich, thriving app and content ecosystem</strong><br />
Discovering and sharing great apps and content is easier than ever with recommendations based on similar purchases, and access to more than 100,000 apps on the BlackBerry World storefront.</li>
</ul>
<p>Here’s what Thorsten had to say in a recent press release on the new BlackBerry Q5 smartphone:</p>
<blockquote><p>“BlackBerry is excited to bring the new BlackBerry Q5 smartphone to our customers in selected markets around world,” said Thorsten Heins, President and CEO of BlackBerry. “The BlackBerry Q5 gives you the best of everything with its cutting-edge BlackBerry 10 functionality and a physical QWERTY keyboard. It is for youthful fans that are passionate, confident and bold, and it makes it easy for them to have fun, create, share and stay connected.”</p></blockquote>
<p><strong>Pricing and Availability</strong><br />
The new BlackBerry Q5 smartphone will be available in selected markets in Europe, the Middle East, Africa, Asia (including the Asia Pacific region), and Latin America, with availability beginning in July.</p>
<p>There you have it folks – if you live in the areas listed above, you can look forward to getting your hands on the new BlackBerry Q5 with BlackBerry 10. What do you think of this phone? Let us know your thoughts on this stunning new BlackBerry device in the comments below.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14992/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14992/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14992&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/05/new-blackberry-q5-announced-today-at-blackberry-live-for-select-markets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d0c2b929f8b5acf1cf5659d9c787b19f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">donnyhalliwell</media:title>
		</media:content>

		<media:content url="http://rimblogs.files.wordpress.com/2013/05/screen-shot-2013-05-13-at-11-17-23-am.png" medium="image">
			<media:title type="html">Screen Shot 2013-05-13 at 11.17.23 AM</media:title>
		</media:content>
	</item>
		<item>
		<title>BlackBerry Java to BlackBerry 10 Cascades Porting Series – Part 8: Storage</title>
		<link>http://devblog.blackberry.com/2013/04/blackberry-java-to-blackberry-10-cascades-porting-series-part-8-storage/</link>
		<comments>http://devblog.blackberry.com/2013/04/blackberry-java-to-blackberry-10-cascades-porting-series-part-8-storage/#comments</comments>
		<pubDate>Fri, 26 Apr 2013 15:54:38 +0000</pubDate>
		<dc:creator>Alex Kinsella</dc:creator>
				<category><![CDATA[Cascades]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[porting]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14827</guid>
		<description><![CDATA[Part 8 of our Porting Series has us focus on Storage. The Cascades Framework uses a modular approach to store, access, and display data in your apps. There is a good chance you will need your app to interact with external data – the raw data for your app. The format of the external data [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14827&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Part 8 of our Porting Series has us focus on Storage.</p>
<p>The Cascades Framework uses a modular approach to store, access, and display data in your apps.</p>
<p>There is a good chance you will need your app to interact with external data – the raw data for your app. The format of the external data can vary depending upon your needs and Cascades provides classes that help you manage three common data formats: XML, JSON, and SQL.</p>
<p>First, let’s look at a table comparing BBOS and BlackBerry 10 Data Storage:</p>
<p><span id="more-14827"></span></p>
<table>
<tbody>
<tr>
<td><strong>Storage Type</strong></td>
<td><strong>BlackBerry OS</strong></td>
<td><strong>BlackBerry 10</strong></td>
</tr>
<tr>
<td><strong>Application Storage</strong><br />
(internal to the BlackBerry deice)</td>
<td>Contains the operating system, Java® Virtual Memory (JVM), and an internal file system. Application storage is also called flash memory and onboard memory. Application storage is the only place on a BlackBerry device from which applications can be run. All BlackBerry devices have application storage.</td>
<td>Three file systems exist, BASE, USER and RADIO. Please note that BASE and RADIO are both “read-only”.<br />
USER is read/write and contains the applications and BlackBerry 10 platform volatile data.</td>
</tr>
<tr>
<td><strong>External Media Card Storage</strong><br />
Optional and removable microSD card that Users can insert to extend the storage on their device.</td>
<td>A File Allocation Table (FAT) file system is mounted on the media card. microSD cards are supported on all devices running BlackBerry® Device Software 4.2 or later.</td>
<td>A File Allocation Table (FAT) file system is mounted on the media card.</td>
</tr>
</tbody>
</table>
<h3><strong>USER File system</strong></h3>
<p>BlackBerry 10 introduces a file system (recall on BBOS there was no file system). So, what to know about the file system? Firstly, the <strong>working directory</strong> is where your app is started – it is also called <strong>current directory</strong> and <strong>the sandbox ($sandbox/app)</strong>. Access to files and folders in the working directory is controlled through Unix-style groups and permissions. <strong>Key point</strong>: never hardcode absolute file paths – all should be relative to your sandbox.</p>
<p>Please review the following file system diagram:</p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/04/bb10java.png" /></p>
<p>And visit this page :</p>
<p><a href="https://developer.blackberry.com/cascades/documentation/device_platform/filesystem/index.html" target="_new">https://developer.blackberry.com/cascades/documentation/device_platform/filesystem/index.html</a></p>
<p>For more information on the file system.</p>
<p>Secondly, let’s look at working with XML, JSON, and SQL. The following provides some code snippets for all three along with links to more information.</p>
<h3><strong>XML</strong></h3>
<p>The following is a code snippet on how to load XML using a GroupDataModel</p>
<pre>// Create the data model, specifying sorting keys of "firstName" and "lastName" 
GroupDataModel *model = new GroupDataModel(QStringList() &lt;&lt; "firstName"
                                           &lt;&lt; "lastName"); 

// Create an XmlDataAccess object and load the .xml file. The QDir::currentPath() 
// function returns the current working directory for the app. 
XmlDataAccess xda; 
QVariant list = xda.load(QDir::currentPath() + 
                         "/app/native/assets/employees.xml", 
                         "/employees/employee");</pre>
<p><i>For more on XML data, please click “Working with XML”</i></p>
<p><a href="http://developer.blackberry.com/cascades/documentation/device_platform/data_access/working_with_xml.html" target="_new">http://developer.blackberry.com/cascades/documentation/device_platform/data_access/working_with_xml.html</a></p>
<h3><strong>JSON</strong></h3>
<p>The following is a code snippet on how to create a JSON Data Access Object and load the JSON file</p>
<pre>// Create a JsonDataAccess object and load the .json file. The  
// QDir::currentPath() function returns the current working  
// directory for the app. 
JsonDataAccess jda; 
QVariant list = jda.load(QDir::currentPath() + 
                         "/app/native/assets/employees.json");</pre>
<p>For more on JSON, please click <i>“Working with JSON data”</i></p>
<p><a href="http://developer.blackberry.com/cascades/documentation/device_platform/data_access/working_with_json.html" target="_new">http://developer.blackberry.com/cascades/documentation/device_platform/data_access/working_with_json.html</a></p>
<h3><strong>SQL</strong></h3>
<p>The following is a code snippet on how to create SQL</p>
<pre> // Create an SqlDataAccess object 
    SqlDataAccess sda(home.absoluteFilePath("mySQLFile.db")); 

    // Create a table called Employee in the database file 
    sda.execute("CREATE TABLE Employee( firstName VARCHAR(50), 
                 lastName VARCHAR(50), salary INT);"); 

    // Insert employee records into the table 
    sda.execute("INSERT INTO Employee (firstName, lastName, salary) 
                 VALUES ("Mike", "Smith", 42000);"); 
    sda.execute("INSERT INTO Employee (firstName, lastName, salary) 
                 VALUES ("Joe", "Brown", 55000);");</pre>
<p>For more on SQL data, please click <i>“Working with SQL”</i></p>
<p><a href="http://developer.blackberry.com/cascades/documentation/device_platform/data_access/working_with_sql.html" target="http://developer.blackberry.com/cascades/documentation/device_platform/data_access/working_with_sql.html">http://developer.blackberry.com/cascades/documentation/device_platform/data_access/working_with_sql.html</a></p>
<p><strong>In conclusion</strong>, the data files that you work with in your apps are stored in the file system on the device. Different file system locations have different permissions; in some areas, you can create new files to store your app data, while in others, you can only load data from existing files. If you want to access your data files using the method that works best for you, you need to understand where your data files are located in the file system. Please follow this link “<a href="https://developer.blackberry.com/cascades/documentation/device_platform/filesystem/index.html" target="_new">File system access for app</a>” for more information.</p>
<p>Data files that you package with your app (when you compile the app) are located in the assets folder in the file system. Your app has read-only access to this folder, which means that you can load data from files in this location, but you can&#8217;t save new data in these files. When you create new data files dynamically while your app is running, they are stored in the data folder. Your app has full read-write access to this folder, so you can load and save data using files in this location.</p>
<p>Now on to Part 9!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14827/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14827&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/04/blackberry-java-to-blackberry-10-cascades-porting-series-part-8-storage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d0e94a7e96e80d5911732d43f31a39c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Alex K.</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/bb10java.png" medium="image" />
	</item>
		<item>
		<title>Dude, where’s my car&#8230;keys? Bluetooth LE and BlackBerry 10 How-To</title>
		<link>http://devblog.blackberry.com/2013/04/dude-wheres-my-car-keys-bluetooth-le-and-blackberry-10-how-to/</link>
		<comments>http://devblog.blackberry.com/2013/04/dude-wheres-my-car-keys-bluetooth-le-and-blackberry-10-how-to/#comments</comments>
		<pubDate>Mon, 22 Apr 2013 16:44:36 +0000</pubDate>
		<dc:creator>jcmrim</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[Bluetooth Low Energy]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14728</guid>
		<description><![CDATA[You know, I (@jcmrim) am the world’s-worst for misplacing things: car keys, house keys, and particularly spectacles, the list is endless. You name it and I can lose it. Martin (@mdwrim) isn&#8217;t much better either! So, we thought we’d try a little bit of BlackBerry 10 Bluetooth Low Energy (LE) magic to help us. This  follows on [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14728&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>You know, I (<b><a href="https://twitter.com/jcmrim">@jcmrim</a></b>) am the world’s-worst for misplacing things: car keys, house keys, and particularly spectacles, the list is endless. You name it and I can lose it. Martin <a href="https://twitter.com/mdwrim">(<b>@mdwrim</b></a>) isn&#8217;t much better either!</p>
<p>So, we thought we’d try a little bit of BlackBerry 10 Bluetooth Low Energy (LE) magic to help us. This  follows on nicely from my previous Blog post on the <a href="http://devblog.blackberry.com/2013/04/bluetooth-low-energy-and-the-internet-of-things/">Internet of Things</a> and the model is more widely applicable than just finding lost keys. In fact, if you haven’t already done so, this is probably a good time to have a read of that blog post and article since it covers the basic concepts needed in this blog post.</p>
<p>Go on &#8230; I’ll wait and have a cup of tea.</p>
<p><span id="more-14728"></span></p>
<p>Ah, ok, you’re back &#8230; right, let’s continue.</p>
<p>The first thing we did was to do a little bit of research to see if the Bluetooth SIG had set any standards in this area; no point in re-inventing the wheel and the existence of a standard would mean that a vendor may have already implemented the technology in a product.</p>
<p>Whenever you have a requirement that may be solvable using Bluetooth LE the first place to look is here: <a href="http://developer.bluetooth.org/gatt/Pages/default.aspx">http://developer.bluetooth.org/gatt/Pages/default.aspx</a>.</p>
<p>Browsing through the GATT Profiles we came upon this one: <a href="http://developer.bluetooth.org/gatt/profiles/Pages/ProfileViewer.aspx?u=org.bluetooth.profile.find_me.xml">Find Me</a> &#8230; this sounded promising!</p>
<p>To quote the Abstract for the Find Me profile, “The Find Me profile defines the behavior when a button is pressed on one device to cause an alerting signal on a peer device”. An image formed in our minds immediately!</p>
<p><a href="http://rimdevblog.files.wordpress.com/2013/04/dude.png"><img class="aligncenter size-full wp-image-14729" alt="dude" src="http://rimdevblog.files.wordpress.com/2013/04/dude-e1366638135570.png?w=600&#038;h=89" width="600" height="89" /></a></p>
<p>A closer look shows that this profile implemented a GATT Service called <a href="http://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.bluetooth.service.immediate_alert.xml">Immediate Alert</a> which used a GATT Characteristic called <a href="http://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.alert_level.xml">Alert Level</a> &#8230; this looked a perfect match.</p>
<p>Here’s the description of the Alert Level Characteristic.</p>
<div id="attachment_14730" class="wp-caption aligncenter" style="width: 610px"><a href="http://rimdevblog.files.wordpress.com/2013/04/dude2.png"><img class="size-full wp-image-14730" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/04/dude2-e1366638249812.png?w=600&#038;h=141" width="600" height="141" /></a><p class="wp-caption-text">Alert Level Characteristic</p></div>
<p>It’s an 8-bit unsigned integer that can take on three values signifying:</p>
<ul>
<li>No Alert</li>
<li>Mild Alert</li>
<li>High Alert</li>
</ul>
<p>The interpretation of these Alert Levels is the responsibility of the device that implements this characteristic.</p>
<p>Having found the Bluetooth LE Profile that matched our requirements the next step was to find a simple device that implemented it.</p>
<p>We found this one (see Figure 2) from Texas Instruments<a title="" href="/Users/akinsella/AppData/Local/Microsoft/Windows/Temporary%20Internet%20Files/Content.Outlook/X7OSEEYU/Bluetooth%20Low%20Energy%20and%20the%20Lost%20Keys%20V0_7.doc#_ftn1">[1]</a>.  As well as supporting the Find Me profile it also allows re-programming with other Bluetooth services.</p>
<div id="attachment_14731" class="wp-caption aligncenter" style="width: 407px"><a href="http://rimdevblog.files.wordpress.com/2013/04/dude3.png"><img class="size-full wp-image-14731" alt="dude3" src="http://rimdevblog.files.wordpress.com/2013/04/dude3.png?w=397&#038;h=352" width="397" height="352" /></a><p class="wp-caption-text">Texas Instruments CC2540/41 Mini Development Kit</p></div>
<p>Out of interest, I used one of the tools ( <b>BTool</b> ) that came with the key-fob to examine the GATT services that this device supported. Here’s a screen shot:</p>
<div id="attachment_14733" class="wp-caption aligncenter" style="width: 610px"><a href="http://rimdevblog.files.wordpress.com/2013/04/dude4.png"><img class="size-full wp-image-14733" alt="dude4" src="http://rimdevblog.files.wordpress.com/2013/04/dude4-e1366638431681.png?w=600&#038;h=566" width="600" height="566" /></a><p class="wp-caption-text">GATT Services present on the key-fob</p></div>
<p>So, you can see the highlighted red box clearly shows the Immediate Alert Service which has UUID <b>0&#215;1802</b> (integers are represented in little-endian order so <b>0&#215;1802</b> is represented as <b>02:18</b>) and the Alert Level Characteristic which has UUID <b>0x2A06</b>. Notice that the value field of the Alert Level characteristic has been assigned a handle of <b>0&#215;0028</b> – handles are discovered by and used by applications to access fields in the GATT Service list and they’ve been covered in a previous blog post and article.</p>
<p>The application that we developed based on this is actually very similar in structure to the Heart Rate Monitor application that was described in a previous blog and article. The basic logic is the same:</p>
<ol start="1">
<li>Pair the Bluetooth LE device with the BlackBerry 10 handset before using the application.</li>
<li>Launch the application which:
<ol start="1">
<li>Discovers devices that support the Immediate Alert Service</li>
<li>Connects to a discovered device selected by the user</li>
<li>Offers the user the choice of Alert Levels ( Off, Mild and High) to be sent to the device</li>
</ol>
</li>
</ol>
<p>Here are some screenshots showing what the application looks like:</p>
<div id="attachment_14735" class="wp-caption aligncenter" style="width: 610px"><a href="http://rimdevblog.files.wordpress.com/2013/04/dude5.png"><img class="size-full wp-image-14735" alt="dude5" src="http://rimdevblog.files.wordpress.com/2013/04/dude5-e1366638529222.png?w=600&#038;h=248" width="600" height="248" /></a><p class="wp-caption-text">Screens from the application</p></div>
<p>You can see that the buttons at the top of the screen become enabled only once the application has connected to the Immediate Alert Service on the key-fob. If you select the “High” option this device will emit a loud buzzing sound and flash a green LED.</p>
<div id="attachment_14736" class="wp-caption aligncenter" style="width: 560px"><a href="http://rimdevblog.files.wordpress.com/2013/04/dude6.jpg"><img class="size-full wp-image-14736" alt="Application Sending an Alert to key-fob" src="http://rimdevblog.files.wordpress.com/2013/04/dude6-e1366638632352.jpg?w=550&#038;h=550" width="550" height="550" /></a><p class="wp-caption-text">Application Sending an Alert to key-fob</p></div>
<p>This is the application in action. If you use your imagination you can hear the buzzing and I can find my keys!</p>
<p>The key part of the application is where the Alert Level is sent to the device. Here’s the section of code that does this:</p>
<pre><b>void</b> <b>FindMeService::sendAlertRequest</b>() {

       uint8_t level[] = {0};

      <b>switch</b> (_alertLevel) {
            <b>case</b> FindMeService::<i>Off</i>:
                  level[0] = 0;
                  <b>break</b>;
            <b>case</b> FindMeService::<i>Mild</i>:
                  level[0] = 1;
                  <b>break</b>;
            <b>case</b> FindMeService::<i>High</i>:
                  level[0] = 2;
                  <b>break</b>;
            <b>default</b>:
                  level[0] = 0;
                  <b>break</b>;
      }

      errno = 0;

      <b>if</b> (bt_gatt_write_value_noresp(
                    _serviceInstance,
                    _alertLevelValueHandle, 0, 
                    level,
                    <b>sizeof</b>(level)
          ) != EOK) {

             <b>qDebug</b>() &lt;&lt; "errno=(" &lt;&lt; errno &lt;&lt; ") :" &lt;&lt; <b>strerror</b>(errno);
      }
}</pre>
<p>You can see that we’ve already connected to the Immediate Alert Service and have a reference to this in the variable _serviceInstance; we also have a handle to the Alert Level characteristic value _alertLevelValueHandle. The API used is bt_gatt_write_value_noresp()which means that the Alert Level (level) is written to the device and no acknowledgement is expected in return.</p>
<p>Wait, I hear you say! How did you know that you had to use a Write without Response to write the Alert Level value to the device? Well, it’s part of the definition of the Immediate Alert Service. Here (Figure 6) is the definition of the Alert Level characteristic from the definition of the <a href="http://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.bluetooth.service.immediate_alert.xml">Immediate Alert</a> Service. It says that this characteristic can be accessed only though the Write without Response request.</p>
<div id="attachment_14739" class="wp-caption aligncenter" style="width: 610px"><a href="http://rimdevblog.files.wordpress.com/2013/04/dude7.png"><img class="size-full wp-image-14739" alt="dude7" src="http://rimdevblog.files.wordpress.com/2013/04/dude7-e1366638797719.png?w=600&#038;h=182" width="600" height="182" /></a><p class="wp-caption-text">Immediate Alert Service Alert Level Characteristic Properties</p></div>
<p>And, just to confirm that the device understands and enforces this as well, Figure 7 shows this value in the GATT‘s entry for the Alert Level characteristic – the value <b>0&#215;04</b> in the green box is the encoding of this property.</p>
<div id="attachment_14740" class="wp-caption aligncenter" style="width: 610px"><a href="http://rimdevblog.files.wordpress.com/2013/04/dude8.png"><img class="size-full wp-image-14740" alt="Characteristic Properties of the Alert Level" src="http://rimdevblog.files.wordpress.com/2013/04/dude8-e1366638855672.png?w=600&#038;h=180" width="600" height="180" /></a><p class="wp-caption-text">Characteristic Properties of the Alert Level</p></div>
<p>We made a video which has Martin (@mdwrim) showing the application in action and explaining the code. Here it is:</p>
<p><a href="http://youtu.be/UXEt5tfUEdc">http://youtu.be/UXEt5tfUEdc</a></p>
<p>If you want to know more then check out the following resources:</p>
<ul>
<li>The complete source code for this application on Git Hub;
<ul>
<li><a href="https://github.com/blackberry/Cascades-Community-Samples">https://github.com/blackberry/Cascades-Community-Samples</a></li>
</ul>
</li>
<li>A Bluetooth Primer level Blog Post is available here to get you started:
<ul>
<li><a href="http://devblog.blackberry.com/2013/04/bluetooth-low-energy-and-the-internet-of-things/">http://devblog.blackberry.com/2013/04/bluetooth-low-energy-and-the-internet-of-things/</a></li>
</ul>
</li>
</ul>
<p>I hope you’ve enjoyed this short note and hope it has piqued your interest to find out more about Bluetooth Low Energy and how it can be integrated into your BlackBerry 10 applications.</p>
<div>
<hr align="left" size="1" width="33%" />
<div>
<p>[1] This should not be regarded as an endorsement by BlackBerry, explicit or implied.</p>
</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14728/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14728/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14728&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/04/dude-wheres-my-car-keys-bluetooth-le-and-blackberry-10-how-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/87d5f773c912570622fcb0a907a5636b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jcmurray2012</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/dude-e1366638135570.png" medium="image">
			<media:title type="html">dude</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/dude2-e1366638249812.png" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>

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

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/dude4-e1366638431681.png" medium="image">
			<media:title type="html">dude4</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/dude5-e1366638529222.png" medium="image">
			<media:title type="html">dude5</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/dude6-e1366638632352.jpg" medium="image">
			<media:title type="html">Application Sending an Alert to key-fob</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/dude7-e1366638797719.png" medium="image">
			<media:title type="html">dude7</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/dude8-e1366638855672.png" medium="image">
			<media:title type="html">Characteristic Properties of the Alert Level</media:title>
		</media:content>
	</item>
		<item>
		<title>Vibration and Barcode Extension details, by UCOSP student developer</title>
		<link>http://devblog.blackberry.com/2013/04/vibration-and-barcode-extension/</link>
		<comments>http://devblog.blackberry.com/2013/04/vibration-and-barcode-extension/#comments</comments>
		<pubDate>Thu, 18 Apr 2013 12:00:40 +0000</pubDate>
		<dc:creator>Tim W.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[#bbucosp]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[UCOSP]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14627</guid>
		<description><![CDATA[Continuing the last UCOSP posting, where we talked about the release of the Barcode Scanning Extension for BlackBerry 10 WebWorks, we have some thoughts from another student regarding development of BlackBerry 10 WebWorks Extensions. Developing extensions in C++ that can be called from JavaScript involves some challenges, so if you’ve been thinking about diving in, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14627&#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/04/ucosp-3.png?w=500" /></p>
<p>Continuing the last <a href="http://devblog.blackberry.com/2013/04/blackberry-10-webworks-barcode-scanner-by-ucosp-students/" target="_new">UCOSP posting</a>, where we talked about the release of the <a href="https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10/BarcodeScanner" target="_new">Barcode Scanning Extension</a> for BlackBerry 10 WebWorks, we have some thoughts from another student regarding development of BlackBerry 10 WebWorks Extensions. Developing extensions in C++ that can be called from JavaScript involves some challenges, so if you’ve been thinking about diving in, these hints will be quite useful. Here’s what <a href="https://github.com/greentea0" target="_new">Alex</a> has to say about his experience this term:</p>
<p><span id="more-14627"></span></p>
<p>“I had the fortune of joining a number of great software development students as we embarked onto BlackBerry’s new platform, BlackBerry 10. During this term, we explored bbUI.js, BlackBerry Webworks, and the Native Development Kit. I had worked specifically on creating new Webworks community plugins. Two plugins that I had worked on were a <a href="https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10/VIBRATION" target="_new">vibration</a> feature to allow for additional parameters accessible only through the native development kit and a <a href="https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10/BarcodeScanner" target="_new">barcode reading feature</a> with Michael Delong and Tim Windsor. In the end, I had done a great deal of research and developed various approaches to tackle the barcode reading feature.</p>
<p>The vibration community plugin was an effective introduction into developing between Javascript and C++. The feature was originally recommended to be completed when another colleague had required additional granularity in the vibration settings. While I had looked into this issue and was able to flesh it out, we found the APIs themselves were somewhat limiting with how the colleague had envisioned the outcome. Overall this situation was a positive experience in understanding the BlackBerry 10 Webworks architecture and the BlackBerry Platform Services.When developing this plugin I ran into a number of issues due to my own lack of patience which lead to some rather confusing errors.</p>
<ul>
<li>JNext does method invocation through string matching</li>
</ul>
<p>Somehow through development I was using a certain keyword for indicating my command I wanted to invoke from Javascript. On the C++ side, I seemed to have switched around the naming and thus was expecting to read an event from a keyword that did not exist. Since these constants are being used in two different languages and there is not much common ground between this two language process, nothing was telling me that I was passing in the wrong keyword. Copy and paste can be your friend.</p>
<ul>
<li>Vibration falls under the BlackBerry Platform Services</li>
</ul>
<p>While creating the vibration code, I was confused why it was not working at all. I had the keywords matching in both Javascript and C++ and it had all compiled from what I could see. Since vibration falls underneath the BPS family, you need to initialize the BPS before it can be used.</p>
<p>bps_initialize();</p>
<p>After completing this feature, I went on to work with Mike on the barcode scanning feature. Barcode scanning is a relatively interesting concept as it would combine a fairly wide knowledge base of media with my current understanding of Javascript and C++. When working with this feature, initially we tried to piece together what we could from other examples in cascades and the NDK github samples. Requiring a rather large knowledge base was something we had not expected from a feature like barcode scanning. Having to take advantage of input from the camera on the C++ layer introduced us to a number of concepts such as image formats and subsampling. In addition to worrying about these fundamental multimedia concepts we were trying to understand how to take a raw frame from the camera and extract a barcode with the ZXing library. While another of methods were taken in attempting to complete this feature I had participated in two approaches of development to get barcode reading to where it is now on WebWorks.</p>
<ol>
<ol>
<li>Displaying the images from a base64 representation from C++ to Javascript layer</li>
</ol>
</ol>
<p>&nbsp;</p>
<ul>
<li>Attempted to use card invocation to support video feedback for barcode scanning</li>
</ul>
<p>&nbsp;</p>
<p>Prior to this project, I knew of base64 encoding but I had not ever used it in my own development. The ability to encode the bytes of the image in a string was an interesting idea to take advantage of the JNext bridge to carry the image from the native layer to the web layer. Unfortunately during the actual process, the encoding and decoding process can take a fairly long time and actual rendering on the canvas was not fast enough to capture a snappy mobile experience. it was an interesting usage of base64 but this was not quite the answer for the barcode scanner in its current state.</p>
<p>The second attempt that I had looked into was utilizing card invocation to skip the barcode reading altogether and take advantage of a cascades application to do the barcode reading for us. Card invocation is a great idea that can also be seen on other platforms such as Android. Specific functionality that another application may be able to accomplish very well, can be used as a “card”. These cards are invoked from an application which will run that portion of another application. When the card action is complete, that application is closed and the user is returned to the original invoking application. The advantage to this option was visual feedback the user would feel as if it had been built into the Webworks framework and created a fluid native feel to this highly user requested feature, as I was switching into a cascades barcode scanning application. Unfortunately with the card invocation, an application which did the barcode reading would have to exist on the device prior to launching this Webworks application. In addition to this pitfall, Webworks in its current state allows for the ability to query potential cards to handle jobs and the ability to invocate these actions, but was unable to return values. This is an issue if the developer wants to capture a QR code and use this value in their own application. I however did not look into copying the barcode into the clipboard or providing the option to do this however this extra step could be potentially approached by other developers that are fine with running a utility application and a Webworks application.</p>
<p>Overall the experience on BlackBerry 10 with the Webworks framework has been an enjoyable opportunity into the world of mobile web applications. With the ability to utilize open source community driven libraries, BlackBerry has helped build an environment to utilize rich web applications with the raw power of the BlackBerry 10 platform. I look forward to seeing what new applications and innovations can arise from this new way of hybrid mobile/native development.”</p>
<p>You can check out the growing list of BlackBerry 10 WebWorks extensions on our <a href="https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10/BarcodeScanner" target="_new">Github repository</a>. The university term is wrapping up now, so our next UCOSP update will have the final thoughts from our last two students and an overview of what the students were able to do this term. If you’re interested in doing some open source coding yourself, I’m putting together some projects for the summer. Contact me through <a href="mailto:twindsor@blackberry.com" target="_new">email</a> or <a href="https://twitter.com/timothywindsor" target="_new">twitter</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14627/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14627/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14627&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/04/vibration-and-barcode-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4af90af66399bef37f445ec81aba64a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">timwin1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/ucosp-3.png?w=500" medium="image" />
	</item>
		<item>
		<title>Port-A-Thon Rewards Update</title>
		<link>http://devblog.blackberry.com/2013/04/port-a-thon-rewards-update/</link>
		<comments>http://devblog.blackberry.com/2013/04/port-a-thon-rewards-update/#comments</comments>
		<pubDate>Wed, 17 Apr 2013 11:30:56 +0000</pubDate>
		<dc:creator>jesseariss</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[BlackBerry 10 apps]]></category>
		<category><![CDATA[Port-A-Thon]]></category>
		<category><![CDATA[Portathon]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14652</guid>
		<description><![CDATA[Lou Gazzola held the first Port-A-Thon in November of last year. It was a 36 hour event where we asked, “Got Game?” and you answered &#8211; with apps. Since that successful event, we’ve held four more Port-A-Thons, each producing larger than life results. Because of your incredible dedication and contributions, we’ve added thousands of applications [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14652&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Lou Gazzola held the first Port-A-Thon in November of last year. It was a 36 hour event where we asked, “Got Game?” and you answered &#8211; with apps. Since that successful event, we’ve held four more Port-A-Thons, each producing larger than life results. Because of your incredible dedication and contributions, we’ve added thousands of applications to the BlackBerry World catalogue.</p>
<h3><strong>The Port-A-Thons are now closed and it’s time for you to be rewarded.</strong></h3>
<p>Some of the Port-A-Thon rewards required draws. We needed to wait until the app approval deadline (April 9, 2013) to draw the names of the winners.</p>
<p>We are pleased to announce that the draws have taken place for trips to BlackBerry Live 2013 and BlackBerry Dev Alpha B devices.</p>
<p><span id="more-14652"></span></p>
<p>Notifications are being sent out this week to the developers that have won and all winners will be contacted via email by the end of next week. Please check your spam folder for any messages from <a href="mailto:blackberrydeveloperprogram@blackberry.com" target="_new">blackberrydeveloperprogram@blackberry.com</a> that might have snuck in.</p>
<p>Again, thank you for your incredible dedication and support. More importantly thank you for your patience. We were humbled by the turnout at these events and worked as quickly as possible to work through the unexpectedly large number of applications that were submitted.</p>
<p>If you have any more questions please contact us at <a href="mailto:blackberrydeveloperprogram@blackberry.com" target="_new">blackberrydeveloperprogram@blackberry.com</a>. Let us know in the comments what you thought about the Port-A-Thons and if you think we should do them again.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14652/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14652/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14652&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/04/port-a-thon-rewards-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/80c19748589d76bbaeb5b9b6a2c42549?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jesseariss</media:title>
		</media:content>
	</item>
		<item>
		<title>Taking the BlackBerry 10 device simulator to the next level</title>
		<link>http://devblog.blackberry.com/2013/04/blackberry-10-device-simulator/</link>
		<comments>http://devblog.blackberry.com/2013/04/blackberry-10-device-simulator/#comments</comments>
		<pubDate>Wed, 17 Apr 2013 09:36:13 +0000</pubDate>
		<dc:creator>Matt W</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Platform Services]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[simulator]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14655</guid>
		<description><![CDATA[BlackBerry developers that rely on a simulator for app development, listen up, because you need to read this! The latest simulator release for BlackBerry 10 brings a heap of new improvements, features and core apps, taking development one step closer to using a physical device. In the latest BlackBerry 10.1 simulator release we now offer [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14655&#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/04/bixccat.png?w=250" /></p>
<p>BlackBerry developers that rely on a simulator for app development, listen up, because you need to read this! The latest simulator release for BlackBerry 10 brings a heap of new improvements, features and core apps, taking development one step closer to using a physical device.</p>
<p>In the latest BlackBerry 10.1 simulator release we now offer the ability to select which form factor you want to launch the simulator with. In this release, we support the layout for both the Z10 and Q10 devices. No more need to download multiple simulators! You’ll see these boot options listed as follows:</p>
<ol>
<li>BlackBerry 10 All-Touch [1280x768]</li>
<li>BlackBerry 10 Keyboard [720x720]</li>
</ol>
<p>Once the boot option is selected, you’ll notice some handy tool tip information during the simulator boot up screen. These tips will highlight new features as well as suggestions for maximizing simulator performance. Additionally, the simulator adds support for multi-touch input where developers can simulate up to 10 individual touch paths. For example, you can simulate using a two finger pinch and zoom. For more details, check out the <a href="http://developer.blackberry.com/devzone/develop/simulator/simulator_gestures.html" target="_new">documentation</a> for simulator gestures.</p>
<p><span id="more-14655"></span></p>
<p>The simulator controller joins the new feature party with added support for automatic simulator connection, incoming and outgoing phone call simulation, and mouse mode selection for controlling touch events. If your application supports incoming phone calls, you can test this by sending a call from the simulator controller. The incoming number will be detected by your application. For all the details on what is available in the simulator controller, check out the <a href="http://developer.blackberry.com/devzone/develop/simulator/simulator_testing_and_changing_conditions.html" target="_new">documentation</a>.</p>
<p>Now let’s talk about what applications come with the simulator out of box. Previously, we supported a basic set of core applications including:</p>
<ul>
<li>BlackBerry Hub</li>
<li>Contacts</li>
<li>Calendar</li>
<li>Browser</li>
<li>BBM</li>
<li>BlackBerry World</li>
<li>Phone</li>
<li>Settings</li>
</ul>
<p>Today, we have added a whole bunch more; including support for social connect accounts such as Facebook, Twitter, Evernote and LinkedIn. These new apps include, but are not limited to:</p>
<ul>
<li>Calculator</li>
<li>Facebook</li>
<li>File Manager</li>
<li>Games</li>
<li>Help</li>
<li>Maps</li>
<li>Pictures</li>
<li>Remember</li>
<li>Smart Tags</li>
<li>YouTube</li>
<li>Weather</li>
</ul>
<p>So, what are you waiting for? Grab the latest simulator <a href="http://developer.blackberry.com/devzone/develop/simulator/simulator_installing.html" target="_new">download</a> and get started using all these great new features today! For additional information, please see the <a href="http://developer.blackberry.com/devzone/develop/simulator/blackberry_10_1_release_notes.html" target="_new">release notes</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14655/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14655/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14655&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/04/blackberry-10-device-simulator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/24f0db511856433f3357906c9dfd7476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mwhiteman</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/bixccat.png?w=250" medium="image" />
	</item>
		<item>
		<title>BlackBerry 10 WebWorks Barcode Scanner by UCOSP Students</title>
		<link>http://devblog.blackberry.com/2013/04/blackberry-10-webworks-barcode-scanner-by-ucosp-students/</link>
		<comments>http://devblog.blackberry.com/2013/04/blackberry-10-webworks-barcode-scanner-by-ucosp-students/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 18:26:55 +0000</pubDate>
		<dc:creator>Tim W.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[#bbucosp]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[UCOSP]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14615</guid>
		<description><![CDATA[Perhaps the largest single contribution from UCOSP students was recently pushed to our WebWorks-Community-APIs repository: A Barcode Scanning extension for BlackBerry 10 WebWorks. Two students started working on this during the initial hackathon at Facebook. Before I talk any more about it, let’s hear from Mike, who did the first coding and bulk of the [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14615&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:center;"><img src="http://rimdevblog.files.wordpress.com/2013/04/ucosp-barcode-scanner-1.jpg?w=250" /> <img src="http://rimdevblog.files.wordpress.com/2013/04/ucosp-2.png?w=250" /></p>
<p>Perhaps the largest single contribution from <a href="http://ucosp.ca/" target="_new">UCOSP</a> students was recently pushed to our WebWorks-Community-APIs repository: A <a href="https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10/BarcodeScanner" target="_new">Barcode Scanning extension</a> for BlackBerry 10 WebWorks. Two students started working on this during the initial <a href="http://devblog.blackberry.com/2013/02/ucosp-kickoff/" target="_new">hackathon</a> at Facebook. Before I talk any more about it, let’s hear from <a href="https://github.com/mdelong" target="_new">Mike</a>, who did the first coding and bulk of the C++ investigation:</p>
<p>&#8220;My semester working with Blackberry under the umbrella of <a href="http://ucosp.ca/" target="_new">UCOSP</a> has been a very rewarding and enjoyable experience. Not only have I learned a great deal and gained invaluable new skills and experience, but I have also built on my previous experiences with GitHub, C++, and mobile Blackberry WebWorks development. From the semester-opening code sprint at Facebook HQ, to finishing a native WebWorks extension, to developing and testing a Blackberry 10 mobile app, working on this project has been an enlightening and rewarding journey.</P></p>
<p>I have spent the bulk of these past four months contributing to the Barcode Reader native C++ extension for WebWorks with my colleague Alex Kwan and mentor Tim Windsor from Blackberry. The idea of creating native C++ libraries that can be invoked from a Javascript layer was intriguing to me right from the beginning, and I wasn&#8217;t disappointed in choosing this option. My contribution was mainly for the C++ portion of the extension, which involved writing code to access the BB10 native camera APIs and attempting to detect barcodes from the camera frames using the <a href="http://code.google.com/p/zxing/" target="_new">ZXing image processing library</a>. Development of the extension initially proceeded quite smoothly. The native APIs for accessing the camera and processing frames from the viewfinder were simple enough and sufficiently documented, and the Zxing library was fairly straightforward to use. Within a month the basic functionality of the Barcode reader was implemented, and our extension was capable of scanning barcodes.</p>
<p>The majority of the challenges involved with this project resulted from attempting to pass the image frames captured by the camera viewfinder back to the WebWorks layer. My colleagues and I experimented with several options; although many initial solutions we tried ended up being infeasible due to various performance-related issues, we finally managed to come up with a solution that works well and the extension is now ready for release.</P></p>
<p>In addition to working on this exciting new extension, I&#8217;ve also had the good fortune of building on my<br />
previous experience with mobile development and creating a new WebWorks app for Blackberry 10. For the remaining week of this term, I&#8217;m looking forward to completing and refining my application. The WebWorks SDK is straightforward to use and it’s easy for novice mobile developers to get started with it, and <a href="https://github.com/blackberry/BB10-WebWorks-Community-Samples/tree/master/Ant-Build-Script" target="_new">Tim’s Ant build script</a> greatly simplifies the process of building and deploying apps to your BB10 mobile device.</p>
<p>Overall, working with both native extensions and the WebWorks SDK was a great learning<br />
experience, and I would highly recommend developers to contribute extensions for providing any functionality they feel is currently lacking in the Blackberry WebWorks SDK.&#8221;</p>
<p>Once Mike had the initial C++ code working, another student worked on wiring in Javascript connections so that it could be called from an extension (I’ve saved that students thoughts for the next blog post in the series). Finally, I took the code at the end to finish integrating it together with some tweaks and testing on different devices. As Mike stated, the hardest challenge was with showing the user what they were aiming at. As the JNEXT interface between C++ and Javascript can only handle string data, we were unable to have the viewfinder paint video or even images directly. The solution in the end was to capture burst images from the camera, save them to the filesystem, and pass the file path to the Javascript layer. The resulting image stream isn’t as smooth as direct painting, but the actual scanning and interpretation of barcodes is unaffected, so users have the ability to aim, and the scanning is as fast as any pure native solution.</p>
<p>This is an outstanding example of what these Canadian university students are capable of, and it’s awesome to be able to work with them. If you’ve been looking for a Barcode Scanner API for your BlackBerry 10 WebWorks app, check it out on <a href="https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10/BarcodeScanner" target="_new">Github</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14615/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14615&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/04/blackberry-10-webworks-barcode-scanner-by-ucosp-students/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4af90af66399bef37f445ec81aba64a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">timwin1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/ucosp-barcode-scanner-1.jpg?w=250" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/ucosp-2.png?w=250" medium="image" />
	</item>
		<item>
		<title>BlackBerry Jam Unplugged: Momentics Tooling</title>
		<link>http://devblog.blackberry.com/2013/04/blackberry-jam-unplugged-momentics-tooling/</link>
		<comments>http://devblog.blackberry.com/2013/04/blackberry-jam-unplugged-momentics-tooling/#comments</comments>
		<pubDate>Tue, 09 Apr 2013 15:29:15 +0000</pubDate>
		<dc:creator>Tim N.</dc:creator>
				<category><![CDATA[BlackBerry Jam]]></category>
		<category><![CDATA[Interviews/Thought Leadership]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[BlackBerry 10 development]]></category>
		<category><![CDATA[momentics]]></category>
		<category><![CDATA[native sdk]]></category>
		<category><![CDATA[ndk]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14568</guid>
		<description><![CDATA[Last year we started sharing roadmaps for our tools and APIs with our community, and now we’re looking to give that information a bit more color. Sure, there’s a little bit of information on the roadmaps talking about what the features will entail, but we don’t usually get the chance to explain them in more [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14568&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://rimdevblog.files.wordpress.com/2013/04/bbjamunplugged.png"><img class="aligncenter size-full wp-image-14571" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/04/bbjamunplugged-e1365516943345.png?w=500&#038;h=276" width="500" height="276" /></a></p>
<p>Last year we started sharing roadmaps for our tools and APIs with our community, and now we’re looking to give that information a bit more color. Sure, there’s a little bit of information on the roadmaps talking about what the features will entail, but we don’t usually get the chance to explain them in more detail.</p>
<p>Of course, we could create long blog articles to try and cover the “ins” and “outs” of the functionality, but that can be a little bit tedious. So we figured we could do something a little different and frankly just a little bit weird. We decided to give you some background on the features as part of a video blog series. Now you may ask, what’s weird about that… well, you’ll have to watch the videos to find out.</p>
<p>We’ll be running this video series leading up to <a href="http://www.blackberryjamconference.com/americas" target="_blank">BlackBerry Jam Americas</a> in Orlando to give some more background of some of the topics that we’ll be discussing at length during the conference.</p>
<p>This first video will give you some information surrounding the different roadmap items that we’re looking at for improvements in our <a href="developer.blackberry.com/native" target="_blank">Momentics</a> tooling.</p>
<p>I hope you enjoy the series and find the information both useful and entertaining!</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/DaNMahVrbTc?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/14568/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14568/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14568&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/04/blackberry-jam-unplugged-momentics-tooling/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/04/bbjamunplugged-e1365516943345.png" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>BlackBerry Java to BlackBerry 10 Cascades Porting Series – Part 7: PIM</title>
		<link>http://devblog.blackberry.com/2013/04/blackberry-java-to-blackberry-10-cascades-porting-series-part-7-pim/</link>
		<comments>http://devblog.blackberry.com/2013/04/blackberry-java-to-blackberry-10-cascades-porting-series-part-7-pim/#comments</comments>
		<pubDate>Thu, 04 Apr 2013 15:28:35 +0000</pubDate>
		<dc:creator>Paul Bernhardt</dc:creator>
				<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[BlackBerry Java]]></category>
		<category><![CDATA[Personal Information Management]]></category>
		<category><![CDATA[PIM]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14502</guid>
		<description><![CDATA[The PIM APIs in BlackBerry 10 are very similar to BlackBerry 7, as you still have the CRUD (create, read, update, delete) actions for Contacts, Calendar, and Messages. There is also the equivalent of “listeners” available using the Qt Signals and Slots method. This will let your app be notified of changes in the PIM [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14502&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The <a href="https://developer.blackberry.com/cascades/documentation/device_platform/pim/index.html" target="_new">PIM APIs</a> in BlackBerry 10 are very similar to BlackBerry 7, as you still have the <strong>CRUD</strong> (create, read, update, delete) actions for <a href="https://developer.blackberry.com/cascades/documentation/device_platform/pim/contacts.html" target="_new">Contacts</a>, <a href="https://developer.blackberry.com/cascades/documentation/device_platform/pim/calendar.html" target="_new">Calendar</a>, and <a href="https://developer.blackberry.com/cascades/documentation/device_platform/pim/messages.html" target="_new">Messages</a>. There is also the equivalent of “listeners” available using the Qt <a href="https://developer.blackberry.com/cascades/documentation/dev/signals_slots/index.html" target="_new">Signals and Slots</a> method. This will let your app be notified of changes in the PIM databases, although your app needs to be running to receive them.</p>
<p>BlackBerry Hub integration currently consists of the <a href="https://developer.blackberry.com/cascades/documentation/device_comm/notifications/index.html" target="_new">Notification API</a>, which lets you add a notification to the Hub with a custom title, body, sound, and <a href="https://developer.blackberry.com/cascades/documentation/device_platform/invocation/index.html" target="_new">invoke target</a>. The ability to customize the icon will be available in a future OS update.</p>
<p>The concept of Application Menu Items has been broadly replaced by the Invocation framework, specifically the “Share” menu. You cannot add arbitrary menu items to the built in applications, but you can set your application up to handle Share (and other actions). This will make them available from those apps.</p>
<p>Rather than building your own UI to let the user pick or enter PIM data, you may want to use the <a href="https://developer.blackberry.com/cascades/documentation/device_platform/invocation/invoking_core_apps.html" target="_new">Cards</a> and <a href="https://developer.blackberry.com/cascades/reference/bb__cascades__pickers__contactpicker.html" target="_new">Pickers</a> when available.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14502/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14502&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/04/blackberry-java-to-blackberry-10-cascades-porting-series-part-7-pim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a3bf8c930434e9f401be449eb7ea556?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">paulbe1</media:title>
		</media:content>
	</item>
		<item>
		<title>UCOSP Undergraduate Capstone Open Source Projects 2013 Midterm Update</title>
		<link>http://devblog.blackberry.com/2013/04/ucosp-undergraduate-capstone-open-source-projects-2013-midterm-update/</link>
		<comments>http://devblog.blackberry.com/2013/04/ucosp-undergraduate-capstone-open-source-projects-2013-midterm-update/#comments</comments>
		<pubDate>Mon, 01 Apr 2013 13:09:04 +0000</pubDate>
		<dc:creator>Tim W.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[#bbucosp]]></category>
		<category><![CDATA[bbui.js]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[hackathon]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[UCOSP]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14434</guid>
		<description><![CDATA[Our open source projects with university students from across Canada have been going superbly this term with many excellent contributions to the BlackBerry Open Source community. This is our second post this term, the first one being about the kickoff sprint at Facebook headquarters. First let’s hear what Amritpal has to say about what he’s [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14434&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://rimdevblog.files.wordpress.com/2013/04/uscop1.png"><img class="aligncenter size-full wp-image-14435" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/04/uscop1.png?w=435&#038;h=352" width="435" height="352" /></a></p>
<p>Our open source projects with university students from across Canada have been going superbly this term with many excellent contributions to the BlackBerry Open Source community. This is our second post this term, the first one being about the <a href="http://devblog.blackberry.com/2013/02/ucosp-kickoff/">kickoff sprint</a> at Facebook headquarters. First let’s hear what <a href="https://github.com/1ap1">Amritpal</a> has to say about what he’s been up to.</p>
<p><span id="more-14434"></span></p>
<blockquote><p>“Being a part of the Blackberry team through <a href="http://ucosp.ca/">UCOSP</a> has been a world of firsts: contributing to an open source project, <a href="https://github.com/blackberry/bbUI.js">bbUI.js</a>, and developing my own mobile application.</p>
<p>In the first month of UCOSP, I was contributing to bbUI.js with bug fixes and features. About three weeks ago, I learned that BlackBerry extended their limited edition device upgrade. From that point, the race was on to create fully functional and entertaining application (who needs productivity!). I chose to create a 2D game in HTML5. Having not created a mobile application before, the entire process was a learning experience that encompassed the canvas element to using bbui.js in real life applications.</p>
<p>During the process, my go to resource was the BB10 Sample apps repository. With a variety of applications that make use of a diverse set of BB10 elements, it provided helpful launch pad and reference. I was able to use code to get my application set up (config.xml and index.html examples specifically), and see examples of API calls, and bbUI.js use cases.&#8221;</p></blockquote>
<p>Here are some helpful tips for a new BlackBerry 10 WebWorks developer:</p>
<ol>
<li>Set up your development environment such that you don’t have to recompile after every modification. (See <a href="http://devblog.blackberry.com/2009/12/update-your-blackberry-widget-without-recompiling">http://devblog.blackberry.com/2009/12/update-your-blackberry-widget-without-recompiling</a>)</li>
<li>Test your application on device frequently! Don’t assume Ripple is an exact replication of the BlackBerry 10 experience. From my own development experience, I had my biggest ‘oh-no’ moment when I tested my application on device after hours of development time and it was not functioning properly. After dreading the hours of reverts I would have to make, I was able solve the issue through a quick search on the WebWorks forum.</li>
<li>Finally, use the <a href="http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/bd-p/browser_dev">Web and WebWorks Development forum</a>! Tips, helpful developers and an archive of other issues faced by developers</li>
</ol>
<p>Since this posting is somewhat delayed from when Amritpal initially wrote it, his application has actually been approved so you can <a href="http://appworld.blackberry.com/webstore/content/24372915/">download</a> it to your BlackBerry 10 device and check it out. Another student, <a href="https://github.com/williekwok">Willie</a>, had this to say about his work so far:</p>
<blockquote><p>“Since the code sprint in mid-January, I mostly focused on getting myself acquainted with BlackBerry WebWorks and the bbUI.js components. Working on bbUI.js allowed me to get my feet wet with mobile web development, and the entire project is a great resource to get acquainted with Blackberry and developing web applications on the platform.</p>
<p>I’ve been mainly focusing on developing a mobile application using HTML5 and jQuery Mobile with <a href="http://docs.phonegap.com/en/2.5.0/guide_getting-started_blackberry_index.md.html#Getting%20Started%20with%20BlackBerry">PhoneGap</a> to test and deploy on BlackBerry 10 (a health activity tracker). This has been my first experience with mobile development and in the past month it’s been extremely rewarding. Working with the various PhoneGap plugins that is provided allowed me to access the Blackberry camera functionality easily and the built-in Ant build and deploy scripts make it very easy to test on an actual device. The next step is to add bbUI.js elements to give any application a native look and feel, which is all easily accessible on GitHub.</p>
<p>As the technical lead at a mobile health technology startup, it’s been challenging to navigate through the mobile space and its fragmentation. BlackBerry 10 WebWorks has provided an easy and logical way to develop for the BlackBerry 10 platform while also giving the flexibility to use web frameworks that can work on a variety of platforms. BlackBerry has made the development process smooth and seamless for even people inexperienced with mobile development to jump in!</p>
<p>For the rest of the term, I’m looking forward to completing/refining my application and also continue contributing to bbUI.js”</p></blockquote>
<p>As you can see, the students are doing some great work. In our next update we hope to showcase some achievements in WebWorks Extension development. Until then, maybe you’d like to <a href="http://blackberry.github.com/howToContribute.html">get involved</a> in Open Source at BlackBerry?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14434/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14434&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/04/ucosp-undergraduate-capstone-open-source-projects-2013-midterm-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4af90af66399bef37f445ec81aba64a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">timwin1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/uscop1.png" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
	</channel>
</rss>