<?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; JDE</title>
	<atom:link href="http://devblog.blackberry.com/tag/jde/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 19:58:12 +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; JDE</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 Java SDK and JDE v7.0 Maintenance Release Now Available for Download</title>
		<link>http://devblog.blackberry.com/2011/10/download-blackberry-java-sdk/</link>
		<comments>http://devblog.blackberry.com/2011/10/download-blackberry-java-sdk/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 18:41:02 +0000</pubDate>
		<dc:creator>Douglas Soltys</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Java Development]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[BlackBerry 7]]></category>
		<category><![CDATA[DevCon 2011]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[JDE]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=7285</guid>
		<description><![CDATA[An update to BlackBerry® Java® SDK v7.0 and BlackBerry® Java® Development Environment (JDE) v7.0 has just been released - download today!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=7285&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><i>Here&#8217;s Mark with a guest post about a big update for BlackBerry® Java® SDK &#8211; enjoy, devs! &#8211; Ed.</I></p>
<p>Come and get it!  We’ve just released an update to the BlackBerry Java SDK v7.0 and BlackBerry® Java® Development Environment (JDE) v7.0.  Download the new versions today to take advantage of the latest upgrade.</p>
<p>You’ll find updates to the API documentation, code samples and an auto-complete feature.  Multiple fixes to the BlackBerry smartphone simulator and MDS-CS Simulator are also included and the BlackBerry Java SDK now includes Mac.  Download it today!</p>
<ul>
<li><a href="http://us.blackberry.com/developers/javaappdev/" target="_new">BlackBerry® Java® Plug-in for Eclipse® v1.5 (Windows)</a> &#8211; this includes the BlackBerry Java SDK v7.0</li>
<li><a href="http://us.blackberry.com/developers/javaappdev/javaupdate.jsp" target="_new">BlackBerry Java SDK v7.0</a> &#8211; note BlackBerry Java Plug-in v1.5 must be installed first</li>
<li><a href="http://us.blackberry.com/developers/javaappdev/javadevenv.jsp" target="_new">BlackBerry JDE v7.0 MR</a></li>
</ul>
<p>Have a look at the <a href="http://docs.blackberry.com/en/developers/deliverables/29188/index.jsp?name=Release+Notes+-+BlackBerry+Java+SDK7.0&amp;language=English&amp;userType=21&amp;category=Java+Development+Guides+and+API+Reference&amp;subCategory" target="_new">release notes</a> for a complete list of changes in this release.</p>
<p>You can find out more about the features and APIs that were new in BlackBerry 7 at our <a href="http://us.blackberry.com/developers/blackberry7/" target="_new">BlackBerry 7 development page</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/7285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/7285/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=7285&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2011/10/download-blackberry-java-sdk/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 Smartphone Simulators Overview</title>
		<link>http://devblog.blackberry.com/2011/04/blackberry-simulators/</link>
		<comments>http://devblog.blackberry.com/2011/04/blackberry-simulators/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 13:12:42 +0000</pubDate>
		<dc:creator>Naveen</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[battery]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[hotswap]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[JDE]]></category>
		<category><![CDATA[simulator]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=3499</guid>
		<description><![CDATA[An overview of the various conditions that can be set using a BlackBerry Smartphone Simulator, in order to assist with app development.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=4816&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-3505" title="BlackBerry Torch" src="http://rimdevblog.files.wordpress.com/2011/04/torch.jpg?w=600&#038;h=601" alt="BlackBerry Torch" width="600" height="601" /></p>
<p>For all you hard-working developers out there, the BlackBerry® Smartphone Simulator is an essential tool: it enables you to run BlackBerry® smartphone applications on your computer. The BlackBerry Smartphone Simulator includes the BlackBerry native applications that are typically available on BlackBerry smartphones, and enables you to load and test your own applications. You can even simulate and test various connectivity and state changes – definitely useful when you’re trying out a new app! When you use the BlackBerry Smartphone Simulator to perform testing, you might need to simulate additional BlackBerry services; the BlackBerry® Email and MDS Services Simulator Package are available for this purpose.</p>
<p>In short, the BlackBerry Smartphone Simulator allows you simulate all the aspects of the BlackBerry smartphone including battery conditions, network conditions, SD Card, GPS capabilities and more.  In this post, I will briefly describe how to simulate some of the functionalities of the BlackBerry smartphone.  Before we go further, let’s quickly recap where you can find the latest BlackBerry Smartphone Simulators.  All the most up-to-date BlackBerry simulators can be found at the <a title="BlackBerry Smartphone Simulators" href="http://us.blackberry.com/developers/resources/simulators.jsp" target="_new">BlackBerry Smartphone Simulators</a> page under the Developer Resources section of the website.  You can also head here for <a href="http://docs.blackberry.com/en/developers/subcategories/?userType=21&amp;category=BlackBerry+Smartphone+Simulator" target="_new">the complete instructions on installation details</a>, and you can find more detailed information on the BlackBerry Smartphone Simulators at the <a href="http://docs.blackberry.com/en/developers/subcategories/?userType=21&amp;category=BlackBerry+Smartphone+Simulator" target="_new">BlackBerry Documentation</a> site.</p>
<p><span id="more-4816"></span></p>
<h2>How to Simulate Battery Conditions</h2>
<p><img class="aligncenter size-full wp-image-3503" title="battery" src="http://rimdevblog.files.wordpress.com/2011/04/battery.jpg?w=245&#038;h=181" alt="" width="245" height="181" /></p>
<ol>
<li>On the <strong>Simulate</strong> menu, click <strong>Battery Properties</strong>.</li>
<li>Set one of the following options:</li>
</ol>
<table border="0" cellpadding="5" width="80%">
<tbody>
<tr>
<td width="30%"><strong>Option</strong></td>
<td width="50%"><strong>Description</strong></td>
</tr>
<tr>
<td>Full</td>
<td>The battery level is sufficient for BlackBerry smartphone and network use.</td>
</tr>
<tr>
<td>Low</td>
<td>The BlackBerry smartphone alerts the user, but remains turned on and can still use the network.</td>
</tr>
<tr>
<td>Very Low</td>
<td>The BlackBerry smartphone cannot access the network, but the device remains turned on. Camera flash is disabled.</td>
</tr>
<tr>
<td>Dead</td>
<td>The BlackBerry device turns off immediately. If you select this option, the BlackBerry Smartphone Simulator shuts down.</td>
</tr>
<tr>
<td>Other</td>
<td>This option enables you to specify the battery level as a percentage.</td>
</tr>
</tbody>
</table>
<h2>How to Simulate Network Coverage</h2>
<p><img class="aligncenter size-full wp-image-3502" title="network-coverage" src="http://rimdevblog.files.wordpress.com/2011/04/network-coverage.jpg?w=400&#038;h=137" alt="" width="400" height="137" /></p>
<p>The BlackBerry Smartphone Simulator can simulate various states of network coverage, from a strong signal to a very weak signal. The BlackBerry Smartphone Simulator can also simulate a loss of network coverage.</p>
<p><strong>Add a network</strong></p>
<ol>
<li>On the <strong>Simulate</strong> menu, click <strong>Network Properties.</strong></li>
<li>Click <strong>Add</strong>.</li>
<li>Type the network properties in the dialog.</li>
<li>Click <strong>OK</strong>.</li>
</ol>
<p><strong>Set the network signal strength</strong></p>
<ol>
<li>On the Simulate menu, click Network Properties.</li>
<li>Select the network you want to simulate from the Networks list.</li>
<li>If you want to edit the network properties, click Edit and type new values. Click OK.</li>
<li>Select or clear the In coverage check box.</li>
<li>Move the Signal strength (RSSI) slide bar to set a value. The signal strength can be between -120 dBm and -40dBm.</li>
</ol>
<h2>How to Simulate a Media Card</h2>
<p><img class="aligncenter size-full wp-image-3501" title="microsd" src="http://rimdevblog.files.wordpress.com/2011/04/microsd.jpg?w=218&#038;h=162" alt="" width="218" height="162" /></p>
<p>The BlackBerry Smartphone Simulator loads and saves the media card image to <strong>&lt; session_name &gt;*.sdcard</strong> in the working directory, unless you have set the <strong>/sdcard=&lt; path &gt;</strong> option. When the simulator starts, it loads the media card image for the BlackBerry smartphone profile. If no image exists or you have specified <strong>/clear-sdcard</strong>, the BlackBerry Smartphone Simulator will create a new media card image when the simulator starts. The size of the media card image is 32MB, unless you specify otherwise using <strong>/sdcardsize=&lt; size &gt;</strong>. In this case, you must clear the existing card image using <strong>/clear-sdcard</strong> to create a new card with the specified size. If a media card image exists, its size will be retained even if you specify a different size using the <strong>/sdcard-size</strong> command.</p>
<p>The BlackBerry Smartphone Simulator inserts the media card within the BlackBerry Smartphone Simulator unless you specify <strong>/no-sdcard-inserted</strong>.</p>
<p><strong>Change the media card</strong></p>
<ol>
<li>On the <strong>Simulate</strong> menu, click <strong>Change SD Card</strong>.</li>
<li>Complete one of the following tasks:</li>
</ol>
<table border="0" cellpadding="5" width="100%">
<tbody>
<tr>
<td width="40%"><strong>Task</strong></td>
<td width="60%"><strong>Steps</strong></td>
</tr>
<tr>
<td>Specify a new media card</td>
<td>In the <strong>Current SD Card</strong> list, click a media card. To specify no card, click <strong>None</strong>.</td>
</tr>
<tr>
<td>Add a media card to the <strong>Current SD Card</strong> list from a file</td>
<td>a. In the <strong>SD Card</strong> dialog box, click <strong>Add SD Image</strong>.<br />
b. Navigate to the location of the media card image file.<br />
c. Click the media card image file.<br />
d. Click <strong>Open</strong>.</td>
</tr>
<tr>
<td>Create a new media card</td>
<td>a. In the <strong>SD Card</strong> dialog box, click <strong>Mount Directory</strong>.<br />
b. Navigate to the location where you want to save the media card image.<br />
c. Click <strong>OK</strong></td>
</tr>
<tr>
<td>Delete a media card</td>
<td>a. In the <strong>Current SD Card</strong> list, click the media card.<br />
b. Click <strong>Yes.</strong><br />
c. Click <strong>Close</strong>.</td>
</tr>
</tbody>
</table>
<h2>How to Use Hotswap with the BlackBerry Simulator</h2>
<p><img class="aligncenter size-full wp-image-3500" title="simulator" src="http://rimdevblog.files.wordpress.com/2011/04/simulator.jpg?w=450&#038;h=445" alt="" width="450" height="445" /></p>
<p>Hotswap, the ability to reload an application on to a running simulator without having to stop and start the simulator, is now part of the 5.0 BlackBerry Simulator.</p>
<p><strong>BlackBerry Smartphone JDE 5.0</strong></p>
<p>In JDE 5.0, you need to change your Simulator preferences. Toggle the “Reuse Simulator” checkbox to on.  (If the Reuse Simulator checkbox is grayed out, that simulator is not compatible with Hotswap.)  Then, when debugging your application, you can change the code at any time and redeploy it without restarting the simulator by going to Debug &gt; Restart or pressing Shift-F9.</p>
<p><strong>BlackBerry® Java® Plug-in or BlackBerry® Web Plug-in</strong></p>
<p>No changes are needed &#8211; you no longer need to close your simulator.  While the simulator is open, simply make changes to your code and press debug &#8211; it will automatically redeploy the change to the running simulator.</p>
<p>Do you have any questions or comments about using the BlackBerry Smartphone Simulators?  Please leave a comment and let us know!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/4816/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/4816/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=4816&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2011/04/blackberry-simulators/feed/</wfw:commentRss>
		<slash:comments>2</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/2011/04/torch.jpg" medium="image">
			<media:title type="html">BlackBerry Torch</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2011/04/battery.jpg" medium="image">
			<media:title type="html">battery</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2011/04/network-coverage.jpg" medium="image">
			<media:title type="html">network-coverage</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2011/04/microsd.jpg" medium="image">
			<media:title type="html">microsd</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2011/04/simulator.jpg" medium="image">
			<media:title type="html">simulator</media:title>
		</media:content>
	</item>
		<item>
		<title>Super Apps Series (Java): Why should I use Application Messages Integration?</title>
		<link>http://devblog.blackberry.com/2010/09/application-messages-integration/</link>
		<comments>http://devblog.blackberry.com/2010/09/application-messages-integration/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 20:17:52 +0000</pubDate>
		<dc:creator>Gurtej S.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Java Development]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[application messages]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[JDE]]></category>
		<category><![CDATA[messages]]></category>
		<category><![CDATA[super apps]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=2191</guid>
		<description><![CDATA[BlackBerry Development Super Apps Series for Java development. How to implement Application Messages integration.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2191&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-2192" title="Application Messages Integration on BlackBerry®" src="http://rimdevblog.files.wordpress.com/2010/09/application-messages.jpg?w=478&#038;h=225" alt="" width="478" height="225" /></p>
<p>Do you know what it takes to make a <a title="Super Apps" href="http://na.blackberry.com/eng/developers/started/super_apps.jsp?IID=DEVSUP05" target="_new">Super App</a>? There are certainly many aspects you can take advantage of to create the Super Apps experience, but today let’s look at using the Application Messages API introduced in 4.6 OS &#8211; also known as message list integration, which allows applications to add entries into the message list.  Leveraging this API in your application will allow you to seamlessly integrate with the native email application.</p>
<p><strong>New Classes or Methods:</strong></p>
<p><strong> </strong></p>
<p><strong>net.rim.blackberry.api.messagelist</strong></p>
<p>Why should we be using Application Messages API?  Simple: a BlackBerry smartphone user primarily looks at their messages application throughout the day. By displaying custom information directly in the message list, you can create that integrated experience with the messages application.</p>
<p>So how does this work? Basically, your application will create an ApplicationMessageFolder which will contain any messages created by your application. When an application message is added to the folder, it will be placed in the message list using the provided information from the ApplicationMessage Interface. This enables the user to open the application message, which then opens in the applications screen and contains the contextual information about this object. As shown in the screenshot above, all your application specific messages are in a single folder and appear in the user’s main messages application.</p>
<p><span id="more-2191"></span></p>
<p>One common use case for this feature is adding a welcome message to the applications message list when the user first installs your application.  You will find that applications such as <a href="http://appworld.blackberry.com/webstore/content/1">BlackBerry® App World</a>™, <a href="http://appworld.blackberry.com/webstore/content/680">Facebook</a> and <a href="http://appworld.blackberry.com/webstore/content/8160">Twitter</a> do this today, making the applications more compelling and more useful for the end users.  Additional examples using the Application Messages API to create this integrated experience include:</p>
<ul>
<li>Notifying the BlackBerry User upon the receiving new information; examples include weather alerts, status of flight, or even notifying the user if friends are in the same city.</li>
<li>Alerting the user on application upgrade availability. For example, BlackBerry App World integrates with the Application Messages API and notifies the user on application upgrade availability.</li>
</ul>
<p>Now let’s look at the Application Indicator API, which goes hand-in-hand with the Application Messages API.  As shown in the screenshot below, the Application Indicator API allows applications to leverage the top banner area to display a new notification, in order to inform the user of an event occurring with your application.</p>
<p><img class="aligncenter size-full wp-image-2194" title="Application Messages Integration on BlackBerry" src="http://rimdevblog.files.wordpress.com/2010/09/application-messages-21.jpg?w=479&#038;h=80" alt="" width="479" height="80" /></p>
<p>Similar to how the email application displays a counter for the number of unread emails, an application can provide an image and optional count that is specific to the application itself.  As shown in the above image, an application icon appears in the banner section with a value shown as 19. As best practice, your application message should always be paired with ApplicationIndicator, using it as an unread count as seen in the above screenshot (although ApplicationIndicator may not necessarily require ApplicationMessages).</p>
<p>Another best practice to consider when using the Application Message API is to not clutter your end user’s main inbox. To avoid this negative experience, you should provide your users an option to disallow your application-specific messages from appearing in the main inbox.  One other important note I want to mention is that when using the Application Messages API, your application needs to perform an initialization on device startup by registering the application indicator and message list. This is also demonstrated in the Message List Demo sample application which can be found as part of your BlackBerry JDE installation.</p>
<p>As you can see, Application Messages API integration gives your application the ability to provide an effective user experience. Since your application is now one step closer to delivering the Super App experience, I’d like to remind you that you can qualify for the <a href="http://www.blackberrypartnersfund.com/2010_super_apps_developer_challenge?CPID=DEVSAC07" target="_new">BlackBerry Super Apps Developer Challenge</a> and win some great prizes &#8211; this is your last weekend to enter  (here are <a href="http://rimdevblog.files.wordpress.com/2010/09/application-messages-21.jpg2010/08/super-apps-tips/">some additional tips</a> to help you out if you&#8217;re stuck)!</p>
<p>Please write your thoughts in the comments section, and let us know what your favorite applications are that take advantage of Application Messages API integration. Also, if you have any questions please ask away!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/2191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/2191/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2191&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/09/application-messages-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/41e8b1a2189dfce0a51887beab21795d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gurtejsan1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/09/application-messages.jpg" medium="image">
			<media:title type="html">Application Messages Integration on BlackBerry®</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/09/application-messages-21.jpg" medium="image">
			<media:title type="html">Application Messages Integration on BlackBerry</media:title>
		</media:content>
	</item>
		<item>
		<title>New Code Hot Swap Feature with BlackBerry Simulators</title>
		<link>http://devblog.blackberry.com/2010/04/new-code-hot-swap-feature/</link>
		<comments>http://devblog.blackberry.com/2010/04/new-code-hot-swap-feature/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 10:05:00 +0000</pubDate>
		<dc:creator>Tim W.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Java Development]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[JDE]]></category>
		<category><![CDATA[knowledge-base]]></category>
		<category><![CDATA[simulator]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[vidro]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=1315</guid>
		<description><![CDATA[With the latest simulators and BlackBerry® plug-ins, it’s possible to change your code and publish it to a running simulator without a reset. We'll show you how in this blog post.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=1315&#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/Lhf94Rf2R08?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>With the latest simulators and <a title="BlackBerry Java Application Development" href="http://na.blackberry.com/eng/developers/javaappdev/" target="_new">BlackBerry® Java Plug-in</a> or <a title="BlackBerry Browser Development" href="http://na.blackberry.com/eng/developers/browserdev/" target="_new">BlackBerry® Web Plug-in</a>, it’s possible to change your code and publish it to a running simulator without a reset. This new feature will greatly improve your development experience and is particularly valuable for those little UI tweaks when you’re working on getting something just perfect.</p>
<p><span id="more-1315"></span></p>
<p>The hot swap feature is integrated right into the debugging process, so all you really need to change about your existing workflow is to stop closing the BlackBerry® Simulator. After you’ve launched the simulator and need to make a change to the code, just jump back to your code and make the change without closing your app or the simulator. When you’ve completed the change, run the debugging configuration that you ran before.</p>
<p>In the background, the tools will:</p>
<ol>
<li>Rebuild your code.</li>
<li>Unload the modules from the running simulator.</li>
<li>Load the new version to the simulator.</li>
<li>Reconnect the debugger.</li>
<li>Return to the application that was in the foreground.</li>
</ol>
<p>So if you left your application in the foreground, you’ll see your changes without even launching the application again, and all this takes only a few seconds. Watch the video above to see an example of hot swap in action.</p>
<p>Added to the improvements is the simulator startup time; it’s faster and easier than ever to get developing on the simulators, and you still benefit from the simulators running the same Java code as the BlackBerry® smartphone does for outstanding accuracy.</p>
<p>If you upgraded from the BlackBerry® Java Plug-in for Eclipse® v1.1.1, make sure you are using the new JRE by following these steps:</p>
<ol>
<li>Manually select the upgraded BlackBerry JRE by navigating to Windows &gt; Preferences &gt; Java &gt; Installed JREs.</li>
<li>Select the old BlackBerry 5.0.0 JRE and click Edit.</li>
<li>Change the Definition File by navigating to the new BlackBerry JRE (with the File button).</li>
<li>In the components folder, select the BlackBerry.ee file and click Finish</li>
<li>Your Definition File path should look like this:</li>
</ol>
<p><a href="http://rimdevblog.files.wordpress.com/2010/04/jre-definition.jpg"><img class="aligncenter size-full wp-image-1343" title="JRE Definition" src="http://rimdevblog.files.wordpress.com/2010/04/jre-definition.jpg?w=600&#038;h=474" alt="" width="600" height="474" /></a></p>
<p>Have you tried out the hot swap feature yet? Leave us a comment and let us know how it worked out for you!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/1315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/1315/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=1315&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/04/new-code-hot-swap-feature/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4af90af66399bef37f445ec81aba64a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">timwin1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/04/jre-definition.jpg" medium="image">
			<media:title type="html">JRE Definition</media:title>
		</media:content>
	</item>
		<item>
		<title>Making the Most out of Eclipse</title>
		<link>http://devblog.blackberry.com/2010/04/making-most-out-of-eclipse/</link>
		<comments>http://devblog.blackberry.com/2010/04/making-most-out-of-eclipse/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 10:00:00 +0000</pubDate>
		<dc:creator>Tim W.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Java Development]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[JDE]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=929</guid>
		<description><![CDATA[BlackBerry Java Plug-in for Eclipse version 1.1 introduction and all its additional BlackBerry development capabilities.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=929&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-1325" title="Eclipse" src="http://rimdevblog.files.wordpress.com/2010/04/eclipse.jpg?w=322&#038;h=212" alt="" width="322" height="212" /></p>
<p>As part of the BlackBerry® Developer Relations team here at <a title="Research In Motion" href="http://www.rim.com/" target="_new">RIM</a>, we are continually working with our development teams to design and deliver improvements to the developer tools available for building applications for BlackBerry smartphones.</p>
<p>In general, the most popular development tools in the market are <a title="Eclipse" href="http://www.eclipse.org/" target="_new">Eclipse</a> and <a title="Microsoft® Visual Studio®" href="http://www.microsoft.com/visualstudio/en-ca/default.mspx" target="_new">Microsoft® Visual Studio®</a>. Today I want to share some more with you on what Eclipse means for BlackBerry development, and what some of our philosophies and goals are moving forward for these tools.</p>
<p>We definitely understand the power and flexibility of Eclipse for many different types of development.  This is the key reason why we have really been moving forward with a plug-in approach to <a title="Eclipse Web tooling" href="http://na.blackberry.com/eng/developers/devbetasoftware/eclipseplugin.jsp" target="_new">Eclipse</a> for both our Java and Web tooling and moving away from our traditional Java Development Environment.</p>
<p>We have been taking feedback and suggestions from the community and are now looking at our integration with Eclipse from a new angle.  This new vision is apparent in our recently introduced <a title="Eclipse Web tooling" href="http://na.blackberry.com/eng/developers/browserdev/eclipseplugin.jsp">Eclipse Web tooling</a> for BlackBerry Widgets as well as combining that with major changes in the <a title="BlackBerry Java Plug-in for Eclipse version 1.1" href="http://na.blackberry.com/eng/developers/devbetasoftware/javaplugin.jsp" target="_new">BlackBerry Java Plug-in for Eclipse version 1.1</a>.</p>
<p>We really want to let Eclipse do what it does best, and add in BlackBerry tooling functionality where it is needed (BlackBerry Simulator support, Debugging, etc.).   This allows you as a developer to use Eclipse for your development exactly as you would for any other project.</p>
<p><span id="more-929"></span></p>
<p>Some of the enhancements to v1.1 are:</p>
<ul>
<li><strong>Getting started page:</strong> Easy access to BlackBerry KB articles, videos and BlackBerry® Developer Zone content</li>
<li><strong>Support for Eclipse project artifacts and folder structures:</strong> Compatibility with source code control systems and Eclipse methodologies</li>
<li><strong>Leverage familiar Eclipse functionality for BlackBerry development:</strong> Enable use of Eclipse features such as multiple source folders in a project, Eclipse variables, file and folder linking in projects, refactoring, working sets and launch configurations, and inclusion/exclusion patterns in projects</li>
<li><strong>Support for multiple BlackBerry OS versions within a workspace:</strong> Reduced development time, cleaner project organization</li>
<li><strong>Define project properties in a BlackBerry Application Descriptor File:</strong> XML-based files enable easy maintenance and tracking of changes using a source control system</li>
<li><strong>Wizard to import sample applications or BlackBerry® Java® Development Environment (BlackBerry JDE) based projects into a workspace:</strong> Reduced development lifecycle</li>
</ul>
<p>If you have suggestions and/or feature requests for our Java tooling, please be sure to leave me some comments on this post, because it is your feedback that will continue to help us shape our tooling.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/929/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/929/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=929&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/04/making-most-out-of-eclipse/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4af90af66399bef37f445ec81aba64a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">timwin1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/04/eclipse.jpg" medium="image">
			<media:title type="html">Eclipse</media:title>
		</media:content>
	</item>
		<item>
		<title>Bloggers Pick: Enterprise Presentations at Dev Con (Tim Windsor)</title>
		<link>http://devblog.blackberry.com/2009/10/bloggers-pick-enterprise-presentations-at-dev-con-tim-windsor/</link>
		<comments>http://devblog.blackberry.com/2009/10/bloggers-pick-enterprise-presentations-at-dev-con-tim-windsor/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 15:15:44 +0000</pubDate>
		<dc:creator>Douglas Soltys</dc:creator>
				<category><![CDATA[Dev Con]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Enterprise]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[JDE]]></category>
		<category><![CDATA[jde 5.0]]></category>

		<guid isPermaLink="false">http://blackberrydev.edstaging.com/?p=144</guid>
		<description><![CDATA[The BlackBerry® Developer Conference is fast approaching, bringing with it a truckload of exciting sessions for both the experienced and budding developer. While we highly recommend you check out the Session Catalog yourself, who better to fill you in than the esteemed blogging team at the BlackBerry Developer’s Blog? Below you’ll find Application Development Consultant [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=144&#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/tneil_avatar6.jpg?w=600&#038;h=450" alt="" title="Bloggers Pick: Enterprise Presentations at Dev Con (Tim Windsor)" width="600" height="450" class="aligncenter size-full wp-image-5834" /></p>
<p>The <a href="http://www.blackberrydeveloperconference.com/">BlackBerry® Developer Conference</a> is fast approaching, bringing with it a truckload of exciting sessions for both the experienced and budding developer. While we highly recommend you check out the <a href="https://www.blackberrydeveloperconference.net/2009/scheduler/public.jsp?CPID=EMC-DEVCNF004">Session Catalog</a> yourself, who better to fill you in than the esteemed blogging team at the BlackBerry Developer’s Blog? Below you’ll find Application Development Consultant Tim Windsor’s three most exciting enterprise related sessions.*</p>
<p><a href="https://www.blackberrydeveloperconference.net/2009/scheduler/profile.do?SESSION_ID=1710&amp;form=searchform&amp;ts=1256073946278"><strong>DEV11 Hidden Gems &#8211; Little Known, But Highly Useful BlackBerry Java APIs and BlackBerry JDE Features</strong></a><br />
Personally, I always enjoying finding those little known APIs that I might have overlooked, but fit some perfect niche when I know what they can be used for. I’ve also known Denver for several years and he has the attention to detail, passion for programming and good API development that ensures this will be a great session. Expect to leave with new tools to enhance the overall performance and construction quality of your apps.<span id="more-144"></span></p>
<p><a href="https://www.blackberrydeveloperconference.net/2009/scheduler/profile.do?SESSION_ID=1702&amp;form=searchform&amp;ts=1256076027071"><strong>DEV14 The Cutting Edge of User Interface Design</strong></a><br />
This session is going to be very cool. Enterprise apps today require a high quality user experience in order to be successful, in much the same way that consumer apps have always needed a bit of ‘flare’. Users expect a great deal of polish and ease of use. Here you can expect the very best of what is possible: they are here to show you how to make your apps look incredible. If there’s any room at all, I’m going to be sneaking in the back.</p>
<p><a href="https://www.blackberrydeveloperconference.net/2009/scheduler/profile.do?SESSION_ID=1722&amp;form=searchform&amp;ts=1256076027071"><strong>DEV17 Deliver the Complete BlackBerry Smartphone Experience: Integrating Your Applications with Nati&#8230;</strong></a><br />
One area that I’ve frequently seen done minimally is integration with the core apps or using the core apps to do their part while the 3rd party app handles its niche. It’s a significantly better user experience to leverage the core apps as users are comfortable with them and they’ve undergone years of user experience refinements. Of course, if you don’t have to write the same features into your app, that will save valuable time. Cassidy will also be talking about some of the excellent new APIs in BlackBerry OS 5.0 which have been high on the developer community’s wish list. These APIs will allow you to bring core features and data into your apps easily – again saving time and maintaining a consistent experience. Overall, this session is going to help you make an application that fits with the other core apps so your users get the best experience on their BlackBerry smartphone, and that’s key to any successful app.</p>
<p>Post a comment and let us know which sessions you’re excited for. We hope to see you there!<br />
*<em>Bloggers were not allowed to choose sessions that they are running.</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/144/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=144&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2009/10/bloggers-pick-enterprise-presentations-at-dev-con-tim-windsor/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/tneil_avatar6.jpg" medium="image">
			<media:title type="html">Bloggers Pick: Enterprise Presentations at Dev Con (Tim Windsor)</media:title>
		</media:content>
	</item>
		<item>
		<title>BlackBerry Developer Webinar: Mobile Design Considerations</title>
		<link>http://devblog.blackberry.com/2009/10/blackberry-developer-webinar-mobile-design-considerations/</link>
		<comments>http://devblog.blackberry.com/2009/10/blackberry-developer-webinar-mobile-design-considerations/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 11:35:32 +0000</pubDate>
		<dc:creator>Mike Kirkup</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Java Development]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[JDE]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Toolkit]]></category>
		<category><![CDATA[webinar]]></category>

		<guid isPermaLink="false">http://blackberrydev.edstaging.com/?p=271</guid>
		<description><![CDATA[Building on the momentum of our extremely successful Web Development and Toolkits webinar , we will be hosting our second ever developer webinar on Tuesday, October 20th, addressing mobile design considerations for application development. Read on for a more detailed overview of this live and free webinar. Presenter: Sarim Aziz, Senior Application Development Consultant, Developer Relations Panelists: Mike Kirkup, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=271&#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/original25.jpg?w=500&#038;h=300" alt="" title="BlackBerry Developer Webinar: Mobile Design Considerations" width="500" height="300" class="aligncenter size-full wp-image-5845" /></p>
<p>Building on the momentum of our extremely successful <a rel="nofollow" href="http://supportforums.blackberry.com/t5/BlackBerry-Developer-s-Blog/BlackBerry-Developers-Webinar-Web-Development-and-Toolkits/ba-p/325108" target="_self">Web Development</a> and <a rel="nofollow" href="http://supportforums.blackberry.com/t5/BlackBerry-Developer-s-Blog/BlackBerry-Developers-Webinar-Follow-Up/ba-p/332288" target="_self">Toolkits webinar</a> , we will be hosting our second ever <strong>developer webinar on Tuesday, October 20th, addressing mobile design considerations for application development. </strong>Read on for a more detailed overview of this <strong>live and free webinar</strong>.</p>
<p><strong>Presenter:</strong> Sarim Aziz, Senior Application Development Consultant, Developer Relations<br />
<strong>Panelists:</strong> Mike Kirkup, Director, Developer Relations<br />
<strong>Date:</strong> Tuesday October 20, 2009.<br />
<strong>Time:</strong> 2:00 pm – 3:00 pm EST.<span id="more-271"></span></p>
<p><strong>Overview: </strong><br />
Join us in an online discussion for BlackBerry Java developers which will help you better understand mobile application design considerations through a review of best practices and real world examples.</p>
<p>We&#8217;ll help you address design considerations specific to mobile applications, from Network Communication and User Interface, to Data and Memory management. We&#8217;ll also take a look at how you can leverage the <a rel="nofollow" href="http://na.blackberry.com/eng/developers/javaappdev/" target="_self">BlackBerry Java Development Tools</a> for debugging and optimizing your BlackBerry applications.</p>
<p>After the information presentation, developers will have an opportunity to interact with BlackBerry experts in a real time Q&amp;A session. What are you waiting for? Click on the link below for registration information!</p>
<p><a rel="nofollow" href="http://e.blackberry.com/servlet/cc6?jpuKuQDSQqTVVaVWB" target="_self">BlackBerry Developer Webinar: BlackBerry Java Development Tools</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/271/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=271&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2009/10/blackberry-developer-webinar-mobile-design-considerations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/df3fbb85b0186198b2f85e7cd3f0bf1a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikekir1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2009/10/original25.jpg" medium="image">
			<media:title type="html">BlackBerry Developer Webinar: Mobile Design Considerations</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Use Spin Boxes (Part One)</title>
		<link>http://devblog.blackberry.com/2009/09/how-to-use-spin-boxes-part-one/</link>
		<comments>http://devblog.blackberry.com/2009/09/how-to-use-spin-boxes-part-one/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 17:12:50 +0000</pubDate>
		<dc:creator>Mike Kirkup</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Java Development]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[JDE]]></category>
		<category><![CDATA[jde 5.0]]></category>
		<category><![CDATA[spin-box]]></category>

		<guid isPermaLink="false">http://blackberrydev.edstaging.com/?p=400</guid>
		<description><![CDATA[Spin boxes are one of the many new features included in the BlackBerry® Java® Application Development v5.0 Beta 3 release and provide a user friendly interface for selecting an item from a sequential list. Examples of sequential lists include numbers, dates, and names. The &#8220;spin&#8221; part of the name comes from the fact that the user [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=400&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Spin boxes are one of the many new features included in the <a title="BlackBerry Java Application Development v5.0 Beta 3" href="http://supportforums.blackberry.com/t5/BlackBerry-Developer-s-Blog/BlackBerry-Java-Application-Development-v5-0-Beta-now-live/ba-p/315514#M73" target="_self">BlackBerry® Java® Application Development v5.0 Beta 3</a> release and provide a user friendly interface for selecting an item from a sequential list. Examples of sequential lists include numbers, dates, and names. The &#8220;spin&#8221; part of the name comes from the fact that the user spins the component to find the item.  If the user spins to the end of the list, the displayed choices can wrap around so the user arrives back at the beginning of the list.</p>
<p>Here’s what a spin box looks like:</p>
<p><img src="http://rimdevblog.files.wordpress.com/2009/09/original-116.jpg?w=305&#038;h=150" alt="" title="How to Use Spin Boxes (Part One)" width="305" height="150" class="aligncenter size-full wp-image-5876" /></p>
<p><img src="http://rimdevblog.files.wordpress.com/2009/09/original-126.jpg?w=313&#038;h=151" alt="" title="" width="313" height="151" class="aligncenter size-full wp-image-5877" /></p>
<p><span id="more-400"></span></p>
<p style="text-align:left;">As seen in the screenshots above, developers can use one or more spin boxes, which are managed by a spin box manager. The manager is responsible for enforcing a common look across the controlled spin boxes e.g. height, visible rows, and padding.</p>
<p style="text-align:left;">Spin boxes do not necessarily have to contain only text. While RIM currently provides a text version of a spin box, developers are free to implement their own spin boxes. For example, developers can create a custom spin box that renders bitmaps. Creating custom spin boxes will be covered in a future post.</p>
<h3>Using spin boxes in your application</h3>
<p>As mentioned previously, the BlackBerry Java Application Development v5.0 Beta 3 release provides a text version of the spin boxes. The key components when using spin boxes include:</p>
<ul>
<li>One or more sets of choices</li>
<li>One or more spin boxes</li>
<li>A spin box manager</li>
</ul>
<p>Here is a code snippet that will produce a spin box similar to the screenshots above.</p>
<p><img src="http://rimdevblog.files.wordpress.com/2009/09/original-137.jpg?w=621&#038;h=434" alt="" title="" width="621" height="434" class="aligncenter size-full wp-image-5881" /></p>
<p style="text-align:left;">Interested in learning more? In future posts, we will discuss:</p>
<ul>
<li>Advanced use of spin boxes</li>
<li>How to create custom spin boxes</li>
<li>The new date and time picker which uses the spin boxes</li>
</ul>
<p>Stay tuned!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/400/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/400/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=400&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2009/09/how-to-use-spin-boxes-part-one/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/df3fbb85b0186198b2f85e7cd3f0bf1a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikekir1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2009/09/original-116.jpg" medium="image">
			<media:title type="html">How to Use Spin Boxes (Part One)</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2009/09/original-126.jpg" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2009/09/original-137.jpg" medium="image" />
	</item>
		<item>
		<title>How-to Set up a Lightning Fast BlackBerry Smartphone Simulator</title>
		<link>http://devblog.blackberry.com/2009/08/how-to-set-up-a-lightning-fast-blackberry-smartphone-simulator/</link>
		<comments>http://devblog.blackberry.com/2009/08/how-to-set-up-a-lightning-fast-blackberry-smartphone-simulator/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 12:54:22 +0000</pubDate>
		<dc:creator>Kamen V.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Java Development]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[JDE]]></category>
		<category><![CDATA[simulator]]></category>

		<guid isPermaLink="false">http://blackberrydev.edstaging.com/?p=625</guid>
		<description><![CDATA[Many times while coding an application for BlackBerry® smartphones, I want to quickly start the BlackBerry® Smartphone Simulator and see what I have achieved so far. Micro-iterative coding is my style of choice. I don&#8217;t need to debug any code, I just want to see it running; If it doesn’t work, then I’ll begin debugging. [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=625&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Many times while coding an application for BlackBerry® smartphones, I want to quickly start the BlackBerry® Smartphone Simulator and see what I have achieved so far. Micro-iterative coding is my style of choice. I don&#8217;t need to debug any code, I just want to see it running; If it doesn’t work, then I’ll begin debugging.  For those of you who share the same coding approach, here is a tip on how to make your BlackBerry Smartphone Simulator launch lightning fast.</p>
<h2>BlackBerry Smartphone Simulator Initial Launch</h2>
<p>The BlackBerry Smartphone Simulator keeps all simulated flash memory in .DMP files &#8211; you can find these in the simulator&#8217;s working directory. Whenever you need to get rid of any persistent data that you have accumulated, you can either delete these files manually or do it from within the <a title="BlackBerry JDE" href="http://supportforums.blackberry.com/t5/BlackBerry-Developer-s-Blog/BlackBerry-Java-Application-Development-v5-0-Beta-now-live/ba-p/315514#A73" target="_blank">BlackBerry® Java® Development Environment</a> (BlackBerry JDE) or the <a title="BlackBerry JDE Plug-in for Eclipse" href="http://na.blackberry.com/eng/developers/javaappdev/javaeclipseplug.jsp" target="_blank">BlackBerry® JDE Plug-in for Eclipse</a>. This acts as a grand reset giving you the equivalent of a brand new BlackBerry® smartphone. However, the next time the BlackBerry Smartphone Simulator launches it will need to load all the OS files (including any applications it finds in the current directory) and link them within the newly created file system. This obviously takes time – possibly up to 3 minutes. On the IBM® ThinkPad W500 I use at work it takes 32 seconds which is still a considerable wait time.<span id="more-625"></span></p>
<p><em><strong>So, rule number one</strong></em><strong>: delete the BlackBerry Smartphone Simulator file system only when necessary.</strong></p>
<p>There is also an option to automatically reset the file system every time you start the BlackBerry Smartphone Simulator &#8211; make sure it is also turned off unless you really need it.</p>
<ul>
<li>In the BlackBerry JDE, you can find it by selecting Edit -&gt; Preferences -&gt; Simulator -&gt; Memory and unchecking the “reset file system on startup” option.</li>
<li>In the BlackBerry JDE Plug-in for Eclipse, select Debug -&gt; Run Configuration and uncheck the option under the Memory tab.</li>
</ul>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-911" title="Debug" src="http://rimdevblog.files.wordpress.com/2009/08/blackberry-jde-debug1.jpg?w=480&#038;h=338" alt="" width="480" height="338" /></p>
<h2>Debug Sessions</h2>
<p>The debug session is a connection established between the BlackBerry JDE and the BlackBerry Smartphone Simulator to enable… well, debugging. Establishing a debugging session requires many prerequisites to be prepared both on the BlackBerry Smartphone Simulator side and on the debugging tool side. When the debugging session is established on my laptop it takes 32 seconds for initial launch and 16 seconds for subsequent runs.  <strong>Without debugging it takes 23 seconds for initial launch and 10 seconds for subsequent launches! </strong></p>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-912" title="Debug chart" src="http://rimdevblog.files.wordpress.com/2009/08/blackberry-debug-chart1.jpg?w=480&#038;h=270" alt="" width="480" height="270" /></p>
<p><strong><strong><em>Rule number two</em>: establish a debug session only when you have a specific problem to debug.</strong></strong></p>
<p>Don&#8217;t worry – if you run the application and find a problem, you can still attach the debugger:</p>
<ul>
<li>In the BlackBerry JDE, select Debug -&gt; Attach To -&gt; Simulator or press Ctrl-Shift-0.</li>
<li>In the BlackBerry JDE Plug-in for Eclipse, choose &#8220;Running BlackBerry Simulator&#8221; as your Debug Configuration.</li>
</ul>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-913" title="How to debug" src="http://rimdevblog.files.wordpress.com/2009/08/blackberry-jde-debug-howto1.jpg?w=480&#038;h=185" alt="" width="480" height="185" /></p>
<h2>How to run the BlackBerry Smartphone Simulator without Debugging</h2>
<p>Now that it is apparent how much time we can save, let&#8217;s see what we need to do in order to avoid establishing a debug session. With the BlackBerry JDE Plug-in for Eclipse it&#8217;s pretty straightforward &#8211; simply select &#8220;Run&#8221; instead of &#8220;Debug&#8221; or use the CTRL-F11 shortcut and the BlackBerry Smartphone Simulator will launch right away. Using the BlackBerry JDE requires the slightly more involved process of creating a batch file:</p>
<ul>
<li>Open the BlackBerry Smartphone Simulator Properties menu and select Edit -&gt; Preferences -&gt; Simulator and then select the Advanced tab.</li>
<li>Here you have the actual command line that can launch the BlackBerry Smartphone Simulator with all the necessary command line options; every time you change an option under the Simulator tab it is reflected in this command line. You also have the proper working directory where the BlackBerry Smartphone Simulator should start in order to pick up any compiled applications.</li>
</ul>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-914" title="BlackBerry® Smartphone Simulator" src="http://rimdevblog.files.wordpress.com/2009/08/blackberry-smartphone-simulator1.jpg?w=480&#038;h=454" alt="" width="480" height="454" /></p>
<ul>
<li>Now you can create your runBBSim.bat:</li>
</ul>
<p><code>pushd "[workingDirectory]"</code></p>
<p><code>"[cmdLine]"</code></p>
<p><code> </code></p>
<p><code>popd </code></p>
<ul>
<li>Now replace [workingDirectory] and [cmdLine] with the contents of the corresponding fields on the Advanced subtab of the BlackBerry Smartphone Simulator preferences: Command Line and Working Directory. Don&#8217;t forget to put quotes around any paths containing spaces to make the Windows command-prompt happy.</li>
</ul>
<p>Here is what my batch file looks like:</p>
<p><code>pushd "C:\Program Files\Research In Motion\BlackBerry JDE 4.7.0\bin\..\simulator"</code></p>
<p><code> </code></p>
<p><code>"C:\Program Files\Research In Motion\BlackBerry JDE 4.7.0\bin\..\simulator\fledge.exe" /app=Jvm.dll /session=9500 /app-param=DisableRegistration /app-param=JvmAlxConfigFile:9500.xml /data-port=0x4d44 /data-port=0x4d4e /pin=0x2100000A /handheld=9500</code></p>
<p><code> </code></p>
<p><code>popd</code></p>
<p>Now you can compile the application in the BlackBerry JDE, start the batch file, and in 10 seconds you will have a running BlackBerry Smartphone Simulator with your application installed on it! Sounds like too much trouble? Believe me it&#8217;s worth the effort!</p>
<p>Do you have any other tricks for speeding up the BlackBerry Smartphone Simulator? Let us know by posting a comment.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/625/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=625&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2009/08/how-to-set-up-a-lightning-fast-blackberry-smartphone-simulator/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/832dccdac0a9f32971905af91e11034e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kamenv1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2009/08/blackberry-jde-debug1.jpg" medium="image">
			<media:title type="html">Debug</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2009/08/blackberry-debug-chart1.jpg" medium="image">
			<media:title type="html">Debug chart</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2009/08/blackberry-jde-debug-howto1.jpg" medium="image">
			<media:title type="html">How to debug</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2009/08/blackberry-smartphone-simulator1.jpg" medium="image">
			<media:title type="html">BlackBerry® Smartphone Simulator</media:title>
		</media:content>
	</item>
		<item>
		<title>BlackBerry Storm Development Getting Started Links</title>
		<link>http://devblog.blackberry.com/2009/08/blackberry-storm-development-getting-started-links/</link>
		<comments>http://devblog.blackberry.com/2009/08/blackberry-storm-development-getting-started-links/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 12:00:00 +0000</pubDate>
		<dc:creator>Douglas Soltys</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[developer-zone]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[JDE]]></category>
		<category><![CDATA[Storm]]></category>
		<category><![CDATA[Support]]></category>
		<category><![CDATA[Touchscreen]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=890</guid>
		<description><![CDATA[New BlackBerry® smartphone releases can prompt a whole new set of development requirements and best practices in order to maximize software potential for that device; this is a development reality. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=890&#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-891" title="BlackBerry® Storm™" src="http://rimdevblog.files.wordpress.com/2009/08/blackberry-storm1.jpg?w=480&#038;h=443" alt="" width="480" height="443" /></p>
<p>New BlackBerry® smartphone releases can prompt a whole new set of development requirements and best practices in order to maximize software potential for that device; this is a development reality. So we’ve put together a list of handy links to help educate developers on the BlackBerry® Storm™, the first touchscreen BlackBerry smartphone. These should be useful for both new BlackBerry developers and BlackBerry developers new to the BlackBerry Storm. Check them out below!</p>
<p><a title="BlackBerry® Java® Development Environment Fundamentals Guide - OS 4.7.0" href="http://rimdevblog.files.wordpress.com/2009/08/blackberry_java_development_environment-4.7-us.pdf" target="_new">BlackBerry® Java® Development Environment Fundamentals Guide &#8211; OS 4.7.0</a><br />
One of the most important reference guides for BlackBerry developers, covering all fundamental areas of BlackBerry development for OS 4.7.0.</p>
<p><a title="BlackBerry Developer Guide (PDF)" href="http://rimdevblog.files.wordpress.com/2009/08/development.pdf" target="_new">BlackBerry Developer Guide (PDF)</a><br />
An extension of the BlackBerry Java Development Environment Fundamentals Guide that covers additional topics for BlackBerry developers.</p>
<p><a title="BlackBerry Developer Newsletter featuring BlackBerry Storm Development" href="http://www.news-rim.com/developer/20081001/developer20081001.html" target="_new">BlackBerry Developer Newsletter featuring BlackBerry Storm Development</a><br />
A MUST READ for BlackBerry Storm development information. Includes tips and tricks, video tutorials and the ever popular Open Mike with Mike Kirkup podcast!</p>
<p>Please post a comment below if you find these resources helpful, or if you have any additional BlackBerry Storm questions.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/890/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/890/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=890&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2009/08/blackberry-storm-development-getting-started-links/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/08/blackberry-storm1.jpg" medium="image">
			<media:title type="html">BlackBerry® Storm™</media:title>
		</media:content>
	</item>
	</channel>
</rss>
