<?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; open source</title>
	<atom:link href="http://devblog.blackberry.com/tag/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 08:21:03 +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; open source</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>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>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>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>
		<item>
		<title>Prevent Sleep for WebWorks Apps</title>
		<link>http://devblog.blackberry.com/2013/03/stop-sleep-webworks-apps/</link>
		<comments>http://devblog.blackberry.com/2013/03/stop-sleep-webworks-apps/#comments</comments>
		<pubDate>Mon, 04 Mar 2013 16:25:34 +0000</pubDate>
		<dc:creator>Tim W.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14048</guid>
		<description><![CDATA[(Photo credit to Alan L, and his cat) When your content is so riveting that your users can’t take their eyes off the screen, the last thing you want is the screen dimming and breaking that immersion. Thankfully, BlackBerry 10 offers a simple API to keep the screen from dimming, which conveniently handles things like [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14048&#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/03/cateyes.jpg?w=400" /></p>
<p style="text-align:center;">(Photo credit to <a href="http://www.flickr.com/people/35188692@N00/" target="_new">Alan L</a>, and his cat)</p>
<p>When your content is so riveting that your users can’t take their eyes off the screen, the last thing you want is the screen dimming and breaking that immersion. Thankfully, BlackBerry 10 offers a simple API to keep the screen from dimming, which conveniently handles things like the user putting the application in the background. Just a few weeks ago, I wrapped up this simple API in a <a href="https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10/PreventSleep" target="_new">WebWorks Extension</a> using our new <a href="https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10/Template" target="_new">Extension Template</a>. I’ve already heard from a few happy developers who have included it in their apps, but there are plenty of use cases, so I figured it would be good to share with the wider developer community. Just remember to use this one properly – turn it on only when displaying content where the user is going to be viewing the screen but not interacting with it. Your users will thank you for being able to see your content, and also for not keeping the screen on when it’s not necessary.</p>
<p>Here’s a quick look at what it’s like to integrate the API.</p>
<p>Add the feature to your config.xml:</p>
<pre>&lt;feature id="community.preventsleep" required="true" version="1.0.0.0" /&gt;</pre>
<p>And call these methods to interact with it:</p>
<pre>var setting = true; // boolean
var result = community.preventsleep.setPreventSleep(setting);
// Result is a string value for debugging

var currentSetting = community.preventsleep.isSleepPrevented;
// boolean value for the state of the screen</pre>
<p>Thanks for checking it out and if you’ve got any issues, please post them on <a href="https://github.com/blackberry/WebWorks-Community-APIs/issues?state=open" target="_new">GitHub</a>. Now your slideshow app of animated cat gifs can be realized in all its deserving glory.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14048/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14048/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14048&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/03/stop-sleep-webworks-apps/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/03/cateyes.jpg?w=400" medium="image" />
	</item>
		<item>
		<title>Sublime BlackBerry 10 WebWorks Development</title>
		<link>http://devblog.blackberry.com/2013/02/sublime-blackberry-10-webworks-development/</link>
		<comments>http://devblog.blackberry.com/2013/02/sublime-blackberry-10-webworks-development/#comments</comments>
		<pubDate>Thu, 28 Feb 2013 19:28:00 +0000</pubDate>
		<dc:creator>Tim W.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WebWorks]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=13978</guid>
		<description><![CDATA[At the risk of broaching a topic that is potentially more volatile than politics, religion, or semi-colons in JavaScript, let’s talk a little bit about development environments for BlackBerry 10 WebWorks. Now, while I’m going to talk about one development environment in particular in this blog post, one of the great things about BlackBerry 10 [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13978&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>At the risk of broaching a topic that is potentially more volatile than politics, religion, or semi-colons in JavaScript, let’s talk a little bit about development environments for <a href="http://developer.blackberry.com/html5/">BlackBerry 10 WebWorks</a>. Now, while I’m going to talk about one development environment in particular in this blog post, one of the great things about BlackBerry 10 WebWorks development is that you can use any tool you want.</p>
<p>What I’d like to present is one option and some suggestions for being productive in it, but I’d very much like to hear from you through the comments or email what you use, and if you are interested I’d like to collaborate on a blog post about using your favourite IDE and how to get the most out of it. My goal is to make developing BlackBerry 10 HTML5 apps as easy as this:</p>
<div id="attachment_13981" class="wp-caption aligncenter" style="width: 610px"><a href="http://rimdevblog.files.wordpress.com/2013/02/cat.jpg"><img class="size-full wp-image-13981" alt="Image credit Janet Morrell - http://www.flickr.com/people/89509548@N00/" src="http://rimdevblog.files.wordpress.com/2013/02/cat-e1362065328678.jpg?w=600&#038;h=418" width="600" height="418" /></a><p class="wp-caption-text">Image credit Janet Morrell &#8211; <a href="http://www.flickr.com/people/89509548@N00/" target="_blank">http://www.flickr.com/people/89509548@N00/</a></p></div>
<p>The editor that I want to talk about today is called <a href="http://www.sublimetext.com/2">Sublime</a>. You can evaluate it for free, it’s fully cross platform, and even has portable versions so you can keep it on a USB key. There are plenty of cool features and I could never cover them all, but the first thing you want to do is install the <a href="http://wbond.net/sublime_packages/package_control">package control plugin</a>, and then all the other packages are just keystrokes away: Ctrl-Shift-P and choose “Package Control: Install Package”.</p>
<p>Some recommended packages to get you started are as follows:</p>
<ul>
<li>SublimeLinter</li>
<li>All Autocomplete</li>
<li>Markdown Preview</li>
<li>Color Schemes by carlcalderon (Stereokai is my choice)</li>
</ul>
<p>One of my favourite capabilities of Sublime is its Build System integration. I put together a video showing how to setup our BlackBerry 10 WebWorks <a href="http://devblog.blackberry.com/2012/11/webworks-ant-build-script/">Ant Build Script</a> with Sublime, so you can see how easy it is:</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/89bOz3w_z5E?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<p>See, that wasn’t so bad. There’s really no need for the pitchforks.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/13978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/13978/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13978&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/02/sublime-blackberry-10-webworks-development/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/02/cat-e1362065328678.jpg" medium="image">
			<media:title type="html">Image credit Janet Morrell - http://www.flickr.com/people/89509548@N00/</media:title>
		</media:content>
	</item>
		<item>
		<title>UCOSP Kickoff Sprint at Facebook</title>
		<link>http://devblog.blackberry.com/2013/02/ucosp-kickoff/</link>
		<comments>http://devblog.blackberry.com/2013/02/ucosp-kickoff/#comments</comments>
		<pubDate>Wed, 20 Feb 2013 18:47:27 +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=13726</guid>
		<description><![CDATA[It’s been a few weeks since I met the BlackBerry Team for this term’s UCOSP program, but between the BlackBerry 10 Launch and the excitement around BlackBerry Jam Europe, it’s been a busy time on the Inside BlackBerry Developer Blog. Now that you’ve had a chance to see all the cool things that BlackBerry 10 [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13726&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>It’s been a few weeks since I met the BlackBerry Team for this term’s UCOSP program, but between the BlackBerry 10 Launch and the excitement around BlackBerry Jam Europe, it’s been a busy time on the Inside BlackBerry Developer Blog. Now that you’ve had a chance to see all the cool things that BlackBerry 10 can do and that our outstanding developer community has accomplished on the platform, let’s talk about what these students are doing to support our developer community through Open Source Software.</p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/02/img_00000043.jpg?w=500" /></p>
<p style="text-align:center;">(Our Hackathon space at Facebook)</p>
<p><span id="more-13726"></span></p>
<p>This is our second term working with the UCOSP organization, with a team of students from across Canada. This term we have 8 students, and I’m thrilled with what they’ve been able to accomplish already. First let’s hear from <a href="https://github.com/karancan" target="_new">Karan Khiani</a>, of the University of Ottawa, who is a returning student from last term:</p>
<p>&#8220;This past weekend has been a great mix of work and play. We were a huge group of people coming together from all around Canada to hack together for a whole weekend. We all gathered for a weekend in Palo Alto, CA and got to do our hacking at the Facebook Campus. From the moment we got to the campus for the first time (I learnt that Facebook is located on 1 Hacker Way) right to the time we left the campus (I learned that 82% of traffic on Facebook.com comes from outside USA) it was a weekend of discovery.</p>
<p>&#8220;Apart from having the opportunity to experience the work culture at Facebook, we managed to get quite a bit of work done ourselves. By happy coincidence, BlackBerry was hosting its final port-a-thon for the BlackBerry 10 platform. This was great timing for me as I was just about ready to get my first BlackBerry 10 app into the app store. By the time I finished my first app (a bucket list app), I had become quite familiar with the development process for the platform. This enabled me to spend another few hours to also come up with a second app (“Clock of Death”). The fact that BlackBerry 10 apps are developed using web technologies made things really convenient for me as I have a fair amount of experience working as a web developer.</p>
<p>&#8220;The folks at BlackBerry have done a great job with all the frameworks they have published to make things easier for app developers. That, combined with the power and flexibility of HTML5, makes the entire journey quite smooth! I can’t wait to come up with a killer idea for my third app.”</p>
<p>With 8 students, including 2 returning from last term, we are able to work on a few different areas at once. As a top contributor to <a href="https://github.com/blackberry/bbUI.js" target="_new">bbUI.js</a>, and now with a couple of applications developed using WebWorks, I’ve asked Karan to work on a new template for bbUI.js applications so that new developers have quick starting points for applications using bbUI.js. Two other students with strong C++ experience will be working on WebWorks Extensions using the new <a href="https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10/Template" target="_new">Template</a>, and the other four are each contributing to the bbUI.js framework. Now let’s hear from one of those students, <a href="https://github.com/haixuanc" target="_new">Haixuan Chen</a> of Simon Fraser University:</p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/02/ucosp-nfc-bbm.jpg?w=500" /></p>
<p style="text-align:center;">(Team members join a BBM group on their new Dev Alpha devices)</p>
<p>“It was a great experience to meet with a bunch of new faces from other Canadian universities, to work on a new mobile platform (BlackBerry 10), and to use a new version control system (GitHub). Everything is new, but a lot of fun too!</p>
<p>&#8220;I have had some experience of building web applications using various frameworks, and basic experience with jQuery for front-end UI. But using HTML5, CSS3, and JavaScript to build mobile application is a brand new wonderland to me.</p>
<p>&#8220;Thankfully, Tim has a magic handy <a href="https://github.com/blackberry/BB10-WebWorks-Community-Samples/tree/master/Ant-Build-Script" target="_new">Ant build script</a>, which greatly simplifies the process of building and deploying applications. I have already tried the bbUI.js samples at home. So on the first day of the hackathon, I started with the WebWorks extension sample. But I&#8217;m more interested in HTML5 and CSS3, so I spent the rest of the weekend working on bbUI.js. We have two students, Karan and Hidaya, who have already worked on bbUI.js for one term. They transferred a lot of valuable experience to newbies like me during the event. By the end of the weekend, I had submitted two pull requests regarding two bug fixes in bbUI.js. More importantly, I had gained a clear picture of the complete workflow of developing a new feature in bbUI.js, and the relationship between WebWorks framework and the underlying native device APIs.”</p>
<p>The students have already been hard at work with coding over the last few weeks and it’s exciting to see their progress. You can see what the students and our other open source developers are working on by checking in on our <a href="https://github.com/blackberry" target="_new">open source repositories</a>, and perhaps you’ll find a project that you’d like to contribute to as well.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/13726/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/13726/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13726&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/02/ucosp-kickoff/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/02/img_00000043.jpg?w=500" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/02/ucosp-nfc-bbm.jpg?w=500" medium="image" />
	</item>
		<item>
		<title>Down the Rabbit Hole: Extensions for BlackBerry WebWorks</title>
		<link>http://devblog.blackberry.com/2013/02/extensions-for-blackberry-webworks/</link>
		<comments>http://devblog.blackberry.com/2013/02/extensions-for-blackberry-webworks/#comments</comments>
		<pubDate>Wed, 20 Feb 2013 14:07:43 +0000</pubDate>
		<dc:creator>Tim W.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WebWorks]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=13798</guid>
		<description><![CDATA[In the interest of full disclosure, I admit that the BlackBerry 10 WebWorks extensions scared me a little when I first looked at them. It’s been a long time since I really wrote C++ code. We won’t dwell on how long it’s been, but let’s say it’s been long enough. And, when I looked at [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13798&#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/02/webworkspic1.jpg?w=450" /></p>
<p>In the interest of full disclosure, I admit that the BlackBerry 10 WebWorks extensions scared me a little when I first looked at them. It’s been a long time since I really wrote C++ code. We won’t dwell on how long it’s been, but let’s say it’s been long enough. And, when I looked at the memory sample, it didn’t get me to the point of being really confident in how to approach extensions. Though we called it a template, it was more accurately a small example. That said, the potential of extensions, and the cool native APIs that we could be accessing in WebWorks apps kept me thinking about ways to get better at them, and make it easier. Now, after consulting with the experts in the WebWorks team, and studying the source of many core extensions, I’m quite happy to say that we have a <a href="https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10/Template" target="_new">new template for WebWorks Extensions</a>.</p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/02/webworkspic3.jpg?w=180" /> <img alt="" src="http://rimdevblog.files.wordpress.com/2013/02/webworkspic2.jpg?w=400" /></p>
<p>Now the template is designed as a real starting point for creating extensions, with examples for all the most common ways that the JavaScript layer needs to talk to the native layer. We haven&#8217;t changed the fact that you will be writing C, C++, or Qt code on the other end, but we have made it much easier to get right to that code instead of learning about what&#8217;s in the middle. Here’s what the template provides:</p>
<ul>
<li>Synchronous and Asynchronous method templates</li>
<li>Sending and receiving text and numeric values</li>
<li>Sending and receiving JSON values</li>
<li>Starting and stopping native threads</li>
<li>Receiving ongoing callback events from native</li>
<li>Defining a custom property in the extension</li>
<li>Ant Build Script for packaging and installation in the WebWorks SDK</li>
</ul>
<p>The results from the developers who have used the new template are superb &#8211; not only do we have some <a href="https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10/Template" target="_new">new extensions being built</a> and contributed, but developers have confidence in what they need to do and the possibilities unlocked are immediately visible in their faces when they get coding. And, when you can focus on the code, it turns out that native code isn&#8217;t so bad after all: The rabbit hole turns out to be an underground railway with free WiFi. So, give it a shot and let’s create some cool extensions for BlackBerry 10 WebWorks.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/13798/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/13798/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13798&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/02/extensions-for-blackberry-webworks/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/02/webworkspic1.jpg?w=450" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/02/webworkspic3.jpg?w=180" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/02/webworkspic2.jpg?w=400" medium="image" />
	</item>
		<item>
		<title>Qt porting guide: a reference to help you bring your Qt apps to BlackBerry 10</title>
		<link>http://devblog.blackberry.com/2013/02/qt-porting-guide-blackberry-10/</link>
		<comments>http://devblog.blackberry.com/2013/02/qt-porting-guide-blackberry-10/#comments</comments>
		<pubDate>Tue, 19 Feb 2013 19:08:05 +0000</pubDate>
		<dc:creator>Veronica O</dc:creator>
				<category><![CDATA[Cascades]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[porting]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[Qt apps]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=13841</guid>
		<description><![CDATA[Guest post from Kizito &#8211; Ed. Qt developers often ask the following questions: Is there a porting guide to help me port my Qt apps to BlackBerry 10? What about porting Qt Quick to BlackBerry 10? How do I configure Qt Creator for BlackBerry 10? The good news has arrived: you now have a porting [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13841&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><i>Guest post from Kizito &#8211; Ed.</i></p>
<p><img class="aligncenter size-full wp-image-13842" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/02/qt-porting.jpg?w=500&#038;h=280" width="500" height="280" /></p>
<p>Qt developers often ask the following questions: <i>Is there a porting guide to help me port my Qt apps to BlackBerry 10? What about porting Qt Quick to BlackBerry 10? How do I configure Qt Creator for BlackBerry 10?</i></p>
<p>The good news has arrived: you now have a porting guide covering the most commonly-encountered use cases. This guide provides the necessary information to developers of native mobile apps who fall in one of the following categories:</p>
<ul>
<li>Developers who have Qt apps written in C/C++/ QML/JavaScript and intend to have their apps running on the BlackBerry 10 platform;</li>
<li>Developers who want to write new Qt C++, QML and/or JavaScript code for the BlackBerry 10 platform;</li>
<li>And finally, developers who want to take advantage of the Cascades UI framework and change their existing UI to the Cascades framework.</li>
</ul>
<p>BlackBerry supports developers in all of the above described scenarios, and so this guide provides developers with best practices for each category. It also explains why a particular practice is considered the best one.</p>
<p>Please check the full Qt porting guide at:</p>
<p><a href="http://developer.blackberry.com/native/documentation/bb10/porting_qt_apps.html" target="_new">http://developer.blackberry.com/native/documentation/bb10/porting_qt_apps.html</a></p>
<p>Related Posts:</p>
<p><a href="http://www.youtube.com/watch?v=hCMMyG3EJ9A" target="_new">YouTube: BlackBerry Jam Session (JAM12): Porting Qt Applications to BlackBerry 10</a><br />
<a href="http://devblog.blackberry.com/2012/11/porting-qt-apps-to-blackberry-10/" target="_new">Porting Qt Applications to BlackBerry 10 is Easier than Ever!</a><br />
<a href="http://devblog.blackberry.com/2012/11/writing-qt-apps-blackberry-10/" target="_new">Writing Qt apps for the BlackBerry 10 platform</a><br />
<a href="http://www.youtube.com/watch?v=f2nKK1XBsR4" target="_new">YouTube: QtDD12 &#8211; How Qt Helped RIM Build BlackBerry 10</a><br />
<a href="http://www.youtube.com/watch?v=KF0c_gd1Fp0" target="_new">YouTube: QtDD12 &#8211; Developing with Qt for the BlackBerry 10</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/13841/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/13841/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13841&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/02/qt-porting-guide-blackberry-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b375d2578c668cc015d7452d495c9ff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">veronchiquita</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/02/qt-porting.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>Port Your PJSIP Engine to BlackBerry 10 in Less Than 10 minutes</title>
		<link>http://devblog.blackberry.com/2013/01/port-your-pjsip-engine-to-blackberry-10-in-less-than-10-minutes/</link>
		<comments>http://devblog.blackberry.com/2013/01/port-your-pjsip-engine-to-blackberry-10-in-less-than-10-minutes/#comments</comments>
		<pubDate>Mon, 14 Jan 2013 14:05:16 +0000</pubDate>
		<dc:creator>Gurtej S.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[ICE]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Open Source SIP]]></category>
		<category><![CDATA[PJSIP]]></category>
		<category><![CDATA[RTP]]></category>
		<category><![CDATA[SDP]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[STUN]]></category>
		<category><![CDATA[TURN]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=13023</guid>
		<description><![CDATA[If you haven’t already heard, the BlackBerry 10 countdown is on. If you have an existing application using PJSIP libraries, this is your opportunity to port your pjsip open source stack to BlackBerry 10 in a matter of minutes. As you may have already heard, Bob Cripps has successfully ported PJSIP to BlackBerry 10. Just very [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13023&#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/01/pjsip.jpg"><img class="aligncenter size-full wp-image-13024" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/01/pjsip.jpg?w=344&#038;h=95" width="344" height="95" /></a></p>
<p>If you haven’t already heard, the BlackBerry 10 countdown is on. If you have an existing application using PJSIP libraries, this is your opportunity to port your pjsip open source stack to BlackBerry 10 in a matter of minutes. As you may have already heard, <a href="https://github.com/bobcripps">Bob Cripps</a> has successfully ported PJSIP to BlackBerry 10. Just very recently Bob has helped simplify building PJSIP for BlackBerry 10 by creating a set of executable scripts. This work has now all been committed to our BlackBerry github <a href="https://github.com/bobcripps/Cascades-Community-Samples/tree/master/bb10-pjsipdemo">repository</a>.</p>
<p>I took this opportunity to dig deep into building PJSIP for BlackBerry 10. As soon as I had my Linux environment up and running with all the prerequisites installed, I am happy to say that it took me less than ten minutes to build and load PJSIP BlackBerry 10 Cascades sample project to my BlackBerry 10 Dev <a href="https://developer.blackberry.com/blackberry10devalpha/">Alpha device</a>. So please don’t try to reinvent the wheel &#8211; dive right into this github <a href="//github.com/blackberry/Cascades-Community-Samples/tree/master/bb10-pjsipdemo">repository</a> to port PJSIP to BlackBerry 10. Remember to follow the README instructions as they are very important. You can also follow the instructions in below PJSIP porting guide knowledge base article: <a href="http://supportforums.blackberry.com/t5/Native-Development/Porting-PJSIP-PJMEDIA-and-PJLIB-to-BlackBerry-10/ta-p/2085751"><b>http://supportforums.blackberry.com/t5/Native-Development/Porting-PJSIP-PJMEDIA-and-PJLIB-to-BlackBerry-10/ta-p/2085751</b></a><b></b></p>
<p>If you run into any issues in porting PJSIP to BlackBerry 10 you can send me a tweet <a href="http://https://twitter.com/_GurtejSandhu" target="_blank">@_GurtejSandhu</a> or write your comment below and I will be happy to assist.</p>
<p>Again, huge kudos to Bob Cripps for contributing his recent work in simplifying building PJSIP for BlackBerry 10.</p>
<p>Success stories:</p>
<p><a href="http://devblog.blackberry.com/2012/07/voip-development-on-blackberry-10/">http://devblog.blackberry.com/2012/07/voip-development-on-blackberry-10/</a></p>
<p>BlackBerry 10 Development:</p>
<p><a href="https://developer.blackberry.com/develop/platform_choice/ndk.html">https://developer.blackberry.com/develop/platform_choice/ndk.html</a></p>
<p><a href="http://devblog.blackberry.com/2013/01/blackberry-10-voip/">http://devblog.blackberry.com/2013/01/blackberry-10-voip/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/13023/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/13023/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13023&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/01/port-your-pjsip-engine-to-blackberry-10-in-less-than-10-minutes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/41e8b1a2189dfce0a51887beab21795d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gurtejsan1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/01/pjsip.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>Come help make the AT&amp;T API available on BlackBerry 10!</title>
		<link>http://devblog.blackberry.com/2013/01/att-developer-summit/</link>
		<comments>http://devblog.blackberry.com/2013/01/att-developer-summit/#comments</comments>
		<pubDate>Thu, 03 Jan 2013 14:15:20 +0000</pubDate>
		<dc:creator>Alex Kinsella</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[at&t]]></category>
		<category><![CDATA[at&t dev summit]]></category>
		<category><![CDATA[AT&T Hackathon]]></category>
		<category><![CDATA[Live Port]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12879</guid>
		<description><![CDATA[Next week isn’t just CES in Las Vegas; it’s also the 2013 AT&#38;T Developer Summit – and the BlackBerry Developer Relations team will be there in full force. Our own Larry McDonough will be presenting “Building Applications for Launch of the New BlackBerry 10 Platform” on Monday, January 7th, 2013 from 2:00 PM &#8211; 2:45 [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12879&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-12894" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/01/att_devsummit_logo-date.png?w=264&#038;h=373" width="264" height="373" /></p>
<p>Next week isn’t just CES in Las Vegas; it’s also the <a href="https://www.2013devsummit.com/" target="_new">2013 AT&amp;T Developer Summit</a> – and the BlackBerry Developer Relations team will be there in full force.</p>
<p>Our own Larry McDonough will be presenting “Building Applications for Launch of the New BlackBerry 10 Platform” on Monday, January 7th, 2013 from 2:00 PM &#8211; 2:45 PM. On the same day, our good friend Andrew Poliak from the QNX Auto Team will be a panelist on “Navigating the Connected Vehicle Vision” from 3:00 PM &#8211; 3:45 PM.</p>
<p>That’s not all – we&#8217;ve also got an exciting BlackBerry 10 live porting challenge during the <a href="https://www.2013devsummit.com/Registration/Hackathon.aspx" target="_new">hackathon</a> portion of the summit:</p>
<blockquote><p>“Be part of open source history and participate in the AT&amp;T API for BlackBerry 10 “Live Port” challenge! Using the iOS version of the AT&amp;T API as reference, complete the port and build the best BlackBerry 10 app leveraging the AT&amp;T API and be eligible for prizes including a trip to BlackBerry Jam Europe in Amsterdam! There will be plenty of help onsite to help with any question you may have. Are you up to the challenge?”</p></blockquote>
<ul>
<li>What&#8217;s involved:
<ul>
<li>All participating teams contribute to porting AT&amp;T API for BlackBerry 10</li>
<li>Each team builds their “best app” using the API with the BlackBerry Native SDK</li>
</ul>
</li>
<li>Prizes:
<ul>
<li><strong>Chance to go home with a BlackBerry 10 Dev Alpha B!</strong></li>
<li>All apps are eligible for the <a href="https://developer.blackberry.com/builtforblackberry/commitment/" target="_new">BlackBerry 10K challenge</a> (turn your app into $10K)!</li>
<li>The &#8220;best app&#8221; (as judged by our panel of experts) wins trips to <a href="http://devblog.blackberry.com/2012/11/blackberry-jam-europe-2013/" target="_new">BlackBerry Jam Europe 2013</a> in Amsterdam!</li>
</ul>
</li>
</ul>
<p>Hope to see you at the AT&amp;T Developer Summit next week!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12879/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12879&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/01/att-developer-summit/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/01/att_devsummit_logo-date.png" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
	</channel>
</rss>
