<?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; tips</title>
	<atom:link href="http://devblog.blackberry.com/tag/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Tue, 18 Jun 2013 16:50:23 +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; tips</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>A Few Of My Favorite Things in BlackBerry 10</title>
		<link>http://devblog.blackberry.com/2013/02/a-few-of-my-favorite-things-in-blackberry-10/</link>
		<comments>http://devblog.blackberry.com/2013/02/a-few-of-my-favorite-things-in-blackberry-10/#comments</comments>
		<pubDate>Thu, 14 Feb 2013 15:19:37 +0000</pubDate>
		<dc:creator>Tom Anderson</dc:creator>
				<category><![CDATA[Editorials]]></category>
		<category><![CDATA[Interviews/Thought Leadership]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=13770</guid>
		<description><![CDATA[With the launch of BlackBerry 10 on January 30th, some of you now have your hands on a shiny new BlackBerry Z10. I am sure you are enjoying the ease of “BlackBerry Hub”, “BlackBerry Flow”, and the deep integration with social networks. One of the great things about being a BlackBerry Developer Evangelist is that [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13770&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>With the launch of BlackBerry 10 on January 30th, some of you now have your hands on a shiny new BlackBerry Z10. I am sure you are enjoying the ease of <a href="http://blogs.blackberry.com/2012/12/blackberry-10-hub-video?IID=E40C086" target="_new">“BlackBerry Hub”</a>, <a href="http://blogs.blackberry.com/2012/09/blackberry-10-video?IID=E40C086" target="_new">“BlackBerry Flow”</a>, and the deep integration with social networks. One of the great things about being a <a href="https://twitter.com/noctivagan" target="_new">BlackBerry Developer Evangelist</a> is that I have been using the BlackBerry Z10 for several months and the BlackBerry 10 OS has a lot of power and incredible functionality. So much so, that there are a few features that sometimes get overlooked. So, let me share with you a few of my favorite things about BlackBerry 10 and BlackBerry Z10 that you may have missed.</p>
<p><span id="more-13770"></span></p>
<p>Let’s start with the very groovy BlackBerry keyboard. By now, you have seen (and may have experienced) the ease of using the keyboard. You have probably grown very fond of the predictive text and the ability to flip words into the text stream. But here are a couple of things about the keyboard you may not know.</p>
<p><strong>Popup Letters</strong>. In default mode, when you press a key on the keyboard that key is momentarily highlighted to provide visual feedback of the key pressed. However, if you have large thumbs you may not be able to see that feedback. For some people, that’s not a problem as predictive text is their feedback. For others, they want a little more feedback. No worries, you can use the Settings app to turn on Popup Letters. To change this setting, swipe from the top bezel to drop the Settings menu, then click <strong>Settings</strong>, then <strong>Language and Input</strong>. In the middle you will find <strong>Text Input</strong>. Here, you click <strong>On-Screen Keyboard</strong> to change the options of the keyboard. Turning on Keypress Pop-up will make the keyboard pop-up the letter with each press.</p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/02/devblogfavthingspic1.jpg?w=500" /></p>
<p><strong>Dropping Keyboard</strong>. The keyboard is one of the great features of BlackBerry 10, or in my opinion any smartphone. Sometimes you need to dismiss the keyboard. There are three easy ways to dismiss a keyboard. First, if you swipe down on the keyboard with two fingers, the keyboard disappears. You can also swipe up from the bottom bezel to close the keyboard. This action is actually a toggle. So if you have a situation where you don’t have a keyboard and need one, swipe up from the bottom bezel to bring the keyboard back. The final way, is to press and hold the space bar. This is my favorite way to dismiss the keyboard since I tend to use my BlackBerry Z10 with one hand. On the space bar you will see a little icon of the keyboard with a little down arrow. This is a reminder that holding the space bar will drop the keyboard.</p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/02/devblogfavthingspic2.jpg?w=500" /></p>
<p><strong>Quick Setting Actions</strong>. By now you are probably pretty familiar with the quick settings menu: a swipe down from the top bezel while on the home screen or the active app screen brings down a quick settings menu. The groovy thing about this menu is it serves two functions. If you want to adjust a setting for say, Bluetooth, you click on the word Bluetooth and you are taken directly to the settings page for that feature. However, if all you want to do is turn Bluetooth off, click the icon to quickly toggle the feature. If the feature is on, clicking the icon turns it off and if the feature is off, a click of the icon turns it on. Really great for putting the BlackBerry Z10 into silent mode: just click the icon next to the Notifications label and all notifications are silenced!</p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/02/devblogfavthingspic3.jpg?w=500" /></p>
<p><strong>Letting Someone Know Where You Are</strong>. So the other day, I was waiting for some friends in a restaurant in Amsterdam. It was a tricky little walk to find the restaurant and my friends got lost. Since I knew how to get there, I simply sent them a BBM and asked them to share their location. With that information, I could help them navigate to the restaurant. Since they were also on BlackBerry 10, they could easily send me their location. They clicked me in their BBM contact list. Then, they clicked the Attach icon at the bottom. This gives them options to attach pictures, voice note, contact, appointment, file, or even location. From there, they attached their current location. Once I got the BBM, I could then give them directions to the restaurant. Incredibly handy feature.</p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/02/devblogfavthingspic4.jpg?w=250" /> <img alt="" src="http://rimdevblog.files.wordpress.com/2013/02/devblogfavthingspic5.jpg?w=250" /></p>
<p><strong>Quick Pane Navigation</strong>. As with any smartphone, after a while you learn which pane a specific or favorite application lives. Let’s say your favorite game is on pane number 4. One of the great things about BlackBerry 10 is you can navigate straight to pane number 4 by clicking the fourth dot at the bottom. This click jumps you straight to pane four and your favorite game. You can also quickly scroll by clicking and dragging on the dots at the bottom. A quick way to glance through each pane.</p>
<p>The thing is, I could go on for pages and pages about all the really cool things about BlackBerry 10, but what about you? Leave a comment with your favorite BlackBerry 10 feature, tip, or trick so we can all share in the richness of BlackBerry 10.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/13770/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/13770/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13770&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/02/a-few-of-my-favorite-things-in-blackberry-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f39ae628054ae183cf8b25746979ec67?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">noctivagan</media:title>
		</media:content>

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

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

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

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

		<media:content url="http://rimdevblog.files.wordpress.com/2013/02/devblogfavthingspic5.jpg?w=250" medium="image" />
	</item>
		<item>
		<title>Time well spent: An intuitive interface design is the difference between app success and mediocrity</title>
		<link>http://devblog.blackberry.com/2012/04/end-user-feedback/</link>
		<comments>http://devblog.blackberry.com/2012/04/end-user-feedback/#comments</comments>
		<pubDate>Mon, 02 Apr 2012 19:06:32 +0000</pubDate>
		<dc:creator>Matt W</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[app design]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[end user feedback]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=8827</guid>
		<description><![CDATA[A list of tips to consider when guiding layout and design of a BlackBerry app.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8827&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:center;"><img class="aligncenter size-full wp-image-8830" src="http://rimdevblog.files.wordpress.com/2012/04/072611_bberry_toronto_1940-2.jpg?w=550&#038;h=367" alt="TITLE_IMAGE" width="550" height="367" /></p>
<p>Nothing is more frustrating than putting countless hours of hard work into your BlackBerry® app, making sure every subroutine is perfect and every millisecond of performance squeezed, only to find out that users are displeased with some aspect of layout or interaction. Speaking from experience, I find that numerous times we all too often dive into architecting and developing the meat and potatoes of an app, leaving the user interface to get created ad hoc. Yet behind every good app there is a great user interface!</p>
<p>Now, you might be saying: &#8220;<em>But Matt! I do think about layout and design – but I can’t design for every user’s tastes.</em>&#8221; While we do typically put some thought into layout and design, I find we (as developers) rarely think about it from an end user’s perspective. We are too close to the project, and end up seeing aspects of the application from a specific view. Think of it this way &#8211; every parent thinks their baby is the cutest ever&#8230;but what do the rest of us think? What a good app developer/designer needs to do is take a step back and look at the design from others’ points of view and, better yet, gather points of view from others.</p>
<p>Nothing helps guide a design better than real world feedback. Take your design and layouts and talk to your peers, your mother, your granddad, or even your future end users (basically anyone that will talk to you.) You can even solicit feedback from a limited beta of your app or use various online solutions such as <a href="http://getsatisfaction.com" target="_new">getsatisfaction.com</a>. Ask your users what they like, what they don’t like, how they would expect things to flow, and so on. Taking this feedback and integrating it into your app will help ensure users are happy &#8211; and happy users mean good BlackBerry App World™ storefront ratings!</p>
<p>If you cannot easily gather end user feedback on the design and flow of your app, here are some other points to keep in mind at the beginning of your project:</p>
<ul>
<li>Keep the user interface and design as simple as possible. Your app should require a user to have little to no instructions in order to get started.</li>
<li>For touch screen devices, ensure proper spacing of objects that a user will interact with. Nothing will frustrate your users more if their touch events are misread.</li>
<li>The layout of the screen should be well used, but not too cluttered. For objects in groups, space them evenly for a clean look.</li>
<li>Make use of menus when required. Menus are great when there are additional options or settings that you want a user to have access to, but don’t want to have them always displayed on screen.</li>
<li>Lastly, remember to keep your app consistent. Every screen within the app should offer a similar user experience in layout, theme and flow. A user should know this is your app regardless of the screen they are looking at.</li>
</ul>
<p>Hopefully you have found these tips useful. If you have your own, please share them in the comments section below or head on over to the <a href="http://supportforums.blackberry.com/t5/Developer-Support-Forums/ct-p/blackberrydev" target="_new">BlackBerry Developer Support</a> forums and post them there.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/8827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/8827/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8827&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/04/end-user-feedback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/24f0db511856433f3357906c9dfd7476?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mwhiteman</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/04/072611_bberry_toronto_1940-2.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>No Drain, No Pain: Tips for Saving Battery Life Through Applications</title>
		<link>http://devblog.blackberry.com/2012/03/battery-drain-apps/</link>
		<comments>http://devblog.blackberry.com/2012/03/battery-drain-apps/#comments</comments>
		<pubDate>Mon, 19 Mar 2012 15:33:23 +0000</pubDate>
		<dc:creator>Naveen</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[battery drain]]></category>
		<category><![CDATA[BlackBerry smartphone]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=8705</guid>
		<description><![CDATA[Learn about some simple techniques to improve battery life and to get some vital stats about the cost of certain actions in an application on a BlackBerry smartphone.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8705&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:center;"><img class="aligncenter size-full wp-image-8733" src="http://rimdevblog.files.wordpress.com/2012/03/9860_blk_eng_gen_adangle.jpg?w=550&#038;h=440" alt="TITLE_IMAGE" width="550" height="440" /></p>
<p>The topic of battery management on BlackBerry® smartphones seems to come up time and time again. I decided to take some time and write this blog post on the topic to share some of the tips, tricks and best practices which will make your BlackBerry application a good citizen on the BlackBerry smartphone. Hopefully, you’ll learn some simple techniques to improve battery life and to get some vital stats about the cost of certain actions in an application.</p>
<p>Generally, there are three main states that your BlackBerry application will go through in the device:</p>
<ol>
<li>App is in the foreground, backlight is on, and device is unlocked (i.e. user is in theory interacting with the app)</li>
<li>App is in the foreground, and either the backlight is off or the device is locked (i.e. user was using the app but has since let the device go dormant)</li>
<li>App is running in the background (backlight and device lock state don’t matter)</li>
</ol>
<p>We will not worry too much about the first state, since your application can use as much as battery power it needs, but we will focus on the second and third states, looking at possible ways to prevent the battery from draining too quickly. Here are some of the tips that you can use to make your application be a good citizen on the device.</p>
<p><span id="more-8705"></span></p>
<p><strong>Tip #1:</strong> If your application is running in the background, then only run what needs to be run. For example, when your application is in the background, threads such as UI, animation and media should be paused. Your application should treat itself as being in the background when the backlight is out or the lock screen is up. One way of identifying whether device is locked or not, is to use the <code>net.rim.device.api.system.ApplicationManager. IsSystemLocked ()</code> method. You can also use the <code>net.rim.device.api.ui.UiApplication.getUiApplication ().isForeground ()</code> method to determine if the application is in the foreground or not.</p>
<p>Finally, you can use <code>net.rim.device.api.system.Display.getProperties ()</code> &amp; <code>Display.DISPLAY_PROPERTY_REQUIRES_BACKLIGHT</code> to see whether the backlight is on or not.</p>
<p><strong>Tip #2:</strong> Use the Profiler in the BlackBerry Java IDE to confirm that you contribute as close to 0% extra CPU usage when in the background. Every few % CPU used equals about 5 mA above device idle. Read more information about <a href="http://docs.BlackBerry.com/en/developers/deliverables/35144/Optimizing_code_using_the_profiler_1889818_11.jsp" target="_new">the Profiler and its usage</a>.</p>
<p><strong>Tip #3:</strong> Watch the repaint () operations, regardless of whether application is in the background or foreground, repaint the screen only if and when needed. Especially, if you are rendering OpenGL, it is very battery intensive.</p>
<p><strong>Tip #4:</strong> Retrieving an autonomous GPS (aGPS) fix is one of the most expensive battery operations on the device. Alternatively, you can use BlackBerry Criteria to specify the type of fix you need and also you can choose the level of accuracy you need. The details on this subject can be found <a href="http://supportforums.blackberry.com/t5/Java-Development/Location-APIs-Start-to-finish/ta-p/571949" target="_new">here</a>.</p>
<p><strong>Tip #5:</strong> If you detect low battery, consider notifying the user or stopping battery intensive functions such as LBS, excessive logging, active cellular radio and garbage collection.</p>
<p>For logging, you can the log level to minimum in the Event Logger. This can be achieved using <code>net.rim.device.api.system.EventLogger. getMinimumLevel ()</code>.</p>
<p>For cellular radio, you can use push instead of poll. Pushing is vastly more efficient than polling. Whenever you see your application polling regularly for data you should seriously consider implementing the BlackBerry Push service.</p>
<p>For garbage collection, you can use the BB JDE’s Memory Stats or Objects tools to monitor your garbage.</p>
<p>I hope you found these tips useful. If you have your own, I’d like to see them – please share in the comments section below.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/8705/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/8705/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8705&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/03/battery-drain-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/83a3304d7f99cd7e5d2323b7338f7305?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">naveenm1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/03/9860_blk_eng_gen_adangle.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
	</channel>
</rss>
