<?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; widget</title>
	<atom:link href="http://devblog.blackberry.com/tag/widget/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Wed, 22 May 2013 13:34:11 +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; widget</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 Developer Resource Fridays: Week of March 15th</title>
		<link>http://devblog.blackberry.com/2010/03/blackberry-developer-resource-fridays-march-15th/</link>
		<comments>http://devblog.blackberry.com/2010/03/blackberry-developer-resource-fridays-march-15th/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 10:00:00 +0000</pubDate>
		<dc:creator>Douglas Soltys</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[knowledge-base]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=941</guid>
		<description><![CDATA[The latest BlackBerry developer resource additions to the BlackBerry Developer Zone.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=941&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Welcome to BlackBerry® Developer Resource Fridays, a reoccurring event here on the BlackBerry Developer’s Blog. We’ll keep you up to date on helpful articles that have been added to the Developer Knowledge Base and other new additions to the <a href="http://na.blackberry.com/eng/developers/" target="_new" title="BlackBerry Developer Zone">BlackBerry Developer Zone</a>. Here are this edition’s pearls of wisdom:</p>
<ul>
<li><a href="http://www.blackberry.com/DevMediaLibrary/view.do?name=IntroWebDevelopment" target="_new" title="Introduction to Web Development">Introduction to Web Development</a> <strong>(Video Tutorial)</strong></li>
<li><a href="http://www.blackberry.com/DevMediaLibrary/view.do?name=UsingWebServicesWidgets" target="_new" title="Using Web Services in Widgets">Using Web Services in Widgets</a> <strong>(Video Tutorial)</strong></li>
<li><a href="http://www.blackberry.com/DevMediaLibrary/view.do?name=UnderstandingBrowserField2" target="_new" title="Understanding">Understanding BrowserField2</a> <strong>(Video Tutorial)</strong></li>
</ul>
<p>Tune in next week for more Developer Resource fun, and don’t forget to post a comment about your favorite article and articles you would like to see!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/941/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/941/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=941&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/03/blackberry-developer-resource-fridays-march-15th/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2d037da01c57235fd7d45fc1c591397f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dsoltys</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>
