<?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; bbui.js</title>
	<atom:link href="http://devblog.blackberry.com/tag/bbui-js/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 15:08:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='devblog.blackberry.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/9ef0a66c09615fa946c4179662398878?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>BlackBerry Developer Blog &#187; bbui.js</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>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>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>‘App of the Week’ updates</title>
		<link>http://devblog.blackberry.com/2013/02/blackberry-uk-app-of-the-week-updates/</link>
		<comments>http://devblog.blackberry.com/2013/02/blackberry-uk-app-of-the-week-updates/#comments</comments>
		<pubDate>Tue, 19 Feb 2013 16:01:08 +0000</pubDate>
		<dc:creator>Alex Kinsella</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[bbui.js]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[Cascades]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[jQuery Mobile]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=13837</guid>
		<description><![CDATA[Guest post from Luca Sale &#8211; Ed. Thank you to all of you who entered or showed interest for our brand new ‘App of the Week’ contest, the response has been inspiring! We have carefully reviewed the submissions and we were really pleased the outstanding quality of the applications! The winning application, is “Trola” from [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13837&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><em>Guest post from Luca Sale &#8211; Ed.</em></p>
<p>Thank you to all of you who entered or showed interest for our brand new ‘App of the Week’ contest, the response has been inspiring!</p>
<p>We have carefully reviewed the submissions and we were really pleased the outstanding quality of the applications! The winning application, is “<a href="http://appworld.blackberry.com/webstore/content/21968200/">Trola</a>” from Slovenian developer <a href="http://blackberryjamapps.com/winners/">Mitja Dragman</a>.</p>
<p>He used the BlackBerry 10 Cascades framework with a tabbed view to display the transport map of the Slovenian capital Ljubljana, integrated the application with the public APIs of the transport system to provide timetables and arrival times.</p>
<p>Congratulations to our first winner Mitja who paved the way for more quality apps coming into BlackBerry World.</p>
<p>This week challenge has the following guidelines</p>
<ul>
<li><a href="https://developer.blackberry.com/html5/">BlackBerry 10 WebWorks App (HTML5)</a> or <a href="http://phonegap.com/">PhoneGap</a></li>
<li>BlackBerry 10 look and feel (BlackBerry 10 <a href="http://jquerymobile.com/">jQuery Mobile</a> or <a href="https://github.com/blackberry/bbUI.js">bbUI.js</a>)</li>
<li>Invoke the camera</li>
<li>Connect to BlackBerry Messenger</li>
</ul>
<p>If you don’t remember the guidelines have a look at <a href="http://devblog.blackberry.com/2013/01/app-of-the-week-challenge/">http://devblog.blackberry.com/2013/01/app-of-the-week-challenge/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/13837/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/13837/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13837&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/02/blackberry-uk-app-of-the-week-updates/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>
	</item>
		<item>
		<title>New week, new challenge: ‘App of the Week’ is coming to EMEA</title>
		<link>http://devblog.blackberry.com/2013/01/app-of-the-week-challenge/</link>
		<comments>http://devblog.blackberry.com/2013/01/app-of-the-week-challenge/#comments</comments>
		<pubDate>Thu, 17 Jan 2013 15:21:10 +0000</pubDate>
		<dc:creator>Alex Kinsella</dc:creator>
				<category><![CDATA[Cascades]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[bbui.js]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[jQuery Mobile]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=13092</guid>
		<description><![CDATA[Guest post from Luca S. &#8211; Ed. Get your challenge hat on because the BlackBerry “App of the Week” has arrived! C++/Cascades? HTML5? Adobe AIR? Games? BBM Integration? We have got them all! Each week will see a new set of criteria that will kick off the challenge. Starting this Monday, January 21st at 3:00PM [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13092&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><i>Guest post from Luca S. &#8211; Ed.</i></p>
<p><img class="aligncenter size-full wp-image-13093" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/01/bbjam-logo.jpg?w=550&#038;h=94" width="550" height="94" /></p>
<p>Get your challenge hat on because the BlackBerry “App of the Week” has arrived!</p>
<p><a href="https://developer.blackberry.com/develop/platform_choice/ndk.html" target="_new">C++/Cascades</a>? <a href="https://developer.blackberry.com/html5/" target="_new">HTML5</a>? <a href="https://developer.blackberry.com/air/" target="_new">Adobe AIR</a>? Games? <a href="https://developer.blackberry.com/devzone/develop/bbm_connected/bbm.html" target="_new">BBM Integration</a>? We have got them all! Each week will see a new set of criteria that will kick off the challenge. Starting this Monday, January 21st at 3:00PM GMT you will have six (6) days to create and submit your app. Your peers and expert judges will decide who the BlackBerry “App of the Week” winner is. Each week the winner will receive rewards for participating in our challenge!</p>
<p>The rules are simple: register as a participating developer or development group and keep an eye on the weekly challenge. If you like it, simply apply for the current week and start coding!</p>
<p>Do you want a sneak peek of what a contest week may look like?</p>
<p><span id="more-13092"></span></p>
<h3><strong>Week #1</strong></h3>
<ul>
<li>Cascades App</li>
<li>Using the share functionality</li>
<li>Integrating video streaming</li>
</ul>
<h3><strong>Week #2</strong></h3>
<ul>
<li>WebWorks App (HTML5) or PhoneGap</li>
<li>BlackBerry 10 look and feel (BlackBerry 10 JQM or bbUI.js)</li>
<li>Invoke the camera</li>
</ul>
<p>You start with the pointers and evolve your app into something awesome that will give you a chance to win first prize!</p>
<p>So let’s summarize this:</p>
<ol>
<li>Go to <a href="http://www.blackberryjamapps.com" target="_new">http://www.blackberryjamapps.com</a> and register your developer profile at any time and link it to your <a href="https://appworld.blackberry.com/isvportal" target="_new">BlackBerry World</a> vendor profile (if you have one).</li>
<li>Check on Monday after 3PM to see what we have chosen as the &#8216;App of the Week &#8216; challenge. If you like it, simply log in and apply for it.</li>
<li>You will then have until the following Sunday to create and upload your application. Don’t forget to upload 3 screenshots as well.</li>
</ol>
<p>Yes &#8211; it really is that easy! From Sunday 9 PM onwards, your peers will be able to vote based on the description and the screenshots you provided. When you submit the application let us know what technology you are using: NFC, Bluetooth, Cascades, OpenGL, OpenAL etc. The cooler the features you use, the higher your chance of winning.</p>
<p>And since we want to really reward those who create something outstanding, our #NFCGuys, <a href="https://twitter.com/mdwrim" target="_new">Martin Woolley</a> and <a href="https://twitter.com/jcmrim" target="_new">John Murray</a>, have decided to award a special prize for ‘Best use of NFC’ in an app submitted this month. There will be some extra prizes for people who go the extra mile with good quality apps and great integration&#8230;a BlackBerry device may be waiting around the corner for you!</p>
<p>Make sure to check the Terms and Conditions available online at <a href="http://blackberryjamapps.com/terms-dev/" target="_new">http://blackberryjamapps.com/terms-dev/</a> and register ASAP. Remember: you can only apply for a weekly contest from Monday 3PM to Tuesday 3PM GMT. Don’t miss this opportunity!</p>
<h5>*For a list of countries that can apply please check the terms and conditions at <a href="http://blackberryjamapps.com/terms-dev/" target="_new">http://blackberryjamapps.com/terms-dev/</a></h5>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/13092/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/13092/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13092&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/01/app-of-the-week-challenge/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/bbjam-logo.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>UCOSP End of Term Results Part 2</title>
		<link>http://devblog.blackberry.com/2012/12/ucosp-end-of-term-results-part-2/</link>
		<comments>http://devblog.blackberry.com/2012/12/ucosp-end-of-term-results-part-2/#comments</comments>
		<pubDate>Thu, 27 Dec 2012 13:45:30 +0000</pubDate>
		<dc:creator>Tim W.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Case Studies & Success Stories]]></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[open source]]></category>
		<category><![CDATA[UCOSP]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12806</guid>
		<description><![CDATA[Part one of our end-of-term blog posts was dedicated to some tips on using bbUI.js. For this post, let’s hear from John Yan of UBC, who worked on BlackBerry WebWorks Native Extensions and also learned Cascades for his final project: “The past two months have definitely been busy times yet also they have also been [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12806&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://devblog.blackberry.com/2012/12/ucosp-end-of-term-results-part-1" target="_new">Part one of our end-of-term blog posts</a> was dedicated to some tips on using bbUI.js. For this post, let’s hear from <a href="https://github.com/john852" target="_new">John Yan</a> of UBC, who worked on BlackBerry WebWorks Native Extensions and also learned Cascades for his final project:</p>
<p>“The past two months have definitely been busy times yet also they have also been a highlight in my four years of university studies. Not mentioning the various school projects that I had to make, I had the honor of working as an open source developer for RIM and for the new BlackBerry 10 device. While learning how to properly use the various SDK’s and programming tools has been time consuming (at least for me), it was thoroughly satisfying to see the app I designed or the extension that I have implemented slowly evolving into something I am proud of. Despite the various tools that I attempted to master in the past two months, I would like to write a little bit specifically about the Native SDK that I had used.</p>
<p>The Native SDK contains a set of tools that greatly aided in my quest to write code for apps or native extensions for the BlackBerry WebWorks SDK. It might sound strange to use one SDK to write code for another SDK, but that is how awesome the program is.</p>
<p>Focusing on the app writing component, the Native SDK contains QNX Momentics, which is an Integrated Development Environment. Momentics has a very user friendly GUI. Based on the open Eclipse IDE, developers who are familiar with Eclipse will find Momentics very simple to master, which is certainly the reason that I chose it to write several testing apps for my native extension and a gaming app.</p>
<p><span id="more-12806"></span></p>
<p>To write an app, there is the option of using Cascades. Cascades is a framework that is very flexible when it comes to integrating GUI components and your actual code. It uses a mixture of QML and C++. As a developer, you have the option of using both, or either one of them. QML contains numerous UI elements that can be ported onto the phone, while the C++ side allows developers to easily implement the various logics needed for their apps. In addition, the two can be easily combined; one side can easily call the other with only a few lines of code. Apart from using the BlackBerry WebWorks SDK to create apps using JavaScript and HTML5 (which is another excellent way to write BlackBerry 10 apps), I found that Cascades and the Native API simple to learn and flexible enough for wide varieties of tasks.</p>
<p>A few words of advice when integrating C++ with QML:</p>
<ul>
<li>Don&#8217;t forget to add Q_INVOKABLE in the header file for methods that will be called by your QML code.</li>
<li>If you do decide to write C++ code, be sure to create your QML Page, NavigationPane, or any AbstractPane that you decide to use, in C, or else your C code would not be able to have a pointer to such page.</li>
<li>&lt;QmlDocument variable&gt;-&gt;setContextProperty(&#8220;&lt;Name You Give To Your C++ Class&gt;&#8221;, this); is a line in C++ which is needed for your QML side to access the c side.</li>
<li>ObjectName is a field required for your containers. ID field is only for QML access while ObjectName is used for C++ access.</li>
<li>And remember to have always fun when creating an app for your new BlackBerry device!!!”</li>
</ul>
<p>And now, I promised a summary of what we accomplished during the term and what’s being planned for next term. This term was our first time being involved with <a href="http://ucosp.ca/" target="_new">UCOSP</a> and it was definitely a learning experience. The six students we had participate were all exceptional, and even though they were new to BlackBerry development, they learned fast and are all creating applications to release in BlackBerry World before the launch. One of the greatest challenges we faced was in getting familiar with Git. I told the students that Git is “intentionally hard”, but for next term I intend to put together a getting started guide that will be of use to all our new Open Source contributors, so they get over the initial learning curve easier. Once you get going with Git, it really is pretty great, but at first glance it’s quite daunting.</p>
<p>Our students writing BlackBerry WebWorks extensions were able to create five extensions, which is really outstanding, especially given the short amount of time they actually had to work on them and never having done Extensions before. The students writing for bbUI.js had similar results, getting several updates into the bbUI.js framework as part of version 0.9.5. Most of their updates were in adding dynamic APIs to bbUI.js controls, which is very important for making bbUI.js capable of taking on more advanced application needs.</p>
<p>Finally, our plans continue into next term. We will be working with students from across Canada again on BlackBerry 10 WebWorks projects, and I’m currently investigating some project options. We may do some more extensions and bbUI.js work, but we might tackle a significant project for the benefit of all WebWorks developers. One thing is for sure: I can hardly wait to meet the new and returning students at the kickoff sprint in the New Year and get to work with them.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12806/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12806/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12806&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/12/ucosp-end-of-term-results-part-2/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>
	</item>
		<item>
		<title>UCOSP End of Term Results Part 1</title>
		<link>http://devblog.blackberry.com/2012/12/ucosp-end-of-term-results-part-1/</link>
		<comments>http://devblog.blackberry.com/2012/12/ucosp-end-of-term-results-part-1/#comments</comments>
		<pubDate>Thu, 20 Dec 2012 13:36:18 +0000</pubDate>
		<dc:creator>Tim W.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Case Studies & Success Stories]]></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[open source]]></category>
		<category><![CDATA[UCOSP]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12803</guid>
		<description><![CDATA[How fast the time flies. It feels like the kickoff sprint for the UCOSP term was just last week, but the two months have passed already. The students have all finished their contributions for this term, and are now busy with exams. Our final student bloggers both had plenty to say and included some good [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12803&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>How fast the time flies. It feels like the kickoff sprint for the UCOSP term was just last week, but the two months have passed already. The students have all finished their contributions for this term, and are now busy with exams. Our final student bloggers both had plenty to say and included some good technical content, so I’ve split the term summary into two parts. For this post, let’s hear from <a href="https://github.com/Xand0r" target="_new">David Clarke</a> of Laurentian University:</p>
<p>“Being able to contribute to BlackBerry open source projects has been a real treat. While I am still inexperienced with GitHub, it was great experience to be able to use it in a real world scenario. I knew from the start that I would focus my efforts in the local web apps portion of BlackBerry WebWorks and bbUI.js.</p>
<p>After quickly getting a basic HTML5 web app up and running on my BlackBerry Dev Alpha B, I was keen to dig into creating a BlackBerry specific web app that matched the look and feel of the new BlackBerry 10 operating system. Having had great success, I wanted to share a bit of insight into the key areas for accomplishing this.</p>
<p>If you are like me, you may be used to loading JavaScript on particular HTML pages and then using a window.onload function to get things started.</p>
<p><span id="more-12803"></span></p>
<pre>window.onload = function() {
	//some code!
}</pre>
<p>You might do this to grab some data from HTML5 local storage and load some values into your HTML page. With bbUI.js, you won’t be doing this quite the same way! Instead you’ll be using <a href="https://github.com/blackberry/bbUI.js/wiki/Screens" target="_new">Screens</a>. bbUI.js uses AJAX to load new screens instead of regular old links to load new HTML pages. When loading a new screen, you’ll typically use code like this:</p>
<pre>onclick="bb.pushScreen('mypage.htm', myPageID);"</pre>
<p>This says to load the new screen myPageID using the code in the mypage.htm file. Simple enough, but now we want to run some JavaScript when this new page (screen) loads and perhaps change or add some elements to the resultant screen.</p>
<p>The key to understand how to use your JavaScript in conjunction with Screens lies with the <a href="http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Tutorial-Using-bbUI-s-onscreenready-and-ondomready-to/td-p/1757131" target="_new">onscreenready and ondomready</a> functions. Take a look in the index file of the sample bbUI.js app, you’ll see bb.init function and within its constructor, you’ll see code for onscreenready and ondomready. The key difference between these two is that onscreenready represents the HTML code before it is inserted into the DOM, and the ondomready represents the HTML code after it has been inserted into the DOM.</p>
<p>If you are used to using window.onload and accessing the DOM with document.getElementById(&#8216;myEleID&#8217;), then you’ll want to put your code within either onscreenready or ondomready instead. Both of these will fire when you load a new screen, first onscreenready, then ondomready. In order to target a particular screen with particular JavaScript code you would have some code like the following:</p>
<pre>ondomready: function(element, id) {
	if (id == 'myPageID') {
		document.getElementById('myEleID').innerHTML = locallyStoredData;
	} else if (id == 'someOtherPageID') {
	//more code
}
}</pre>
<p>As we saw above, to push a new screen into view you use onclick=&#8221;bb.pushScreen(&#8216;mypage.htm&#8217;, myPageID);&#8221;, now when ondomready is triggered, we use a simple if else statement to determine what code to execute based on which screen was loaded.</p>
<p>So great, myPageID was loaded, and then document.getElementById(&#8216;myEleID&#8217;).innerHTML = locallyStoredData; gets executed. This works, and is similar to what we are used to seeing. DOM manipulation, however, can be quite taxing on the system, and you will see a noticeable delay if you try to execute your DOM manipulation from ondomready when you are first loading a screen. To avoid this, we need onscreenready.</p>
<p>onscreenready loads the target screen’s HTML into memory, but it is not yet in the DOM. That means simply moving the code from ondomready to onscreenready won’t work:</p>
<pre>onscreenready: function(element, id) {
	if (id == 'myPageID') {
		document.getElementById('myEleID').innerHTML = locallyStoredData; //Fail!
	} else if (id == 'someOtherPageID') {
		//more code
	}
}</pre>
<p>This will generate an error: Uncaught TypeError: Cannot set property &#8216;innerHTML&#8217; of null</p>
<p>Instead, when targeting items by ID, you’ll want to use element in place of document, like so:</p>
<pre>onscreenready: function(element, id) {
	if (id == 'myPageID') {
		element.getElementById('myEleID').innerHTML = locallyStoredData; //Success!
	} else if (id == 'someOtherPageID') {
		//more code
	}
}</pre>
<p>Further still, if you want to call a function located in another JavaScript file, you’ll want to pass element along, so you can manipulate the pre-DOM HTML data.</p>
<pre>onscreenready: function(element, id) {
	if (id == 'myPageID') {
		doThisFunction(element);
	}
}

…

function doThisFunction(element) {
//still uses *document* for new elements
var newParagraph = document.createElement('p'); 
newParagraph.innerHTML = "A new paragraph.";

//use *element* to target existing pre-DOM elements
element.getElementById('myEleID').appendChild(newParagraph);
}</pre>
<p>You’ll notice that in your external JavaScript function, you’ll still need to use document when creating new elements, but in order to insert them into your pre-DOM HTML you’ll want to use element instead of document to target existing elements.</p>
<p>So if you’ve been having difficulties interacting with the DOM in your bbUI.js web app, hopefully this small tutorial was helpful! Of course, the best way to learn bbUI.js is to take a look at some <a href="https://github.com/blackberry/BB10-WebWorks-Samples" target="_new">sample applications</a>. I’ve had a blast working with bbUI.js and I am almost ready to submit my first web app to the BlackBerry App World.”</p>
<p>Quality tips that should help other new developers make the most of their time with bbUI.js and BlackBerry 10. Stay tuned for part 2 of the end-of-term blog posts to get hear from our final student contributor, see a summary all that we did this term, and what’s next.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12803/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12803/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12803&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/12/ucosp-end-of-term-results-part-1/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>
	</item>
		<item>
		<title>bbUI.js version 0.9.5 signed, sealed and delivered</title>
		<link>http://devblog.blackberry.com/2012/12/bbui-js-version-0-9-5/</link>
		<comments>http://devblog.blackberry.com/2012/12/bbui-js-version-0-9-5/#comments</comments>
		<pubDate>Tue, 11 Dec 2012 20:15:11 +0000</pubDate>
		<dc:creator>Tim N.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WebWorks]]></category>
		<category><![CDATA[bbUI]]></category>
		<category><![CDATA[bbui.js]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12625</guid>
		<description><![CDATA[With bbUI v0.9.5, &#60;meme&#62;We Has JavaScript&#60;/meme&#62;. The focus in this release has really been another round of bug fixes, optimizations and additional JavaScript interfaces. The previous versions of bbUI have started to improve with the number of JavaScript interfaces, but still haven’t provided full dynamic functionality. This release gets us further towards our goal of [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12625&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-9170" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2012/05/bbui-1.jpg?w=500&#038;h=124" width="500" height="124" /></p>
<p>With <a href="https://github.com/blackberry/bbUI.js" target="_new">bbUI v0.9.5</a>, &lt;meme&gt;We Has JavaScript&lt;/meme&gt;. The focus in this release has really been another round of bug fixes, optimizations and additional JavaScript interfaces. The previous versions of bbUI have started to improve with the number of JavaScript interfaces, but still haven’t provided full dynamic functionality. This release gets us further towards our goal of creating more dynamic user interfaces via JavaScript. While we’ve made major steps forward in this department with v0.9.5, we’re not finished yet and have much more planned for <a href="https://github.com/blackberry/bbUI.js/issues?milestone=11&amp;page=1&amp;state=open" target="_new">v0.9.6</a>.</p>
<p>Be sure to <a href="https://github.com/blackberry/bbUI.js/blob/master/CHANGELOG.md" target="_new">check out the full change log</a> for this release to know what kind of adjustments you may need to make to your app in order to run v0.9.5. Also, <a href="https://github.com/blackberry/bbUI.js/issues?milestone=9&amp;page=1&amp;state=closed" target="_new">check out the closed issues</a> for details on bug fixes and new features. Any v0.9.5 compatibility changes are fairly minor and are meant to make your life easier as we continue to move forward.</p>
<p><span id="more-12625"></span></p>
<h3><strong>Notable Improvements</strong></h3>
<ul>
<li>Updated coloring/styling/sizing to better match Cascades</li>
<li>New <a href="https://github.com/blackberry/bbUI.js/wiki/Screens" target="_new">Title Bar</a> styling allows for optional coloring other than the default light or dark</li>
<li>Minified versions of the JavaScript and CSS files are now provided</li>
<li>Action Bar back button and “button actions” highlight when touched</li>
<li>Image Grids now allow for a specified number of columns in a row as well as horizontal carousel scrolling</li>
<li>Action and tab overflow menus now vertically scroll items when there are too many options to fit on the screen at one time</li>
<li><a href="https://github.com/blackberry/bbUI.js/wiki/Toggle-Buttons" target="_new">Toggle Buttons</a> now support a disabled state</li>
<li>Ability to refresh all the items in an image list at once</li>
<li>Many new JavaScript interfaces for controls with updated samples to show how to use them</li>
<li>Control bug fixes</li>
</ul>
<h3><strong>Compatibility Changes</strong></h3>
<p>I mentioned that there were a few changes that were made that will affect your applications, so let’s talk about those:</p>
<ul>
<li>Image Lists:</li>
<li>List items now only highlight if they have an associated onclick for the item or have a context menu assigned to the list.</li>
<li>Images for image lists are now 109 x 109 for BlackBerry 10 devices to match the new list item height adjustment.</li>
<li>You now simply include bbUI.js and bbUI.css in your application. There are no longer any version numbers as part of the source file names. Version numbers are now contained inside the files as code comments.</li>
<li>The samples now show how to use your initialization code in the “webworksready” event for all BlackBerry OS versions.</li>
</ul>
<h3><strong>More to Come</strong></h3>
<p>We’ve created an additional <a href="https://github.com/blackberry/bbUI.js/issues?milestone=11&amp;page=1&amp;state=open" target="_new">v0.9.6 milestone for bbUI</a> that contains additional BlackBerry 10 styling improvements, and also includes more JavaScript interfaces for dynamic screen creation and manipulation. If you’re interested in following the bbUI.js changes as they go, feel free to <a href="https://twitter.com/brcewane" target="_new">follow me on Twitter</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12625/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12625&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/12/bbui-js-version-0-9-5/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/2012/05/bbui-1.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>UCOSP Midterm Update</title>
		<link>http://devblog.blackberry.com/2012/11/ucosp-midterm-update/</link>
		<comments>http://devblog.blackberry.com/2012/11/ucosp-midterm-update/#comments</comments>
		<pubDate>Wed, 07 Nov 2012 21:04:16 +0000</pubDate>
		<dc:creator>Tim W.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Case Studies & Success Stories]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[#bbucosp]]></category>
		<category><![CDATA[bbui.js]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[UCOSP]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=11883</guid>
		<description><![CDATA[It’s been just over a month since the beginning of the Undergraduate Capstone Open Source Project (UCOSP) project. We’re at the midterm point now, and it’s clear that we’re getting the hang of this whole thing: Github, BlackBerry® WebWorks™, bbUI.js and native extension development. The students have put together three BlackBerry WebWorks extensions for LED, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11883&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-11885" title="TITLE_IMAGE" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2012/11/ucosp-midterm.jpg?w=600&#038;h=565" height="565" width="600" /></p>
<p>It’s been just over a month since the beginning of the Undergraduate Capstone Open Source Project (<a href="http://ucosp.ca/" target="_new">UCOSP</a>) project. We’re at the midterm point now, and it’s clear that we’re getting the hang of this whole thing: Github, BlackBerry® WebWorks™, bbUI.js and native extension development. The students have put together three BlackBerry WebWorks extensions for LED, Compass, and Image Thumbnails, with two more in development. We’ve also had a few commits to the bbUI.js project which should be pulled into version 0.9.5.</p>
<p>Let’s see what two of the students have to say about the experience at this point in the project. First is <a href="https://github.com/sekkalhidaya" target="_new">Hidaya Sekkal</a>, a student from the University of Ottawa, who said the following:</p>
<p><span id="more-11883"></span></p>
<p><i>“During our code sprint in Kitchener-Waterloo, we were provided with an introduction on how to setup and use our environment (Simulator and Ripple emulator), and received a Dev Alpha device to be used for testing purposes. We also learned how to use the Github and the proper procedure to load and commit bbUI.js applications. An explanation of the different commands used on the Git Shell, the difference between the Next branch and the Master Branch was also provided.</i></p>
<p>“Our main task was to add features in the BlackBerry 10 open source projects. The task that I was to complete was to add functions to bbUI.js. My first modification was to the Slider control. With the help and support of our mentor, Tim Windsor, I was able to add many useful features (add, remove, disable, enable, hide) to this particular control. The second control that I modified was the Toggle button, which I was able to add similar options to. For my final project I am creating an application to detect BlackBerry devices using the PIN number assigned to each device, and the HTML5 Geolocation API. I was able to finish the first part of my project, the detection of the Geolocation Data. This experience of working on the open source BlackBerry projects was both an honor and a great learning experience for me, which I will apply to my future career endeavors.”</p>
<p>The second student commenting on his experience so far is <a href="https://github.com/starpax" target="_new">Arman Fallah</a> from the University of British Columbia, who has an outstanding hint for extension developers:</p>
<p><i>“It&#8217;s been a little more than a month and my UCOSP experience is far from over. Being a part of the BlackBerry GitHub community has shown me how open source communities can bring developers together to solve any problem. I&#8217;m currently working on the Unzip/Zip extension for the BlackBerry 10 Native SDK.<br />
My first C/C++ Extension contribution to the Native SDK exposed the compass sensor functionality for BlackBerry 10 compatible devices. This extension allows users to monitor the compass sensor to get real-time leading information&#8211;a good candidate for that native-accelerated compass app in the future. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </i></p>
<p>One thing that helped me to accelerate my development process was to add some pre-build and post-build steps for my Eclipse project.</p>
<p><i>Pre-Build:</i></p>
<p><code>cp -r ../../../javascript_src/* ../../../output/community.compass/; cp -r ../public/* ../../../native_src/public/; cp -r ../src/* ../../../native_src/src/; cp -r ../../../TestApplication/* C:/Users/&lt;Username&gt;/RippleSites/TestApplication/</code></p>
<p><i>Post-Build:</i></p>
<p><code>mv compassJnext.so ../../../output/community.compass/device/; cp -r ../../../output/community.compass/* &lt;Path to SDK Directory&gt;/Framework/ext/community.compass/</code></p>
<p><i>&#8220;Before this addition, I would have to move folders around every time I wanted to package and sign the application. Now, everything would be put in their place and I could open up Ripple, package, sign, and deploy.</i></p>
<p><i>&#8220;Planning for that final application at the end of the program is coming underway and I hope to deliver something to the app marketplace that will be worth some coin.”</i></p>
<p>Anyone who’s been a student can appreciate that goal. Ramen noodles lose their appeal for everyone eventually, and let’s not even get started on student loans. For the end of the term, each student is working on their own application which can be either fully open source, or closed source built with open-source components. I’m looking forward to hearing their plans and working with them to bring their applications to the BlackBerry® App World™ storefront.</p>
<p>If you are interested in getting involved in our open source development, check out our site on <a href="http://blackberry.github.com/howToContribute.html" target="_new">Github</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/11883/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/11883/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11883&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/11/ucosp-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/2012/11/ucosp-midterm.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>bbUI.js version 0.9.4 has landed</title>
		<link>http://devblog.blackberry.com/2012/10/bbui-js-update/</link>
		<comments>http://devblog.blackberry.com/2012/10/bbui-js-update/#comments</comments>
		<pubDate>Fri, 19 Oct 2012 15:34:14 +0000</pubDate>
		<dc:creator>Tim N.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Java Development]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[bbui.js]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=11771</guid>
		<description><![CDATA[After a bunch of hard work, bbUI version 0.9.4 is finally here. The focus in this release has really been around bug fixes, optimizations and additional JavaScript® interfaces. The previous versions of bbUI have been VERY declarative and haven’t allowed for much manipulation after the fact via JavaScript. This release takes a step in the [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11771&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-9170" title="" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2012/05/bbui-1.jpg?w=500&#038;h=124" height="124" width="500" /></p>
<p>After a bunch of hard work, <a href="https://github.com/blackberry/bbUI.js" target="_new">bbUI version 0.9.4 is finally here</a>. The focus in this release has really been around bug fixes, optimizations and additional JavaScript® interfaces. The previous versions of bbUI have been VERY declarative and haven’t allowed for much manipulation after the fact via JavaScript. This release takes a step in the right direction to allow you to create more dynamic user interfaces via JavaScript. While there are some improvements in this department with v0.9.4, we’re not finished yet and have much more planned for <a href="https://github.com/blackberry/bbUI.js/issues?milestone=9&amp;page=1&amp;state=open" target="_new">v0.9.5</a>.</p>
<p>One of the best things I’ve seen lately is the number of people participating in the project. It’s absolutely fantastic to see members of the community grab items from the roadmap, implement them and send them back as pull requests. These pull requests are full on feature creation as well as bug fixes. A gigantic THANK YOU goes out to all those who are helping to improve bbUI!</p>
<p>Be sure to <a href="https://github.com/blackberry/bbUI.js/blob/master/CHANGELOG.md" target="_new">check out the full change log</a> for this release to know what kind of adjustments you may need to make to your JavaScript in order to run v0.9.4, and <a href="https://github.com/blackberry/bbUI.js/issues?milestone=6&amp;page=1&amp;state=closed" target="_new">check out the closed issues</a> for details on bugs that have been fixed and features that have been added. The v0.9.4 JavaScript changes are fairly minor and are meant to make your life easier as we continue to move forward.</p>
<p><span id="more-11771"></span></p>
<h3><strong>Notable Improvements</strong></h3>
<ul>
<li>Updated coloring/styling to better match Cascades™</li>
<li>New <a href="https://github.com/blackberry/bbUI.js/wiki/Screens" target="_new">Title Bar</a> styling which now allows images in the Title Bar</li>
<li>New BlackBerry® PlayBook™ tablet 2.x styling for Activity Indicators, Text Input, Image Lists and Buttons</li>
<li>Many new JavaScript interfaces to manipulate controls on-the-fly</li>
<li>Native <a href="http://www.youtube.com/watch?v=GgtsgVtB0yA&amp;feature=youtu.be" target="_new">scrolling speed increases</a></li>
<li>Screen stack bug fixes</li>
<li>Control bug fixes</li>
</ul>
<h3><strong>Changes to your code</strong></h3>
<p>I mentioned that there were a few changes that were made that will affect your applications JavaScript so let’s talk about those.</p>
<ul>
<li>bb.init()
<ul>
<li>bb10ActionBarDark renamed to actionBarDark</li>
<li>bb10ControlsDark renamed to controlsDark</li>
<li>bb10ListsDark renamed to listsDark</li>
<li>bb10HighlightColor renamed to highlightColor</li>
</ul>
</li>
<li>You no longer specify a viewport meta tag in your main index.htm. This is now supplied by the toolkit at runtime based on the OS version.</li>
<li>BlackBerry® 10 title bars now take on the control coloring.</li>
<li>You no longer need to specify a unique id for your script tags used with screens.</li>
<li><a href="https://github.com/blackberry/bbUI.js/wiki/Scroll-Panel" target="_new">Scroll Panel</a> JavaScript interfaces have been modified.</li>
<li>If you were calling bb.scroller.refresh() you will want to change your code to &#8220;if (bb.scroller) bb.scroller.refresh();&#8221;</li>
</ul>
<h3><strong>More to Come</strong></h3>
<p>We’ve now created an additional <a href="https://github.com/blackberry/bbUI.js/issues?milestone=9&amp;page=1&amp;state=open" target="_new">v0.9.5 milestone for bbUI</a> that contains additional BlackBerry 10 styling improvements, but also includes more JavaScript interfaces for dynamic screen creation and manipulation. If you’re interested in following the bbUI.js changes as they go, <a href="https://twitter.com/brcewane" target="_new">feel free to follow me on Twitter®</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/11771/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/11771/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11771&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/10/bbui-js-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3939390650b170ba28e9bf3c53d397ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">timneil1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/05/bbui-1.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>Coding Open Source with Students from Across Canada</title>
		<link>http://devblog.blackberry.com/2012/10/ucosp-program/</link>
		<comments>http://devblog.blackberry.com/2012/10/ucosp-program/#comments</comments>
		<pubDate>Fri, 05 Oct 2012 14:55:57 +0000</pubDate>
		<dc:creator>Tim W.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Case Studies & Success Stories]]></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[open source]]></category>
		<category><![CDATA[UCOSP]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=11428</guid>
		<description><![CDATA[This past weekend I participated in the kickoff sprint for a truly remarkable program: The “Undergraduate Capstone Open Source Projects”, or UCOSP. It’s a program offered by Canadian universities, where students contribute to open source projects for course credit. This term there are more than 50 students involved from 19 universities. Six of them &#8211; [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11428&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:center;"><img title="" src="http://rimdevblog.files.wordpress.com/2012/10/ucosp-2.jpg" alt="" /></p>
<p>This past weekend I participated in the kickoff sprint for a truly remarkable program: The “Undergraduate Capstone Open Source Projects”, or <a href="http://ucosp.ca/" target="_new">UCOSP</a>. It’s a program offered by Canadian universities, where students contribute to open source projects for course credit. This term there are more than 50 students involved from 19 universities. Six of them &#8211; students from UBC, Laurentian, Ottawa, and Waterloo &#8211; will be working with me on BlackBerry® Open Source projects, such as <a href="https://github.com/blackberry/bbUI.js" target="_new">bbUI.js</a> and <a href="https://github.com/blackberry/WebWorks-Community-APIs" target="_new">our community BlackBerry® WebWorks™ extensions</a>.</p>
<p><span id="more-11428"></span></p>
<p>Despite being new to mobile, open source, and BlackBerry development, most students dove right in and were able to contribute right away. Here’s what <a href="https://github.com/andywu89" target="_new">Andy Wu</a> had to say about the weekend:</p>
<p>“I had a wonderful time at the UCOSP sprint over the weekend. Walking in with no previous open source development experience, I had no idea what to expect. Our mentor, Tim Windsor was very nice and helpful; he helped us getting started with minimum down time. He showed us the basics of BlackBerry development, including application signing, packaging and deployment to the test device. My first assigned task was creating a BlackBerry 10 native extension that exposes the LED API to JavaScript. The BlackBerry 10 NDK was super easy to pickup with the sample codes provided. I was able to get the extension working with a test application by the end of the weekend. Before the weekend ended, I used the fork and pull request on GitHub for the first time. This is my first step to the open source world.”</p>
<p>Based on skillsets and interest, one half of the group is focused on extensions developed with C++ and JavaScript®, while the other half enhances the bbUI.js project for BlackBerry® 10. <a href="https://github.com/karancan" target="_new">Karan Khiani</a>, one of the students working on bbUI.js, said:</p>
<p>“This weekend has been quite breathtaking &#8211; coming together with likeminded people to work on the BlackBerry 10 platform has been a really rewarding experience. Tim guided us through the initial process, briefing us on the BB10 platform as well as guiding us in terms of the projects that we would be working on through the semester. We were given plenty of flexibility in picking between native application enhancement (C/C++) or UI enhancements using web technologies like HTML 5 and CSS 3. I decided to go with the web project.</p>
<p>&#8220;Upon arriving to Waterloo for the weekend, each of our team members picked a task that they would like to accomplish in the next few days. The task I picked was enhancing the functionality of some of the input controls for the BlackBerry 10 front end. This involved forking the existing repositories, writing the code that would add the functionality, testing the code and making a request to merge it back to the central repository. Luckily for me, I managed to finish all my tasks just in time before I had to leave Waterloo for the weekend.</p>
<p>The most refreshing aspect of my entire development experience was that I was able to set up my development environment in a matter of minutes. I look forward to spending the next few months with the guys at RIM and chipping in as much as I can for the BlackBerry 10 platform.”</p>
<p>As participants in our open source development community, you’ll be able to follow their contributions on our <a href="https://github.com/blackberry" target="_new">GitHub</a> repositories and start using their updates in your own applications. Go there now to see the first pull requests that they have made. We’ll post other updates from different students in early November and again in December, while I’ll be tweeting updates and anecdotes from my account <a href="https://twitter.com/timothywindsor" target="_new">@timothywindsor</a> with the hashtag #bbucosp. If you would like to join our growing community of open source developers, get in touch with me today!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/11428/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/11428/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11428&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/10/ucosp-program/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/2012/10/ucosp-2.jpg" medium="image" />
	</item>
	</channel>
</rss>
