<?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; os 5.0</title>
	<atom:link href="http://devblog.blackberry.com/tag/os-5-0/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 12:35:50 +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; os 5.0</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 Mobile Voice System APIs &#8211; Handling Multiple Phone Numbers in OS 5.0</title>
		<link>http://devblog.blackberry.com/2010/05/blackberry-mobile-voice-system-apis/</link>
		<comments>http://devblog.blackberry.com/2010/05/blackberry-mobile-voice-system-apis/#comments</comments>
		<pubDate>Tue, 18 May 2010 10:00:00 +0000</pubDate>
		<dc:creator>Brian Z.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Platform Services]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[MVS]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[os 5.0]]></category>
		<category><![CDATA[voice]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=1615</guid>
		<description><![CDATA[BlackBerry Mobile Voice System API tutorial, explaining how to handle multiple phone numbers in BlackBerry Device Software 5.0<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=1615&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>So you’ve landed yourself a sweet deal with a carrier and your BlackBerry® smartphone application is going to be sold and billed through them.  Congratulations!  Now it’s time for you to keep the carrier happy.  How do you do that?  Increase their revenues and minimize their expenses.  If you’ve got a good app, the revenue part is easy.  The expenses part is a little trickier – it could mean that your app is bandwidth friendly; it could mean that you as an app developer are extremely self-proficient; or it could also mean that your app is rock solid and generates very few support calls.</p>
<p>In most cases when a carrier partnership agreement is achieved, the billing and/or authentication is done using the cell phone number of the BlackBerry smartphone.  Traditionally, this requirement meant that you’d call Phone.getDevicePhoneNumber(boolean format) to retrieve the user’s BlackBerry smartphone cell number.  However, if the user is using <a href="http://www.blackberry.com/mvs" target="_new" title="BlackBerry® Mobile Voice System">BlackBerry® Mobile Voice System (BlackBerry MVS)</a>, getDevicePhoneNumber() will not return their cell phone number, but instead will return the phone number used for BlackBerry MVS.  Uh-oh, did your app just create a support incident?  If you’ve been keeping up with platform features, the answer is no.</p>
<p><span id="more-1615"></span></p>
<p>When a user is connected to BlackBerry MVS, the whole point is to use it as much as possible, thus getting its maximum benefit.  Thus, the user’s work number / the number associated with BlackBerry MVS now becomes the user’s default phone number – which is exactly what will be returned by getDevicePhoneNumber().  This new default phone number might cause a problem for the billing and/or authentication of your application through the carrier, since your application might be expecting the user’s cell number to be returned &#8211; not the BlackBerry MVS number.</p>
<p>So how do you handle this situation?</p>
<h2>Option A: Make the user do it.</h2>
<p>Since the user does have the ability to manually set which phone number to use, you could take a hard-nosed stance and make the user do all the work.  In order for the user to change this setting, they need to go into the Phone application, select “Options” from the menu, select “Work line,” then select “Line and Network Preferences,” and finally choose the right number using the drop down box labelled “Default line for outgoing calls.”  Save this change and you’re done.  With no change required to your app, getDevicePhoneNumber() now returns the cell number to you.  However, you’ve now just put a ton of onus on the user, reduced the effectiveness of BlackBerry MVS, and likely still generated a support call.</p>
<h2>Option B: Take advantage of new platform features and use the new APIs.</h2>
<p>Use the following API functionality added in BlackBerry Device Software 5.0:</p>
<div class="sample">
<pre>int[] lineIds = Phone.getLineIds();
String phoneNumber = null;
for( int i=0; i &lt; lineIds.length; i++ ) {
if(Phone.getLineType(lineIds[i]) == Phone.MOBILE_TYPE) {
//found the user’s cell number
phoneNumber = Phone.getLineNumber(lineIds[i]);
} else if Phone.getLineType(lineIds[i] == Phone.PBX_TYPE) {
//found the number used for BlackBerry MVS
}
}
</pre>
</div>
<p>
<p>With less than 10 lines of code, your app is more robust, BlackBerry MVS friendly, and can reliably provide the cell phone number to the carrier.  Personally, I like my carrier relationships, so I’ll go with option B.  But the choice is yours!</p>
<p>Have you tried out this tip? Let us know how it went in the comments!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/1615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/1615/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=1615&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/05/blackberry-mobile-voice-system-apis/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/93c01acd537bfb61a304b73eef4fce76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brianzub1</media:title>
		</media:content>
	</item>
		<item>
		<title>BlackBerry Developer Resource Fridays: Week of November 20th</title>
		<link>http://devblog.blackberry.com/2009/11/blackberry-developer-resource-fridays-week-of-november-20th/</link>
		<comments>http://devblog.blackberry.com/2009/11/blackberry-developer-resource-fridays-week-of-november-20th/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 10:58:35 +0000</pubDate>
		<dc:creator>Douglas Soltys</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Bold 9700]]></category>
		<category><![CDATA[curve 8530]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[os 5.0]]></category>
		<category><![CDATA[storm 9550]]></category>

		<guid isPermaLink="false">http://blackberrydev.edstaging.com/?p=91</guid>
		<description><![CDATA[Welcome to BlackBerry® Developer Resource Fridays (new name, same great taste, ed.), a reoccurring event here on the BlackBerry Developer’s Blog. Each Friday 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 BlackBerry Developer Zone. Here are this week’s pearls [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=91&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Welcome to <strong>BlackBerry® Developer Resource Fridays</strong> (<em>new name, same great taste, ed</em>.), a reoccurring event here on the BlackBerry Developer’s Blog. Each Friday 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/">BlackBerry Developer Zone</a>. Here are this week’s pearls of wisdom:</p>
<ul>
<li><a href="http://na.blackberry.com/eng/developers/resources/simulators.jsp">BlackBerry® Bold™ 9700 BlackBerry Smartphone Simulator (v5.0.0.337)</a></li>
<li><a href="http://na.blackberry.com/eng/developers/resources/simulators.jsp">BlackBerry® Storm™ 9550 BlackBerry Smartphone Simulator (v5.0.0.334)</a></li>
<li><a href="http://na.blackberry.com/eng/developers/resources/simulators.jsp">BlackBerry® Curve™ 8530 BlackBerry Smartphone Simulator (v5.0.0.337)</a></li>
<li><a href="http://www.blackberry.com/DevMediaLibrary/view.do?name=NetworkingTransportsII">Networking Transports II</a> <strong>(Video)</strong>  </li>
</ul>
<p>Tune in next week for more Developer Resource Friday 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/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=91&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2009/11/blackberry-developer-resource-fridays-week-of-november-20th/feed/</wfw:commentRss>
		<slash:comments>0</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>BlackBerry Storm2 Smartphone with BlackBerry OS 5 – what developers need to know!</title>
		<link>http://devblog.blackberry.com/2009/10/blackberry-storm2-smartphone-with-blackberry-os-5-%e2%80%93-what-developers-need-to-know/</link>
		<comments>http://devblog.blackberry.com/2009/10/blackberry-storm2-smartphone-with-blackberry-os-5-%e2%80%93-what-developers-need-to-know/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 21:53:51 +0000</pubDate>
		<dc:creator>Douglas Soltys</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[BlackBerry Storm]]></category>
		<category><![CDATA[os 5.0]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://blackberrydev.edstaging.com/?p=265</guid>
		<description><![CDATA[With the recent announcement of the BlackBerry® Storm2™ smartphone, I wanted to provide you with an overview of the device from the perspective of the developer to help you understand what opportunities this new smartphone opens up for you. The BlackBerry Storm2 is the first BlackBerry® smartphone to ship with the new BlackBerry® Device Software v [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=265&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img src="http://rimdevblog.files.wordpress.com/2009/10/original37.jpg?w=600&#038;h=507" alt="" title="BlackBerry Storm2 Smartphone with BlackBerry OS 5 – what developers need to know!" width="600" height="507" class="aligncenter size-full wp-image-5862" /></p>
<p>With the <a rel="nofollow" href="http://na.blackberry.com/eng/newsroom/news/press/release.jsp?id=2587" target="_self">recent announcement </a>of the BlackBerry® Storm2™ smartphone, I wanted to provide you with an overview of the device from the perspective of the developer to help you understand what opportunities this new smartphone opens up for you.</p>
<p>The BlackBerry Storm2 is the first BlackBerry® smartphone to ship with the new BlackBerry® Device Software v 5.0, which includes a variety of new enhancements for end users.  For developers, there are substantial improvements across the board which we have been covering on the blog for some time now.<span id="more-265"></span></p>
<p>For Java, you can find a great post outlining all of the <a rel="nofollow" href="http://supportforums.blackberry.com/t5/BlackBerry-Developer-s-Blog/BlackBerry-Java-Application-Development-v5-0-Beta-now-live/ba-p/315514#A73" target="_self">new APIs and features in BlackBerry Device Software v5.0</a>.</p>
<p>For Widgets, check out this <a rel="nofollow" href="http://supportforums.blackberry.com/t5/BlackBerry-Developer-s-Blog/BlackBerry-Widgets-are-Here/ba-p/351085#A164" target="_self">great post</a> introducing this new technology and stay tuned for additional posts that will dive deeper on the power of widgets on the BlackBerry platform.</p>
<p>Like the original BlackBerry® Storm™, there are two models of the Storm2 – one designed for North American CDMA networks and one for the rest of the world.  Both products support GSM/GPRS/EDGE/UMTS/HSPA with the CDMA product also supporting CDMA/EVDO.  This means the product supports 3G networks worldwide. From a developer’s perspective, here is what you need to know about the new BlackBerry Storm2.</p>
<p>• Navigation with SurePress™ touch screen<br />
• 480 x 360 screen resolution<br />
• 3.2 MP Camera with Auto Focus<br />
• Location Support with Assisted and Autonomous GPS<br />
• Wi-Fi® Support – 802.11b/g<br />
• 256MB Flash Memory (Application Space), 2GB embedded MMC, and microSD™ Support (up to 16GB today and supporting the specification for 32GB cards when they become available)</p>
<p>We are really excited about the launch of the BlackBerry Storm2 smartphone and the new applications that are possible on the platform.  Get started now by checking out the developer tools on our <a rel="nofollow" href="http://na.blackberry.com/eng/developers/devbetasoftware/devbeta.jsp" target="_self">beta website</a>!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/265/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=265&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2009/10/blackberry-storm2-smartphone-with-blackberry-os-5-%e2%80%93-what-developers-need-to-know/feed/</wfw:commentRss>
		<slash:comments>0</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>

		<media:content url="http://rimdevblog.files.wordpress.com/2009/10/original37.jpg" medium="image">
			<media:title type="html">BlackBerry Storm2 Smartphone with BlackBerry OS 5 – what developers need to know!</media:title>
		</media:content>
	</item>
		<item>
		<title>Rise of next generation mobile web spells promise for users, developers, content providers</title>
		<link>http://devblog.blackberry.com/2009/09/rise-of-next-generation-mobile-web-spells-promise-for-users-developers-content-providers/</link>
		<comments>http://devblog.blackberry.com/2009/09/rise-of-next-generation-mobile-web-spells-promise-for-users-developers-content-providers/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 12:39:05 +0000</pubDate>
		<dc:creator>Chris S.</dc:creator>
				<category><![CDATA[Editorials]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[gears]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[os 5.0]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blackberrydev.edstaging.com/?p=386</guid>
		<description><![CDATA[I was intrigued by the assertion coming from Google’s Vic Gundotra at the Mobilebeat conference that browsers (and the web) had won / will win over app stores in the mobile landscape. I have to admit I had never thought of these as mutually exclusive technologies, but rather as two pillars in any vibrant mobile platform [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=386&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I was intrigued by the assertion coming from <a title="Mobilebeat conference" href="http://blogs.ft.com/techblog/2009/07/app-stores-are-not-the-future-says-google/" target="new">Google’s Vic Gundotra at the Mobilebeat conference</a> that browsers (and the web) had won / will win over app stores in the mobile landscape. I have to admit I had never thought of these as mutually exclusive technologies, but rather as two pillars in any vibrant mobile platform eco-system. In fact with the continued extension of the BlackBerry® web platform (like <a title="Gears support for BlackBerry" href="http://na.blackberry.com/eng/newsroom/news/press/release.jsp?id=1872" target="_blank">Gears support</a> in the upcoming BlackBerry® Device Software 5.0), I am looking forward to more and more fully-featured, deeply-integrated web and hybrid applications appearing alongside traditional Java® applications in BlackBerry App World™. The point being that the power and value of the web as a platform, particularly in the mobile context, is not limited to the mobile browser as a content container. As Google has proven themselves, <a title="What is a browser" href="http://www.youtube.com/watch?v=o4MwTvtyrUQ" target="new">many users don’t know what a Browser is</a> at all.<span id="more-386"></span></p>
<p>What matters is the experience and how users experience the web on a mobile device is starting to evolve in interesting ways beyond the request/response-oriented sit-down-at-your-PC-and-surf model, whether that be inside a browser or in a stand-alone application.</p>
<p>I see this evolution characterized by four key themes:</p>
<ul>
<li><strong>Web-content targeted to mobile form-factor without a reduction in richness</strong>. This is already happening. We just need content developers to step–up and accelerate the upward trend!</li>
<li><strong>Deep integration into the on-device experience</strong>. My BlackBerry smartphone knows more about me than my PC ever will! This opens the door for compelling interactions via the integration of data and applications.</li>
<li><strong>Accelerated change in web content production-consumption model.</strong> A mobile device is a much better conduit to fulfill the Web 2.0 promise of an <a title="Architecture of Participation" href="http://oreilly.com/pub/a/web2/archive/what-is-web-20.html?page=3" target="new">Architecture of Participation</a>. The bar for users to add value can be much lower!</li>
<li><strong>Breaking free of the request/response interaction model. </strong>Delivering high-value content to users through subscriptions and notifications, and changing the way content and service providers are able to engage their audience to anywhere, anytime.</li>
</ul>
<p>I’ll leave further exploration of these themes for a subsequent post but consider this: the way people connect to and consume the web is fundamentally changing. A recent FierceWireless report on wireless Internet use shows that <a title="Wireless Internet Use" href="http://www.fiercewireless.com/press-releases/wireless-internet-use" target="new">more and more people are connecting to the web using a mobile device every day</a>. I see it in my own behaviour. The amount of time I spend on the web on my Mac at home is diminishing; I don’t need to login to Facebook when I’ve been live all day on my BlackBerry smartphone (I use the <a title="Facebook for BlackBerry" href="http://appworld.blackberry.com/webstore/content/680" target="new">Facebook® for BlackBerry® smartphones</a> application). This is the promise that the next generation mobile web brings.</p>
<p>Post a comment and let us know how you feel about the next generation of the mobile web.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/386/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=386&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2009/09/rise-of-next-generation-mobile-web-spells-promise-for-users-developers-content-providers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65d9bd40b8e6f2b4b5f065b1422185b4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chrissm1</media:title>
		</media:content>
	</item>
	</channel>
</rss>
