<?xml version="1.0"?><rss version="2.0">
<channel>
  <title>Peter&#039;s corner on mobile development - Snippets category</title>
  <link>http://peterscorner.co.uk:80/categories/Snippets/</link>
  <description>Journal of my explorations in mobile technologies</description>
  <language>en</language>
  <copyright>Peter Miklosko alias peter_budo</copyright>
  <lastBuildDate>Tue, 22 Jun 2010 19:48:52 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  <item>
    <title>Simple splash screen</title>
    <link>http://peterscorner.co.uk:80/2009/11/01/simple_splash_screen.html</link>
    <description>
          &lt;p&gt;I had this peace of code in my collection for sometime and forgot to put it online. This is simple splash screen midlet that is displayed on application start-up for 3 seconds and then next screen is showed.
&lt;/p&gt;&lt;p&gt;&lt;a href=&#034;http://peterscorner.co.uk:80/2009/11/01/simple_splash_screen.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;</description>
      <category>Snippets</category>
    <category>Tips</category>
    <category>MobilePhone</category>
    <category>JME</category>
    <comments>http://peterscorner.co.uk:80/2009/11/01/simple_splash_screen.html#comments</comments>
    <guid isPermaLink="true">http://peterscorner.co.uk:80/2009/11/01/simple_splash_screen.html</guid>
    <pubDate>Sun, 01 Nov 2009 16:34:16 GMT</pubDate>
  </item>
  <item>
    <title>How to browse file structure of mobile device with JME</title>
    <link>http://peterscorner.co.uk:80/2009/08/16/how_to_browse_file_structure_of_mobile_device_with_jme.html</link>
    <description>
          &lt;p&gt;Last month when I finished the ElectronicPersonalOrganiser (&lt;a href=&#034;http://www.peterscorner.co.uk/2009/04/26/designing_address_book_contact_list_part_1.html&#034; target=&#034;_blank&#034;&gt;1&lt;/a&gt;, &lt;a href=&#034;http://www.peterscorner.co.uk/2009/05/18/gui_design_contact_list_part_2.html&#034; target=&#034;_blank&#034;&gt;2&lt;/a&gt;, and &lt;a href=&#034;http://www.peterscorner.co.uk/2009/05/22/contact_sorting_contact_list_part_3.html&#034; target=&#034;_blank&#034;&gt;3&lt;/a&gt;) I was thinking how cool it would be have option to add image to contact. For this, midlet should allow user to browser mobile phone directories and find the file. Question was how to do it?&lt;/p&gt;&lt;p&gt;&lt;a href=&#034;http://peterscorner.co.uk:80/2009/08/16/how_to_browse_file_structure_of_mobile_device_with_jme.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;</description>
      <category>Java</category>
    <category>Snippets</category>
    <category>Tips</category>
    <category>JME</category>
    <comments>http://peterscorner.co.uk:80/2009/08/16/how_to_browse_file_structure_of_mobile_device_with_jme.html#comments</comments>
    <guid isPermaLink="true">http://peterscorner.co.uk:80/2009/08/16/how_to_browse_file_structure_of_mobile_device_with_jme.html</guid>
    <pubDate>Sun, 16 Aug 2009 21:06:50 GMT</pubDate>
  </item>
  <item>
    <title>Display - Best Practice (hopefully)</title>
    <link>http://peterscorner.co.uk:80/2009/06/01/display_best_practice_hopefully.html</link>
    <description>
          &lt;p&gt;For some time I was happy with the way  I&#039;ve written the code to handle showing information on device display. This topic was not discussed at my university, I guess no one actually does it, we were just provided with sample application that did whatever task been showcased during the lecture. Same applies to books that I&#039;ve  read so far, in regards to mobile development ( Beginning J2ME: From Novice to Professional, Kicking Butt with MIDP and MSA - Creating Great Mobile Applications,  Enterprise J2ME Wireless Applications and J2ME in a Nutshell), not one of them actually explained how  display changing action should be performed. After recently starting to study for my SCJP exam (SCJP Sun Certified Programmer)
  I asked my self &amp;quot;Do I really do it the best way?&amp;quot;. &lt;/p&gt;&lt;p&gt;&lt;a href=&#034;http://peterscorner.co.uk:80/2009/06/01/display_best_practice_hopefully.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;</description>
      <category>Java</category>
    <category>Snippets</category>
    <category>Tips</category>
    <category>JME</category>
    <comments>http://peterscorner.co.uk:80/2009/06/01/display_best_practice_hopefully.html#comments</comments>
    <guid isPermaLink="true">http://peterscorner.co.uk:80/2009/06/01/display_best_practice_hopefully.html</guid>
    <pubDate>Mon, 01 Jun 2009 17:02:36 GMT</pubDate>
  </item>
  <item>
    <title>Contact sorting - Contact List, Part 3</title>
    <link>http://peterscorner.co.uk:80/2009/05/22/contact_sorting_contact_list_part_3.html</link>
    <description>
          &lt;p&gt;
This is the final part of my little tutorial/coursework re-do, where I will show you how easily  can stored contacts be organised.&lt;br/&gt;
&lt;/p&gt;

&lt;p&gt;Some of you may know that RecordStore  works on base of LIFO - Last In, First Out approach. For example if record has been added in the order: peter, marta, bruno, mark they will be read out of RecordStore in reversed order as: mark, bruno, marta, peter. To get contacts sorted, there are two options; either try to put contacts in order every time new contact is added or, try to put them in order once they read out from RecordStore, just before they get displayed on screen. The first option is overkill as it is just too much work for application to perform each time new record is stored and pretty much useless (read all records, add new record in correct position and overwrite previous data), so second option is the obvious choice.&lt;/p&gt;
&lt;p&gt;&lt;p&gt;&lt;a href=&#034;http://peterscorner.co.uk:80/2009/05/22/contact_sorting_contact_list_part_3.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;</description>
      <category>Java</category>
    <category>Snippets</category>
    <category>Tips</category>
    <category>JME</category>
    <comments>http://peterscorner.co.uk:80/2009/05/22/contact_sorting_contact_list_part_3.html#comments</comments>
    <guid isPermaLink="true">http://peterscorner.co.uk:80/2009/05/22/contact_sorting_contact_list_part_3.html</guid>
    <pubDate>Fri, 22 May 2009 15:28:00 GMT</pubDate>
  </item>
  </channel>
</rss>
