<?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; Prosanta B.</title>
	<atom:link href="http://devblog.blackberry.com/author/prosanta1/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 14:19:00 +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; Prosanta B.</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>BlackBerry Tablet OS SDK Overview (VIDEO)</title>
		<link>http://devblog.blackberry.com/2011/01/blackberry-tablet-os-sdk-video/</link>
		<comments>http://devblog.blackberry.com/2011/01/blackberry-tablet-os-sdk-video/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 15:25:51 +0000</pubDate>
		<dc:creator>Prosanta B.</dc:creator>
				<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[adobe flash builder]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[BlackBerry PlayBook apps]]></category>
		<category><![CDATA[burrito]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[playbook]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[simulator]]></category>
		<category><![CDATA[tablet]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=2950</guid>
		<description><![CDATA[BlackBerry Tablet OS SDK and Simulator overview video. Demonstrates support for Adobe Flash Builder 4 and Flash Builder Burrito.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2950&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<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/DG3SYonasVw?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<p></p>
<p>[<a href="http://www.youtube.com/watch?v=DG3SYonasVw">YouTube link for mobile viewing</a>]</p>
<p>Attention BlackBerry® PlayBook™ tablet developers! As a follow up to our <a href="http://devblog.blackberry.com/2010/12/blackberry-playbook-questions/" title="BlackBerry PlayBook Tablet Webcast series">BlackBerry PlayBook Tablet Webcast series</a>, we’ve put together a video overview demonstrating how easy it is for developers to use the BlackBerry Tablet OS SDK Beta2 for Adobe® AIR® and the BlackBerry PlayBook Simulator Beta to develop BlackBerry PlayBook applications.</p>
<p>In the above video, I walk through deploying your app to the BlackBerry PlayBook Simulator and the similarities between the Simulator and testing your app on an actual BlackBerry PlayBook tablet. I also demonstrate how the BlackBerry Tablet OS SDK integrates directly into Adobe® Flash Builder 4 and the GUI builder in Flash Builder “Burrito”.</p>
<p>With the tools available to developers, practically anyone can create a BlackBerry PlayBook application, so start building! You might also be interested in learning that developers who create a qualifying application for the BlackBerry PlayBook tablet prior to its initial North American release are eligible for a <a href="http://us.blackberry.com/developers/tablet/playbook_offer.jsp?IID=DEVFREEBK01042011" target="_new">free BlackBerry PlayBook tablet</a>.</p>
<p><strong><a href="http://us.blackberry.com/developers/tablet/devresources.jsp?IID=DEVTABOS01042011" target="_new">BlackBerry Tablet OS Development Resources (SDK, Simulator, Webcasts)</a></strong></p>
<p>Don’t forget get to also check out my friend Matthew’s new <a href="http://blogs.blackberry.com/2011/01/blackberry-playbook-video" target="_new" title="BlackBerry PlayBook Web Fidelity video">BlackBerry PlayBook Web Fidelity video</a> on the Inside BlackBerry blog, which demonstrates rich multimedia, Adobe Flash games and social networking websites like Facebook running in the BlackBerry Browser.</p>
<p>Thanks also to our friends at Universal Mind for providing the code and app used in the video!  For more information, please visit <a href="http://www.universalmind.com/" target="_new">http://www.universalmind.com/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/2950/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/2950/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2950&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2011/01/blackberry-tablet-os-sdk-video/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8721ed983743f63d33e3766566e941df?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Prosanta B.</media:title>
		</media:content>
	</item>
		<item>
		<title>Q&amp;A from the BlackBerry PlayBook Tablet Webcast series</title>
		<link>http://devblog.blackberry.com/2010/12/blackberry-playbook-questions/</link>
		<comments>http://devblog.blackberry.com/2010/12/blackberry-playbook-questions/#comments</comments>
		<pubDate>Wed, 22 Dec 2010 15:19:28 +0000</pubDate>
		<dc:creator>Prosanta B.</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[flash builder]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[playbook]]></category>
		<category><![CDATA[playbook apps]]></category>
		<category><![CDATA[tablet os]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=2925</guid>
		<description><![CDATA[Frequently asked questions from the BlackBerry PlayBook Tablet Webcast series answered by our BlackBerry platform developer experts.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2925&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-2458" title="BlackBerry PlayBook tablet" src="http://rimdevblog.files.wordpress.com/2010/12/playbook_bg.jpg?w=600&#038;h=307" alt="" width="600" height="307" /></p>
<p>The <a title="BlackBerry® PlayBook® Tablet Webcast series" href="http://us.blackberry.com/developers/tablet/devresources.jsp?IID=DEVWEB1222" target="_new">BlackBerry® PlayBook® Tablet Webcast series</a> wrapped up a couple of weeks ago with <a href="http://webcast.streamlogics.com/audience/index.asp?eventid=70532953" target="_new">the final session around BlackBerry App World™</a>, and in my opinion, the entire series was a big success.  I really hope everyone came away with something that you can use in your own applications so that we can get them up onto BlackBerry App World, and hopefully <a href="http://us.blackberry.com/developers/tablet/playbook_offer.jsp?IID=DEVPBK1222" target="_new">get a device out to you</a>!</p>
<p>Over the course of the four webcasts that I took part in, we received hundreds of really great questions, and we tried to answer as many as we could while on the air.  Going over the questions afterward, I wanted to post some of the most common questions that came in and address the most common themes that came up.  In no particular order:</p>
<p><span id="more-2925"></span></p>
<p><strong>Q: What are the SDKs that will be available and when will they be released?</strong><br />
A: The BlackBerry PlayBook OS will support application development in Adobe® AIR®, HTML5 and BlackBerry® WebWorks™, Native C/C++ with support for OpenGL and Java. The Adobe AIR SDK for BlackBerry PlayBook is available today. More details on the availability of SDKs for developing in HTML5, BlackBerry WebWorks, Native and Java will be coming soon.</p>
<p><strong>Q: Is Flash Builder 4 required to build apps?</strong><br />
A: No &#8211; in fact, anything that can generate a SWF file can be used to build BlackBerry PlayBook tablet apps.  <a href="http://www.blackberry.com/developers/tabletos/myfirstapp?IID=DEVWBC1222" target="_new">Webcast #2</a> went through how to use Adobe® Flash® Professional CS5 and we are planning on building a Flash Pro plugin to help developers build apps.  The webcast also showed how to use the command line to package an application for the BlackBerry PlayBook tablet.  We also recently released <a href="http://us.blackberry.com/developers/tablet/devresources.jsp?IID=DEVWEB21222" target="_new">a new version of the SDK</a> which works seamlessly with the preview version of Adobe Flash Builder 4.5 (Burrito) as well.</p>
<p><strong>Q. What types of persistent storage are available on the BlackBerry PlayBook?</strong><br />
A. There are 3 different types of persistent storage on the data:</p>
<ol>
<li><a title="SharedObject" href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/SharedObject.html" target="_new">SharedObject</a> – This is the standard AIR SharedObject API used to store limited amounts of data in very quick access memory.  Typically, you’ll store variables or other information that you need to access very quickly or frequently in the SharedObject store.</li>
<li><a title="SQLite" href="http://www.adobe.com/devnet/air/flex/articles/sqlite_db_api_in_air.html" target="_new">SQLite</a> – The standard AIR SQLite API’s can be used to leverage the SQLite database on the device.  Generally, you’ll be storing any medium to large sized data in the SQLite database.  Since SQLite is in memory, this is typically the best combination between speed and size for data storage.</li>
<li><a title="FileIO" href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.html" target="_new">FileIO</a> – The standard AIR File I/O API’s can be used to store data or files in the device memory.  Any types of multimedia or images will typically be stored using File I/O.  The tradeoff for being able to store essentially any file size is that this is typically the slower of the mechanisms for retrieving stored information from the persistent store, however for any type of media files, this is the recommended approach for storing them on the device.</li>
</ol>
<p>The other major line of questions that came during the webcast focused on BlackBerry App World and the free BlackBerry PlayBook tablet offer.  We’ve since been able to clarify the offer and provide more details on it, which you can find <a href="http://us.blackberry.com/developers/tablet/playbook_offer.jsp?IID=DEVPBK21222" target="_new">here</a>.</p>
<p>The press release posted <a href="http://us.blackberry.com/newsroom/news/press/release.jsp?id=4577" target="_new">here</a> also offers a lot of answers to the questions that came in during the session.  Also, at Adobe MAX, there was a presentation given that will undoubtedly help out a lot of developers in building UI&#8217;s for apps: <a href="http://2010.max.adobe.com/online/2010/MAX260_1288217641375UQJD" target="_new">Developing Adobe AIR apps for the BlackBerry Tablet OS</a>.</p>
<p>For even more information on developing for the BlackBerry PlayBook tablet and answers to questions, please feel free to watch any of the webcasts that were recorded:</p>
<p><a href="http://webcast.streamlogics.com/audience/index.asp?eventid=23141115" target="_new">Week 1</a></p>
<ul>
<li>Setting up your development environment</li>
<li>Creating your first “hello world” Adobe AIR application for the BlackBerry PlayBook</li>
<li>Packaging your Adobe AIR application for the BlackBerry PlayBook</li>
<li>How to test your applications on the device simulator</li>
</ul>
<p><a href="http://www.blackberry.com/developers/tabletos/myfirstapp" target="_new">Week 2</a></p>
<ul>
<li>using Flash Builder and Flash Professional to create applications targeting the BlackBerry PlayBook tablet</li>
<li>Use the Adobe AIR SDK and BlackBerry Tablet OS SDK to create applications for the BlackBerry PlayBook tablet</li>
<li>Test and Debug your application using Flash Builder and the BlackBerry Tablet Simulator</li>
</ul>
<p><a href="http://www.blackberry.com/developers/tabletos/deviceintegration" target="_new">Week 3</a></p>
<ul>
<li>Adobe AIR 2.5 device integration APIs</li>
<li>BlackBerry Tablet OS device integration APIs</li>
<li>Testing and Debugging your application BlackBerry Tablet Simulator</li>
</ul>
<p><a href="http://webcast.streamlogics.com/audience/index.asp?eventid=15766542" target="_new">Week 4</a></p>
<ul>
<li>Creating an application icon for the BlackBerry PlayBook tablet</li>
<li>Building optimized screens for the BlackBerry PlayBook tablet</li>
<li>Learn how to apply skins to your UI controls</li>
</ul>
<p><a href="http://webcast.streamlogics.com/audience/index.asp?eventid=70532953" target="_new">Week 5</a></p>
<ul>
<li>Walkthrough of the BlackBerry App World Submission Process</li>
<li>Selling your app on BlackBerry App World and how revenue is paid</li>
<li>Overview of the BlackBerry Commercial Services (Advertising and Payment)</li>
<li>Best Practices for Global Distribution of your Application</li>
</ul>
<p>And lastly, I have also started up <a href="http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/Webcast-Q-amp-A/m-p/638693#M1098" target="_new">a forum thread on the BlackBerry Developer Forums</a> in order to try and get more of your questions answered.  If you have anything specific you’d like answered, please feel free to post a message on the forum so the entire community can benefit from the information.</p>
<p>Please feel free to post a question in the comments section below if you’d like.  Thanks for tuning in to the webcasts and joining us on Dev Blog!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/2925/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/2925/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2925&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/12/blackberry-playbook-questions/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8721ed983743f63d33e3766566e941df?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Prosanta B.</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/12/playbook_bg.jpg" medium="image">
			<media:title type="html">BlackBerry PlayBook tablet</media:title>
		</media:content>
	</item>
		<item>
		<title>New fully functional samples in the Developer Resource Center!</title>
		<link>http://devblog.blackberry.com/2010/11/new-resource-samples/</link>
		<comments>http://devblog.blackberry.com/2010/11/new-resource-samples/#comments</comments>
		<pubDate>Wed, 03 Nov 2010 20:16:20 +0000</pubDate>
		<dc:creator>Prosanta B.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[samples]]></category>
		<category><![CDATA[ui]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=2299</guid>
		<description><![CDATA[Great news for the BlackBerry® developer community - we'll be posting some new fully functional Web apps in the Developer Resource Center for you to use!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2299&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-2677" src="http://rimdevblog.files.wordpress.com/2010/11/resources1.jpg?w=600&#038;h=216" alt="" width="600" height="216" /></p>
<p>You’ve asked for it, now we’re delivering it! Over the past couple of months, the BlackBerry® developer community has taken a strong interest in some of the sample code that we’ve published, and with the demand coming in, we decided to build some fully functional Web Apps for you guys to take apart, dissect, and use however you’d like – including copying and pasting code into your own web applications.  The first in a slew of new sample web apps will be released into the <a href="http://na.blackberry.com/eng/developers/resources?IID=DEVRES02" target="_new">Developer Resource Center</a> over the coming weeks!</p>
<p>The two samples that we’ve just posted are an RSS reader and Weather application.  Both of these apps are 100% Web Apps built entirely using web technologies (HTML, JS, CSS).  That’s right, not a single shred of Java® code in either of these!</p>
<p>The <a href="http://supportforums.blackberry.com/t5/Web-Development/Sample-Code-RSS-Reader/ta-p/589890" target="_new">RSS application</a> allows you to set any RSS feed you’d like and pull down the content on the fly. It lets you manage those RSS feeds in an easy-to-use UI, and it stores your feeds for you so they’ll always be ready when you are. This sample app demonstrates the use of tight integration with other apps (BlackBerry® Browser and Messaging applications), GPS, and integration into the BlackBerry Menu as well as how to go out over the network to retrieve and use content effectively.</p>
<p>The <a href="http://supportforums.blackberry.com/t5/Web-Development/Sample-Code-Weather-application/ta-p/589884" target="_new">Weather application</a> really demonstrates the blending of a fantastic UI with functionality. I have to say that this one really looks great, and is so easy to use! This sample app also shows off the use of a great UI, File I/O, GPS, and solid integration into the BlackBerry Menu.</p>
<p>Post a comment below and let us know what you think of these two samples, or the types of samples you’d like to see in the future.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/2299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/2299/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2299&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/11/new-resource-samples/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8721ed983743f63d33e3766566e941df?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Prosanta B.</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/11/resources1.jpg" medium="image" />
	</item>
		<item>
		<title>BlackBerry DEVCON Web Sessions: More Blogger Picks</title>
		<link>http://devblog.blackberry.com/2010/09/devcon-more-web-session-picks/</link>
		<comments>http://devblog.blackberry.com/2010/09/devcon-more-web-session-picks/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 15:47:07 +0000</pubDate>
		<dc:creator>Prosanta B.</dc:creator>
				<category><![CDATA[Dev Con]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[DevCon 2010]]></category>
		<category><![CDATA[session picks]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=2346</guid>
		<description><![CDATA[Prosanta's picks for the best Web sessions at this year's DEVCON!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2346&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This year’s session catalogue at <a href="http://www.blackberrydevcon.com/?CPID=DEVDC03" target="_new">BlackBerry® DEVCON</a> is full of fantastic web development sessions showcasing the newly overhauled BlackBerry web platform.  From the recently released BlackBerry® Widget SDK to the new and exciting BlackBerry® 6 browser running on the WebKit engine, this year’s DEVCON is sure to be the perfect event for anyone looking to build web content for the BlackBerry smartphone!</p>
<p>I was recently asked to pick the top three sessions that I’m most looking forward to, and quite frankly, it’s shaping up to be harder than I had expected.  With so many sessions to check out this year &#8211; especially for web developers &#8211; narrowing it down to only three is really quite a task.  Here goes!</p>
<p><span id="more-2346"></span></p>
<p><strong>DEV10: The New BlackBerry Widget SDK</strong><br />
The BlackBerry Widget SDK is really exploding on the scene with some huge momentum behind it.  Between the power of the BlackBerry Widget APIs and the new BlackBerry WebKit rendering engine, web developers are finding it incredibly easy to jump aboard the BlackBerry Widget SDK to create rich, integrated apps for their user base.  It’s never been easier to develop for the BlackBerry platform!  Coming from a .NET background, I found it incredibly easy to download the BlackBerry Widget SDK and BlackBerry Web Plug-in for Microsoft® Visual Studio and get cracking on developing fantastic apps.</p>
<p>In this session, Adam Stanley (Application Development Consultant) will be going over the BlackBerry APIs and explaining how to leverage the BlackBerry Widget SDK to create applications that can easily be distributed to users through mobile storefronts and other mechanisms.</p>
<p><strong>DEV48: Introduction to the BlackBerry WebKit: The New Power Behind Web and Widget Applications</strong><br />
WebKit has become the industry standard for mobile web browsing, and for good reason.  I’m incredibly excited to hear what the community has to say about the new BlackBerry WebKit browser at DEVCON, and I’m definitely pumped for this session to introduce so many web developers to the benefits of leveraging this new engine!</p>
<p>During this session, Tim Neil (Manager of Development Tools) and George Staikos (Senior Director of the BlackBerry® Torch™ Mobile Team) will cover how to leverage the benefits granted by the WebKit engine on the BlackBerry platform.  They’ll discuss a lot of the differences between the old browsers and the new ones, and provide a little bit of insight into where the platform is heading.</p>
<p><strong>COM28: Anatomy of a Real-world BlackBerry Widget</strong><br />
We’ve been asked so many times to show people an example of a real-world BlackBerry Widget, since they had never seen one before.  To which I always smile and reply that that’s the point of building a Widget – so the end user doesn’t actually know it’s a web application.  A BlackBerry Widget can be as complex or as simple as a web application can be; however, to the end user, it’ll look exactly the same as a Java® application, which is why I’m so excited about this session.</p>
<p>I’ve been working with the guys over at Toumetis to develop BlackBerry Widgets, and they’ve come up with some pretty impressive Widgets, to say the least.  During the session, Mark Wilnerd and Andrew Terry from Toumetis will discuss the ins and outs of the BlackBerry Widget SDK in relation to their experiences developing a mobile banking solution.</p>
<p>Phew!  Given all of the fantastic content being delivered in San Francisco this year, it was really not easy to pick out only three sessions!  I’m so excited to be attending the event this year, and it’s sure to be packed with opportunities to meet you all and find out what you’re working on.  Let me know in the comments below which sessions you’re most looking forward to!</p>
<p>Hope to see you all there, and please do come over and say hi!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/2346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/2346/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2346&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/09/devcon-more-web-session-picks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8721ed983743f63d33e3766566e941df?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Prosanta B.</media:title>
		</media:content>
	</item>
		<item>
		<title>HTML5 Elements for BlackBerry</title>
		<link>http://devblog.blackberry.com/2010/08/blackberry-html5/</link>
		<comments>http://devblog.blackberry.com/2010/08/blackberry-html5/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 12:32:57 +0000</pubDate>
		<dc:creator>Prosanta B.</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[blackberry 6]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[webkit]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=2004</guid>
		<description><![CDATA[New HTML5 elements supported in BlackBerry 6 and the BlackBerry Browser.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2004&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>As I’m sure you’ve heard by now, <a href="http://devblog.blackberry.com/2010/08/developing-new-blackberry-browser/" title="Developing the New BlackBerry Browser">WebKit has come to BlackBerry®</a>!  This is an exciting time not only for the BlackBerry Web Platform, but for web technologies in general.  With the combination of <a href="http://webkit.org" target="_new">WebKit</a> and the new <a href="http://www.w3.org/TR/html5" target="_new">W3C standard for HTML5</a>, web applications are going to become more and more powerful.</p>
<p>Here at Research In Motion® (RIM), we’re incredibly excited about this development. The support of WebKit and HTML5 in <a href="http://devblog.blackberry.com/2010/07/blackberry-6-developers/">BlackBerry® 6</a> &#8211; along with the recent introduction of <a href="http://devblog.blackberry.com/2010/08/blackberry-6-widgets/">BlackBerry® Widgets</a> &#8211; shows the way the platform is changing and growing for web developers looking to make rich, compelling apps that have the same look, feel and features as a native application.</p>
<p>HTML5 contains lots of <a href="http://www.w3schools.com/html5/html5_reference.asp" target="_new">new elements</a> for developers to leverage, including elements to help make web content easier to index and optimize for search engines; elements that enable you to play media in your application; elements that let you take it offline; and a plethora of other features to make your application a thing of beauty.  The BlackBerry implementation of WebKit and HTML5 will be no different &#8211; going forward with the BlackBerry 6 Browser and Widget engines, you’ll be able to leverage all of the same elements that you would for any desktop browsers with virtually no limitations.</p>
<p>These elements include:</p>
<ul>
<li><a href="http://dev.w3.org/html5/spec/Overview.html#the-canvas-element" target="_new">Canvas</a></li>
<li><a href="http://dev.w3.org/html5/spec/Overview.html#parsing" target="_new">Parsing</a></li>
<li><a href="http://dev.w3.org/html5/spec/Overview.html#video" target="_new">Video</a></li>
<li><a href="http://dev.w3.org/html5/spec/Overview.html#audio" target="_new">Audio</a></li>
<li><a href="http://dev.w3.org/html5/spec/Overview.html#forms" target="_new">Forms (partial implementation)</a></li>
<li><a href="http://dev.w3.org/geo/api/spec-source.html" target="_new">Geolocation</a></li>
<li><a href="http://dev.w3.org/html5/workers" target="_new">Workers</a></li>
<li><a href="http://dev.w3.org/html5/spec-author-view/timers.html" target="_new">Timers</a></li>
</ul>
<p>With the added capabilities of HTML5 to the BlackBerry® Browser, web developers will be able to create content that they would have never been able to run through the mobile web before &#8211; compelling games, interactive media, 3D graphics, and the list goes on. HTML5 looks to be an invaluable tool for web developers around the world!</p>
<p>Here’s a few blogs and websites with some examples of the compelling features of HTML5:</p>
<ul>
<li><a href="http://html5demos.com" target="_new">HTML5Demos</a></li>
<li><a href="http://html5gallery.com" target="_new">HTML5Gallery</a></li>
<li><a href="http://www.youtube.com/html5" target="_new">YouTube</a></li>
<li><a href="http://visionwidget.com/showcase/graphics/521-examples-of-fresh-html5-websites.html" target="_new">VisionWidget</a></li>
</ul>
<p>Please feel free to post your HTML5 experiences so far, and share with us how you plan to leverage this exciting new technology!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/2004/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/2004/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2004&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/08/blackberry-html5/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8721ed983743f63d33e3766566e941df?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Prosanta B.</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Invoke APIs in your BlackBerry widget</title>
		<link>http://devblog.blackberry.com/2010/06/using-invoke-apis-in-your-blackberry-widget/</link>
		<comments>http://devblog.blackberry.com/2010/06/using-invoke-apis-in-your-blackberry-widget/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 05:00:00 +0000</pubDate>
		<dc:creator>Prosanta B.</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=1670</guid>
		<description><![CDATA[Detailed description of using BlackBerry invoke APIs in BlackBerry widgets (with code).<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=1670&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>One feature of <a href="http://na.blackberry.com/eng/developers/started/super_apps.jsp" target="_new" title="Super Apps">Super Apps</a> is that they integrate with the native applications on BlackBerry® smartphones.  So, how do you go about doing this?  For BlackBerry® Widgets, it’s actually pretty simple. The BlackBerry® Widget API provides the <a href="http://www.blackberry.com/developers/docs/widgetapi/blackberry.invoke.JavaArguments.html" target="_new" title="Invoke">Invoke</a> object, which allows you to design your application to seamlessly work with the other applications on the BlackBerry smartphone. This results in a richer BlackBerry smartphone user experience.</p>
<p>By leveraging the Invoke API, you can invoke virtually any other application on the BlackBerry smartphone through a simple API call, where you’ll set a parameter for the app you want to invoke and then pass in any parameters that application is expecting.  Right out of the box, the BlackBerry API contains these APIs to invoke:</p>
<p>• <a href="http://www.blackberry.com/developers/docs/widgetapi/blackberry.invoke.AddressBookArguments.html" target="_new" title="Address Book">Address Book</a></p>
<div class="sample">
<pre>
&lt;script type="text/javascript"&gt;
var contact = new blackberry.pim.Contact();
contact.firstName = 'Joe';
contact.lastName = 'Smith';

var args = new blackberry.invoke.AddressBookArguments(contact);
args.view = 0;

blackberry.invoke.invoke(blackberry.invoke.APP_ADDRESSBOOK, args);
&lt;/script&gt;
</pre>
</div>
<p><span id="more-1670"></span></p>
<p>• <a href="http://www.blackberry.com/developers/docs/widgetapi/blackberry.invoke.BrowserArguments.html" target="_new" title="BlackBerry Browser">BlackBerry Browser</a></p>
<div class="sample">
<pre>
&lt;script type="text/javascript"&gt;
var args = new blackberry.invoke.BrowserArguments('http://www.blackberry.com');
blackberry.invoke.invoke(blackberry.invoke.APP_BROWSER, args);
&lt;/script&gt;
</pre>
</div>
<p>• <a href="http://www.blackberry.com/developers/docs/widgetapi/blackberry.invoke.CalendarArguments.html" target="_new" title="Calendar">Calendar</a></p>
<div class="sample">
<pre>
&lt;script type="text/javascript"&gt;
var appt = new blackberry.pim.Appointment();
appt.summary = 'Get Together For lunch';

var args = new blackberry.invoke.CalendarArguments(appt);
args.view = 0;

blackberry.invoke.invoke(blackberry.invoke.APP_CALENDAR, args);  // Calendar
&lt;/script&gt;
</pre>
</div>
<p>• <a href="http://www.blackberry.com/developers/docs/widgetapi/blackberry.invoke.CameraArguments.html" target="_new" title="Camera">Camera</a></p>
<div class="sample">
<pre>
&lt;script type="text/javascript"&gt;

var args = new blackberry.invoke.CameraArguments();
args.view = 1; // Video Recorder

blackberry.invoke.invoke(blackberry.invoke.APP_CAMERA, args);  // Video Recorder Application
&lt;/script&gt;
</pre>
</div>
<p>• <a href="http://www.blackberry.com/developers/docs/widgetapi/blackberry.invoke.MapsArguments.html" target="_new" title="Maps">Maps</a></p>
<div class="sample">
<pre>
&lt;script type="text/javascript"&gt;
var args = new blackberry.invoke.MapsArguments(43.26, -80.30);
blackberry.invoke.invoke(blackberry.invoke.APP_MAPS, args);
&lt;/script&gt;
</pre>
</div>
<p>• <a href="http://www.blackberry.com/developers/docs/widgetapi/blackberry.invoke.MemoArguments.html" target="_new" title="MemoPad">MemoPad</a></p>
<div class="sample">
<pre>
&lt;script type="text/javascript"&gt;
var memo = new blackberry.pim.Memo();
memo.title = 'Oranges I like';
memo.note = 'navel';

var args = new blackberry.invoke.MemoArguments(memo);
args.view = 0; // New

blackberry.invoke.invoke(blackberry.invoke.APP_MEMOPAD, args);  // Memo Pad
&lt;/script&gt;
</pre>
</div>
<p>• <a href="http://www.blackberry.com/developers/docs/widgetapi/blackberry.invoke.MessageArguments.html" target="_new" title="Email">Email</a></p>
<div class="sample">
<pre>
&lt;script type="text/javascript"&gt;

var args = new blackberry.invoke.MessageArguments('foo@domain.com', 'hello', 'world');
args.view = blackberry.invoke.MessageArguments.VIEW_NEW; // New

blackberry.invoke.invoke(blackberry.invoke.APP_MESSAGES, args);  // New Message
&lt;/script&gt;
</pre>
</div>
<p>• <a href="http://www.blackberry.com/developers/docs/widgetapi/blackberry.invoke.PhoneArguments.html" target="_new" title="Phone">Phone</a></p>
<div class="sample">
<pre>
&lt;script type="text/javascript"&gt;

var args = new blackberry.invoke.PhoneArguments('555-555-5555', true);
args.view = blackberry.invoke.PhoneArguments.VIEW_CALL;

blackberry.invoke.invoke(blackberry.invoke.APP_PHONE, args);
&lt;/script&gt;
</pre>
</div>
<p>• <a href="http://www.blackberry.com/developers/docs/widgetapi/blackberry.invoke.SearchArguments.html" target="_new" title="Search">Search</a></p>
<div class="sample">
<pre>
&lt;script type="text/javascript"&gt;
var args = new blackberry.invoke.SearchArguments('build', 'Joe');
blackberry.invoke.invoke(blackberry.invoke.APP_SEARCH, args);  // Search
&lt;/script&gt;
</pre>
</div>
<p>• <a href="http://www.blackberry.com/developers/docs/widgetapi/blackberry.invoke.TaskArguments.html" target="_new" title="Tasks">Tasks</a></p>
<div class="sample">
<pre>
&lt;script type="text/javascript"&gt;
var task= new blackberry.pim.Task();
task.summary = 'Pick up Milk';

var args = new blackberry.invoke.TaskArguments(task);
args.view = 0;

blackberry.invoke.invoke(blackberry.invoke.APP_TASKS, args);
&lt;/script&gt;
</pre>
</div>
<p>• <a href="http://www.blackberry.com/developers/docs/widgetapi/blackberry.invoke.JavaArguments.html" target="_new" title="Other Java applications">Any other Java application on the device</a></p>
<div class="sample">
<pre>
&lt;script type="text/javascript"&gt;

var args = new blackberry.invoke.JavaArguments('net_rim_bb_memo_app');
blackberry.invoke.invoke(blackberry.invoke.APP_JAVA, args);  // Java

&lt;/script&gt;
</pre>
</div>
<p>By leveraging these APIs, you can come up with a compelling user story or use case to design your application as a one-stop shop for anyone looking to organize their daily tasks through your app.  Open an email, save a meeting invite, set GPS to locate the meeting room, associate tasks with that meeting – these are just a few of the countless ways you can easily leverage the Invoke APIs, taking your BlackBerry Widget to the next level and embracing <a href="http://na.blackberry.com/eng/developers/started/super_apps.jsp" target="_new" title="Super Apps">the Super App concept</a>!</p>
<p>Have you leveraged any of the Invoke APIs yet? Please share your stories with us here in the comments.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/1670/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/1670/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=1670&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/06/using-invoke-apis-in-your-blackberry-widget/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8721ed983743f63d33e3766566e941df?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Prosanta B.</media:title>
		</media:content>
	</item>
		<item>
		<title>How can I deploy my BlackBerry Widget?</title>
		<link>http://devblog.blackberry.com/2010/06/how-can-i-deploy-my-blackberry-widget/</link>
		<comments>http://devblog.blackberry.com/2010/06/how-can-i-deploy-my-blackberry-widget/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 20:23:40 +0000</pubDate>
		<dc:creator>Prosanta B.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[app world]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[desktop manager]]></category>
		<category><![CDATA[ota]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=1657</guid>
		<description><![CDATA[How to deploy BlackBerry Widgets to customers via four options.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=1657&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter" title="BlackBerry App World" src="http://rimdevblog.files.wordpress.com/2010/06/blackberry-app-world.jpg?w=600&#038;h=375" alt="" width="600" height="375" /></p>
<p>One of the questions I am asked quite often is how to get a BlackBerry® Widget into the market, or how to deploy it to users. The answer to this requires a bit of an understanding of the underlying technology of a BlackBerry Widget.</p>
<p>In the end, the BlackBerry Widget is a Java® application that leverages the BrowserField2 component.  Since it’s a Java application, your Widget can be deployed using any of the available means that any other BlackBerry® application would leverage.  Something to be aware of, however, is that your application will require to be signed using the Research In Motion® (RIM) code signing keys.  Once signed, your application can then be deployed in one of four typical means:</p>
<ol>
<strong>1.	<a href="http://na.blackberry.com/eng/services/appworld/">BlackBerry App World</a>™</strong><br />
BlackBerry App World is the marketplace provided by RIM to deploy your apps, and is considered to be a premier vehicle to distribute your application. Mike has written a terrific summary of some of the <a href="http://devblog.blackberry.com/2010/04/blackberry-app-world-vendor-portal-updated/">new features available in BlackBerry App World 2.0</a>.</p>
<p><span id="more-1657"></span></p>
<p><strong>2.	Over The Air (OTA) download through the BlackBerry Browser</strong><br />
If you’ve developed a BlackBerry Widget, I’m guessing that you’re probably a web developer, which means odds are pretty good that you’ve got a website.  OTA deployment can be done through the BlackBerry® Browser, where the user will download the application from your website.  Since the browser comes installed by default on every single BlackBerry smartphone sold today, you have a tremendous amount of consumers out there that are only a few clicks away from downloading your application!</p>
<p>When deploying OTA, all you’ll need to do is host the JAD file with the respective COD files for your application and then point the URL to the JAD file.  It’s the same thing as posting a file to download on a website &#8211; just use <em>a href=&#8221;[path to my jad file]&#8220;</em> to link to your JAD and allow the user to download the application.</p>
<p>Take a look at how this feature is set up in this fantastic video going over the <a href="http://www.blackberry.com/DevMediaLibrary/view.do?name=OTA">OTA download through the BlackBerry Browser</a>.  Also, here’s a great KB article outlining the steps needed to <a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB17084">download over WAP</a>.</p>
<p><strong>3. OTA Push via BlackBerry Enterprise Server</strong><br />
A BlackBerry Enterprise Server administrator is able to push applications to any BlackBerry smartphone connected to that particular BlackBerry Enterprise Server.  One thing to note is that utilizing BlackBerry Enterprise Server Push to send applications down to BlackBerry smartphones is only available via corporate environments, since it requires a BlackBerry Enterprise Server.</p>
<p>The steps for <a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB03748&amp;sliceId=SAL_Public&amp;dialogID=151008089&amp;stateId=1%200%20151002852">creating a software configuration to deploy third-party apps from a BlackBerry Enterprise Server over a wireless network</a> can be found in this knowledge base article. Additionally, here’s a <a href="http://www.blackberry.com/DevMediaLibrary/view.do?name=overtheairpush">great video</a> highlighting how to accomplish this type of deployment and some of the interesting features and options available to you!</p>
<p><strong>4. <a href="http://na.blackberry.com/eng/services/desktop/">BlackBerry Desktop Manager</a></strong><br />
You can use this option for most applications; it uses the BlackBerry Application Loader that is installed as part of the BlackBerry Desktop Software.  An automated application installer installs the application’s .alx file locally on the user’s computer. The user then navigates to the file and installs it on their BlackBerry smartphone.</p>
<p>A detailed step by step guide is available through this video on the <a href="http://www.blackberry.com/DevMediaLibrary/view.do?name=desktopmanager">BlackBerry Developers Website</a>.</ol>
<p>For further reading, Andre Fabris has written a fantastic tutorial outlining all of the deployment models available for you to <a href="http://rimdevblog.files.wordpress.com/2010/06/a70_how_to_deploy_and_distribute_applications_v1.pdf">distribute your application to market</a> as quickly and effectively as possible.</p>
<p>Depending on which deployment model &#8211; or combination of models &#8211; you choose, there will likely be a few prerequisites that you’ll need to set up in order to effectively make use of them.  We’ve provided a document which <a href="http://rimdevblog.files.wordpress.com/2009/11/deploying_java_applications.pdf">summarizes the methods</a> and the prerequisites that you’ll have to set up before leveraging them.</p>
<p>For more information and demonstrations on how to leverage these deployment mechanisms, I’d encourage you to take a look at the <a href="http://na.blackberry.com/eng/developers/resources/videolibrary.jsp#tab_tab_deployment">BlackBerry Developer Video Library</a>, where there are several videos that provide in-depth explanations of the entire deployment process for a BlackBerry Application.  I’d like to strongly encourage everyone to keep up the hard work, and leverage these deployment methods to get your apps into consumers’ hands!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/1657/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/1657/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=1657&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/06/how-can-i-deploy-my-blackberry-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8721ed983743f63d33e3766566e941df?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Prosanta B.</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/06/blackberry-app-world.jpg" medium="image">
			<media:title type="html">BlackBerry App World</media:title>
		</media:content>
	</item>
		<item>
		<title>Working around the backlight timeout with JavaScript and meta tags</title>
		<link>http://devblog.blackberry.com/2010/05/working-around-the-backlight-timeout/</link>
		<comments>http://devblog.blackberry.com/2010/05/working-around-the-backlight-timeout/#comments</comments>
		<pubDate>Fri, 21 May 2010 10:00:00 +0000</pubDate>
		<dc:creator>Prosanta B.</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[meta tags]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[webworks]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=1627</guid>
		<description><![CDATA[Using JavaScript and meta tags to bypass the BlackBerry smartphone backlight timeout.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=1627&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The JavaScript® engine used in the BlackBerry® Browser is designed to terminate any scripts running longer than 10 seconds, or to stop running your JavaScript after the device backlight goes out.  This can be a little troublesome when your application is designed to use the settimeout function to trigger an event after a given interval.  You obviously don’t want your script to stop running while the user is still on your webpage.  This behavior was initially implemented in the BlackBerry Browser to save battery life and network bandwidth; however, more and more web applications are leveraging AJAX and the setTimeout function to trigger timed JavaScript calls, which are then being blocked out by the backlight timeout on the BlackBerry smartphone device.</p>
<p>In this blog post, I’m going to show you an easy way to have your JavaScript code fired up again and running as soon as the device is woken up from the backlight going out.  The method below actually came about because of the need to check if a session had expired while the user was still on a webpage, so there are some serious real world applications that could benefit from using this method.  This workaround won’t actually prevent the backlight from dimming or the device from locking; it will instead re-trigger the JavaScript code once the device is woken up from the backlight being dimmed, acting as a good substitute to the setTimeout function.</p>
<p><span id="more-1627"></span></p>
<p>The workaround is really just as simple as using an iframe with a meta tag.  The solution consists of two files; index.html and autorefresh.html.</p>
<p><u>index.html</u></p>
<div class="sample">
<pre>
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;This is a test&lt;/title&gt;
&lt;script type="text/javascript"&gt;
function wakeUp() {
var time = new Date();
document.getElementById('spnTime').innerHTML = time.toLocaleTimeString();
}
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
The time is: &lt;span id="spnTime"&gt;&lt;/span&gt;
<a href="http://autorefresh.html">http://autorefresh.html</a>
&lt;/body&gt;
&lt;/html&gt;
</pre>
</div>
<p>
<p><u>autorefresh.html</u></p>
<div class="sample">
<pre>
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;META HTTP-EQUIV="refresh" CONTENT="5"/&gt;
&lt;META HTTP-EQUIV="CACHE-CONTROL" CONTENT="PUBLIC"/&gt;
&lt;script language="javascript"&gt;window.parent.wakeUp();&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
iframe
&lt;/body&gt;
&lt;/html&gt;
</pre>
</div>
<p>
<p>This code will actually trigger the JavaScript function ‘wakeUp’ every five seconds.  When the device backlight dims, it will stop running; however, once the device backlight is activated again, the refresh meta tag triggers and begins its timing again.  Five seconds after waking up, it will call wakeUp again.  So a real world application of this could have the wakeUp function check to see if the user&#8217;s session has timed out, and if so, perform a JavaScript redirect to the login page in order to start up a new session again.</p>
<p>More information on meta tags can be found here: <a href="http://www.w3schools.com/tags/tag_meta.asp" target="_new">http://www.w3schools.com/tags/tag_meta.asp</a></p>
<p>If you have any other workarounds for this or any other common issues, please feel free to post them here to help the community out!</p>
<p><em><br />
<h6>JavaScript is a trademark of Sun Microsystems, Inc.</h6>
<p></em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/1627/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/1627/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=1627&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/05/working-around-the-backlight-timeout/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8721ed983743f63d33e3766566e941df?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Prosanta B.</media:title>
		</media:content>
	</item>
		<item>
		<title>BlackBerry Web Plug-in for Microsoft Visual Studio – Setting the default browser</title>
		<link>http://devblog.blackberry.com/2010/03/blackberry-web-plug-in-for-microsoft-visual-studio-setting-default-browser/</link>
		<comments>http://devblog.blackberry.com/2010/03/blackberry-web-plug-in-for-microsoft-visual-studio-setting-default-browser/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 10:00:00 +0000</pubDate>
		<dc:creator>Prosanta B.</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Visual-Studio]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=933</guid>
		<description><![CDATA[A quick guide to setting the default browser within the BlackBerry Web Plug-in for Microsoft Visual Studio.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=933&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-959" title="Set the browser as your default browser" src="http://rimdevblog.files.wordpress.com/2010/03/blackberry-browsewith1.jpg?w=396&#038;h=308" alt="" width="396" height="308" /></p>
<p>One of the questions I’m seeing coming across my desk more frequently is “How do I set my default browser to be the BlackBerry® Browser in Microsoft® Visual Studio®?”</p>
<p>The beauty of using the <a title="BlackBerry Web Plug-In for Microsoft Visual Studio" href="http://na.blackberry.com/eng/developers/devbetasoftware/eclipseplugin.jsp" target="_new">BlackBerry Web Plug-In for Microsoft Visual Studio</a> is that it integrates seamlessly in with the development environment.  What that means is that you would switch over to the BlackBerry simulator as your default browser the same way you would switch browsers if you were debugging a desktop site.</p>
<p><span id="more-933"></span></p>
<p>Before we get into the specific steps, I’d like to quickly go over what the Browse With button actually does and how it differs from debugging a website.  When you set a browser using the Browse With functionality, and select to Browse the page immediately, you are actually using the preview version of the website so you won’t be hitting any of the breakpoints that you normally would.  That’s an important concept to remember when using this feature, and something that I’m sure most web developers have done at some point before.  In the Browse With window, there’s also an option to set the browser as your default browser.  If you hit cancel after setting a default browser, that browser selection is still your default browser so you’re now able to debug using that browser.</p>
<p>Some more documentation and further details can be found on Microsoft’s <a href="http://msdn.microsoft.com/en-us/library/c1wa9c6k.aspx" target="_new">website</a> and <a href="http://blogs.msdn.com/rbuckton/archive/2007/09/12/visual-studio-browse-with-multiple-browsers.aspx" target="_new">blog</a>.</p>
<p>So now let’s get into how you can set the BlackBerry Browser to be the default browser to debug your web application in.  Assuming you already have a web application ready to debug, right click on the web application in the Solution Explorer and select “Browse With…”</p>
<p><img class="aligncenter size-full wp-image-960" title="Right click on the web application in the Solution Explorer and select 'Browse With…'" src="http://rimdevblog.files.wordpress.com/2010/03/blackberry-browsewith21.jpg?w=396&#038;h=557" alt="" width="396" height="557" /></p>
<p>Now select the BlackBerry Browser and click “Set as Default” (as shown in the first picture above).  Next click on “Cancel” since we want to debug the site instead of run it in release mode.  Now you should be back in the base Microsoft Visual Studio window.  Since you’ve hit cancel on the Browse With window, your default browser will be set to the BlackBerry Browser however you won’t have any other browsers running, and you’ll be in coding mode in Microsoft Visual Studio.</p>
<p>To begin debugging, either push “F5” or from the debug menu, select “Start Debugging”.</p>
<p><img class="aligncenter size-full wp-image-961" title="Start debugging!" src="http://rimdevblog.files.wordpress.com/2010/03/blackberry-start-debug1.jpg?w=469&#038;h=238" alt="" width="469" height="238" /></p>
<p>This will launch the BlackBerry Smartphone Simulator, and you’ll be able to begin debugging your website.</p>
<p>I hope that answers some of the questions around the Browse With functionality and how to set the BlackBerry Browser to be the default browser when using Microsoft Visual Studio.  Please feel free to leave any comments or questions below.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/933/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/933/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=933&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/03/blackberry-web-plug-in-for-microsoft-visual-studio-setting-default-browser/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8721ed983743f63d33e3766566e941df?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Prosanta B.</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/03/blackberry-browsewith1.jpg" medium="image">
			<media:title type="html">Set the browser as your default browser</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/03/blackberry-browsewith21.jpg" medium="image">
			<media:title type="html">Right click on the web application in the Solution Explorer and select &#039;Browse With…&#039;</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/03/blackberry-start-debug1.jpg" medium="image">
			<media:title type="html">Start debugging!</media:title>
		</media:content>
	</item>
		<item>
		<title>Pushing data down to your BlackBerry Widget</title>
		<link>http://devblog.blackberry.com/2010/02/pushing-data-down-to-your-blackberry-widget/</link>
		<comments>http://devblog.blackberry.com/2010/02/pushing-data-down-to-your-blackberry-widget/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 12:45:30 +0000</pubDate>
		<dc:creator>Prosanta B.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[data push]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=693</guid>
		<description><![CDATA[In a world demanding constant access to data and quicker updates for their applications, what could be better than real time push data from your server? BlackBerry push technology is one of the cornerstones of the BlackBerry® solution which is used to proactively deliver emails, calendar entries and live data down to the smartphone. The [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=693&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In a world demanding constant access to data and quicker updates for their applications, what could be better than real time push data from your server? <a href="http://rimdevblog.files.wordpress.com/2010/02/blackberry_push_apis_whitepaper.pdf">BlackBerry push technology</a> is one of the cornerstones of the BlackBerry® solution which is used to proactively deliver emails, calendar entries and live data down to the smartphone.</p>
<p><strong>The Push Service is comprised of three components:</strong></p>
<ol>
<li>The server side push application: Using the WAP 2.2 standard, the server component which is used to host and push data down to the smartphone.</li>
<li>Client side application: The application installed on a user’s BlackBerry smartphone which listens for a push coming from the server.</li>
<li>The BlackBerry Infrastructure: Provides the middleware that receives requests to push data from the content provider, and then delivers the given data to the associated client application on the BlackBerry smartphone.</li>
</ol>
<p>Until recently this functionality was only available to Java developers for the BlackBerry platform. Using the <a title="BlackBerry Widget SDK" href="http://na.blackberry.com/eng/developers/devbetasoftware/widgetsdk.jsp">BlackBerry Widget SDK</a>, a web developer can easily leverage the BlackBerry push technology to keep their BlackBerry Widget up to date with real time data.&nbsp; Using the JavaScript API’s, a web developer can open a port to listen for pushed data on start up, and set an event handler for when that data is pushed down to the application. The event will be fired once the application detects that data has been sent to the device and you’ll be able to handle that data in real time. With that data, you can update the onboard SQLite database, update the UI of the application, store that data in a flat file or use it in whichever way you see fit. <span id="more-693"></span></p>
<p>Here’s a code example of how to leverage data:</p>
<div class="sample">var port = 100;</p>
<p>function subscribe() {<br />
    //open the listener to listen if there is pushed data coming through<br />
    blackberry.push.openPushListener(handleReturnData, port);<br />
}</p>
<p>//handleReturnData &#8211; the function to call for the event of pushed data coming through<br />
function handleReturnData(data) {<br />
        var text = blackberry.utils.blobToString(data.payload);<br />
                  //do something with the text that was pushed…<br />
}</p>
<p>//stop listening for pushed data, a clean up step<br />
function unsubscribe() {<br />
    blackberry.push.closePushListener(port);<br />
}</div>
<p>The BlackBerry Widget SDK really simplifies the process of utilizing the BlackBerry push technology, and allows you to keep data up to date in real time.&nbsp; Finance, news, sports and gaming are just some of the fields that could benefit by providing real time updates and pushing them down to the device.</p>
<p>One of the other major benefits of utilizing BlackBerry push technology is that your application no longer needs to poll a server to see if there’s new data.&nbsp; By pushing data down to the device, instead of polling, your application will save bandwidth usage, and battery life making your application more user-friendly.</p>
<p>I hope that you’ll take a look at the push lab posted on the <a title="BlackBerry Developer website" href="http://na.blackberry.com/eng/developers/devbetasoftware/widgetsdk.jsp">BlackBerry Developer website</a> to develop your own BlackBerry Widget utilizing the BlackBerry push technology.</p>
<ul>
<li><a href="http://na.blackberry.com/eng/developers/devbetasoftware/Lab_Push_Demo.zip">BlackBerry Push Lab Demo</a></li>
<li><a href="http://rimdevblog.files.wordpress.com/2010/02/blackberry_push_apis_whitepaper.pdf">BlackBerry Push API White Paper</a></li>
<li><a href="http://na.blackberry.com/eng/developers/devbetasoftware/widgetsdk.jsp">BlackBerry Widget SDK</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/693/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/693/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=693&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/02/pushing-data-down-to-your-blackberry-widget/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8721ed983743f63d33e3766566e941df?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Prosanta B.</media:title>
		</media:content>
	</item>
	</channel>
</rss>
