<?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/"
> <channel><title>Danny Tsang &#187; Java</title> <atom:link href="http://www.dannytsang.co.uk/index.php/category/java/feed/" rel="self" type="application/rss+xml" /><link>http://www.dannytsang.co.uk</link> <description>Eats and spits code by day</description> <lastBuildDate>Mon, 06 Feb 2012 00:01:00 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>JavaME With Bluetooth GPS</title><link>http://www.dannytsang.co.uk/index.php/javame-with-bluetooth-gps/</link> <comments>http://www.dannytsang.co.uk/index.php/javame-with-bluetooth-gps/#comments</comments> <pubDate>Mon, 07 Mar 2011 22:44:41 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Java]]></category> <category><![CDATA[Mobile Phone]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[bluetooth]]></category> <category><![CDATA[j2me]]></category> <category><![CDATA[java application]]></category> <category><![CDATA[java applications]]></category> <category><![CDATA[java specification requests]]></category> <category><![CDATA[mobile edition]]></category> <category><![CDATA[mobile java]]></category> <category><![CDATA[motorola]]></category> <category><![CDATA[motorola a1200]]></category> <guid
isPermaLink="false">http://dannyis.mine.nu/?p=756</guid> <description><![CDATA[Introduction I have been getting my hands dirty with the Java Mobile Edition (JavaME) platform and I have had my ups and downs with it. It is the first time I have made a mobile Java application but I have &#8230; <a
href="http://www.dannytsang.co.uk/index.php/javame-with-bluetooth-gps/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/facebook-picture-upload-crashes-or-errors-on-firefox/' rel='bookmark' title='Facebook Picture Upload Crashes Or Errors On FireFox'>Facebook Picture Upload Crashes Or Errors On FireFox</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/lock-unlock-windows-with-bluetooth/' rel='bookmark' title='Lock &amp; Unlock Windows With Bluetooth'>Lock &#038; Unlock Windows With Bluetooth</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/bluenext-bn-909gr-sirfstar-iii-chip/' rel='bookmark' title='BlueNext BN-909GR &amp; SirfStar III Chip'>BlueNext BN-909GR &#038; SirfStar III Chip</a></li></ol>]]></description> <content:encoded><![CDATA[<h3>Introduction</h3><p>I have been getting my hands dirty with the <a
href="http://www.dannytsang.co.uk/index.php/tag/java/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Java">Java</a> <a
href="http://www.dannytsang.co.uk/index.php/tag/mobile-edition/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mobile edition">Mobile Edition</a> (JavaME) platform and I have had my ups and downs with it. It is the first time I have made a mobile <a
href="http://www.dannytsang.co.uk/index.php/tag/java/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Java">Java</a> application but I have done <a
href="http://www.dannytsang.co.uk/index.php/tag/java/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Java">Java</a> for over 4 years.</p><p>My first project was to create an application which would &#8220;talk&#8221; to a <a
href="http://www.dannytsang.co.uk/index.php/tag/bluetooth/" class="st_tag internal_tag" rel="tag" title="Posts tagged with bluetooth">bluetooth</a> GPS device. This would give me experience with <a
href="http://www.dannytsang.co.uk/index.php/tag/bluetooth/" class="st_tag internal_tag" rel="tag" title="Posts tagged with bluetooth">bluetooth</a> as well as GPS technology and it did!</p><h3>The Platform Background</h3><p><a
href="http://www.dannytsang.co.uk/index.php/tag/j2me/" class="st_tag internal_tag" rel="tag" title="Posts tagged with j2me">J2ME</a> was based on the Java language which has been cut down for the mobile platform. To do this they have removed a lot of the packages found in Java. The base version of Java it uses is 1.4 which is pretty old now considering Java Standard Edition (JavaSE) is on 1.6. All Java enabled devices using the JavaME platform has the base packages set by the Java committee which consists of some JavaSE packages and some JavaME specific packages. Over time new optional standard package specifications have been made and vendors can pick and choose which one they want to implement into their device. All of these optional standard packages are named JSR-xxx (<a
href="http://www.dannytsang.co.uk/index.php/tag/java-specification-requests/" class="st_tag internal_tag" rel="tag" title="Posts tagged with java specification requests">Java Specification Requests</a>) where &#8220;xxx&#8221; is a number. Like Java it is a specification and it can be implemented in different ways by different manufacturers.</p><h3>My First JavaME Project</h3><p>I was using a <a
href="http://www.dannytsang.co.uk/index.php/tag/motorola-a1200/" class="st_tag internal_tag" rel="tag" title="Posts tagged with motorola a1200">Motorola A1200</a> <a
href="http://www.dannytsang.co.uk/index.php/tag/phone/" class="st_tag internal_tag" rel="tag" title="Posts tagged with phone">phone</a> as my test <a
href="http://www.dannytsang.co.uk/index.php/tag/phone/" class="st_tag internal_tag" rel="tag" title="Posts tagged with phone">phone</a> because it was the <a
href="http://www.dannytsang.co.uk/index.php/tag/phone/" class="st_tag internal_tag" rel="tag" title="Posts tagged with phone">phone</a> I was using at the time. It&#8217;s not the most powerful <a
href="http://www.dannytsang.co.uk/index.php/tag/phone/" class="st_tag internal_tag" rel="tag" title="Posts tagged with phone">phone</a> but it does have some JSRs built in especially bluetooth (JSR-82). I wanted to use bluetooth technology in my program because it is a wireless standard in many devices and I wanted to use GPS because I didn&#8217;t want to make a program which would send and receive files.</p><h4>Introduction</h4><p>The JSR packages makes developing <a
href="http://www.dannytsang.co.uk/index.php/tag/java-applications/" class="st_tag internal_tag" rel="tag" title="Posts tagged with java applications">Java applications</a> a lot easier. There was one for bluetooth (JSR-82) and GPS (JSR-179) but unfortunately the <a
href="http://www.dannytsang.co.uk/index.php/tag/motorola/" class="st_tag internal_tag" rel="tag" title="Posts tagged with motorola">Motorola</a> A1200 didn&#8217;t support JSR-179. It was still possible to do GPS based program but more manual work was needed to get it to work. The first thing to do was to get the bluetooth side working before I could get it to talk to the GPS. This was the hardest part.</p><h4>Bluetooth</h4><p>The program had to be multithreaded to handle graphical user interface (GUI) inputs and bluetooth processes like searching devices without it appearing to hang to the user. This was slightly odd to me because I mobile devices tend to only have single core processors so I didn&#8217;t know how well it would handle more than one thread. Also I wasn&#8217;t 100% comfortable with using threads because I hadn&#8217;t used them that much in my applications. In the end it turned out just fine. I had at times I had more than 2 threads (including the main thread) running.</p><p>Do bear in mind that most mobile phones at the time of writing are only single core processors with limited power to allocate processing time to each thread.</p><h4>GPS</h4><p>With bluetooth connected successfully I was able to get the NEMA-0183 data. It was a series of data values from the GPS device separated by commas. An example of this is:<br
/> <code>$GPRMC,081836,A,3751.65,S,14507.36,E,000.0,360.0,130998,011.3,E*62</code><br
/> All data sentences start with a &#8220;$&#8221; and followed by the type of data. Each data type contains different types of data but they may overlap in some areas. e.g two types of data strings may both contain speed.</p><p>Due to the paired down Java ME there are not a lot of text manipulation methods built into the framework and therefore a lot of methods need to be re-written to handle the GPS data.</p><p>Use <a
href="http://home.mira.net/~gnb/gps/nmea.html" target="_blank">Glenn Baddeley&#8217;s</a> website to help you figure out which value is what in the comma delimited string.</p><p><a
href="http://home.mira.net/~gnb/gps/nmea.html" target="_blank">Glenn Baddeley &#8211; GPS &#8211; NMEA sentence information</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/facebook-picture-upload-crashes-or-errors-on-firefox/' rel='bookmark' title='Facebook Picture Upload Crashes Or Errors On FireFox'>Facebook Picture Upload Crashes Or Errors On FireFox</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/lock-unlock-windows-with-bluetooth/' rel='bookmark' title='Lock &amp; Unlock Windows With Bluetooth'>Lock &#038; Unlock Windows With Bluetooth</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/bluenext-bn-909gr-sirfstar-iii-chip/' rel='bookmark' title='BlueNext BN-909GR &amp; SirfStar III Chip'>BlueNext BN-909GR &#038; SirfStar III Chip</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/javame-with-bluetooth-gps/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Java 4-Ever</title><link>http://www.dannytsang.co.uk/index.php/java-4-ever/</link> <comments>http://www.dannytsang.co.uk/index.php/java-4-ever/#comments</comments> <pubDate>Sun, 04 Jul 2010 21:13:15 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Java]]></category> <category><![CDATA[.Net]]></category> <category><![CDATA[Microsoft]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=2881</guid> <description><![CDATA[This was such a funny video I had to post it. Related posts: Liquid? All Things Digital Interview Pimp That Snack
Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/liquid/' rel='bookmark' title='Liquid?'>Liquid?</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/all-things-digital-interview/' rel='bookmark' title='All Things Digital Interview'>All Things Digital Interview</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/pimp-that-snack/' rel='bookmark' title='Pimp That Snack'>Pimp That Snack</a></li></ol>]]></description> <content:encoded><![CDATA[<p>This was such a funny video I had to post it.<br
/> <object
width="560" height="340"><param
name="movie" value="http://www.youtube.com/v/fzza-ZbEY70&amp;hl=en_GB&amp;fs=1?rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999"></param><param
name="allowFullScreen" value="true"></param><param
name="allowscriptaccess" value="always"></param><embed
src="http://www.youtube.com/v/fzza-ZbEY70&amp;hl=en_GB&amp;fs=1?rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/liquid/' rel='bookmark' title='Liquid?'>Liquid?</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/all-things-digital-interview/' rel='bookmark' title='All Things Digital Interview'>All Things Digital Interview</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/pimp-that-snack/' rel='bookmark' title='Pimp That Snack'>Pimp That Snack</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/java-4-ever/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Facebook Picture Upload Crashes Or Errors On FireFox</title><link>http://www.dannytsang.co.uk/index.php/facebook-picture-upload-crashes-or-errors-on-firefox/</link> <comments>http://www.dannytsang.co.uk/index.php/facebook-picture-upload-crashes-or-errors-on-firefox/#comments</comments> <pubDate>Mon, 31 Aug 2009 10:33:03 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Java]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Applet]]></category> <category><![CDATA[Crashes]]></category> <category><![CDATA[Facebook]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[GCJ]]></category> <category><![CDATA[image upload]]></category> <category><![CDATA[java applet]]></category> <category><![CDATA[libgcj]]></category> <category><![CDATA[Ubuntu]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=2255</guid> <description><![CDATA[Recently tried to upload pictures to Facebook using Firefox only to find it crashed on me the first time and errored on the second. I thought this was odd considering it uses a Java Applet which should be compatible with &#8230; <a
href="http://www.dannytsang.co.uk/index.php/facebook-picture-upload-crashes-or-errors-on-firefox/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/javame-with-bluetooth-gps/' rel='bookmark' title='JavaME With Bluetooth GPS'>JavaME With Bluetooth GPS</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/unable-to-access-mythtv-perl-api-try-with-verbose-to-find-out-why/' rel='bookmark' title='Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.'>Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/wordpress-upload-file-io-error/' rel='bookmark' title='WordPress Upload File IO Error'>WordPress Upload File IO Error</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Recently tried to upload pictures to <a
href="http://www.dannytsang.co.uk/index.php/tag/facebook/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Facebook">Facebook</a> using <a
href="http://www.dannytsang.co.uk/index.php/tag/firefox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Firefox">Firefox</a> only to find it crashed on me the first time and errored on the second. I thought this was odd considering it uses a <a
href="http://www.dannytsang.co.uk/index.php/tag/java/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Java">Java</a> <a
href="http://www.dannytsang.co.uk/index.php/tag/applet/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Applet">Applet</a> which should be compatible with Sun&#8217;s Java.</p><p>Well I found that <a
href="http://www.dannytsang.co.uk/index.php/tag/gcj/" class="st_tag internal_tag" rel="tag" title="Posts tagged with GCJ">GCJ</a>&#8217;s implementation of java caused the problem. To solve it just remove the following packages:</p><p><code>sudo apt-get remove gcj <a
href="http://www.dannytsang.co.uk/index.php/tag/libgcj/" class="st_tag internal_tag" rel="tag" title="Posts tagged with libgcj">libgcj</a>-common <a
href="http://www.dannytsang.co.uk/index.php/tag/libgcj/" class="st_tag internal_tag" rel="tag" title="Posts tagged with libgcj">libgcj</a>7-0</code></p><p>Then install sun&#8217;s version of Java</p><p><a
href="http://ubuntuforums.org/archive/index.php/t-595398.html" target="_blank">Ubuntu Forum: Facebook Image Upload Applet Doesn&#8217;t Work</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/javame-with-bluetooth-gps/' rel='bookmark' title='JavaME With Bluetooth GPS'>JavaME With Bluetooth GPS</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/unable-to-access-mythtv-perl-api-try-with-verbose-to-find-out-why/' rel='bookmark' title='Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.'>Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/wordpress-upload-file-io-error/' rel='bookmark' title='WordPress Upload File IO Error'>WordPress Upload File IO Error</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/facebook-picture-upload-crashes-or-errors-on-firefox/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>GPS on Computers</title><link>http://www.dannytsang.co.uk/index.php/gps-on-computers/</link> <comments>http://www.dannytsang.co.uk/index.php/gps-on-computers/#comments</comments> <pubDate>Tue, 27 May 2008 19:28:50 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Java]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac]]></category> <category><![CDATA[Mobile Phone]]></category> <category><![CDATA[Notebook]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Windows]]></category> <guid
isPermaLink="false">http://dannyis.mine.nu/?p=755</guid> <description><![CDATA[I have been trying to get get a bluetooth GPS device hooked up to various computers from mobile phones, Asus EEE PC to a Vista desktop. I thought it would be fairly easy but boy was I wrong. Starting out &#8230; <a
href="http://www.dannytsang.co.uk/index.php/gps-on-computers/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/ssh-on-multiple-ports/' rel='bookmark' title='SSH On Multiple Ports'>SSH On Multiple Ports</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/netstat-by-port/' rel='bookmark' title='Netstat By Port'>Netstat By Port</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/drobo/' rel='bookmark' title='Drobo'>Drobo</a></li></ol>]]></description> <content:encoded><![CDATA[<p>I have been trying to get get a <a
href="http://www.dannytsang.co.uk/index.php/tag/bluetooth/" class="st_tag internal_tag" rel="tag" title="Posts tagged with bluetooth">bluetooth</a> GPS device hooked up to various computers from mobile phones, Asus EEE PC to a Vista desktop. I thought it would be fairly easy but boy was I wrong.</p><p>Starting out on Linux with the Asus EEE PC the idea that Linux has is a daemon called gpsd which handles the commication between the computer and GPS. The clever idea for this is so that you can have multiple programs which &#8220;asks&#8221; the daemon for GPS information so not one program hogs the device. Also once you configured the daemon, it keeps all the settings from <a
href="http://www.dannytsang.co.uk/index.php/tag/port/" class="st_tag internal_tag" rel="tag" title="Posts tagged with port">port</a> to NEMA specification so all of this does not have to be repeated.</p><h3>Linux</h3><p>The first problem I had was establishing a connection between the GPS and computer using bluetooth. <a
href="http://www.dannytsang.co.uk/index.php/tag/ubuntu/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ubuntu">Ubuntu</a> kept on saying the device would not accept an OBEX connection. Further investigation and I had to install <em>gnome-bluetooth</em> and <em>bluez-utils</em>. Using apt-get this was easy but it still wouldn&#8217;t let me. So I did it via command line:<br
/> <code>hcitool scan</code><br
/> This picked it up and I used <em>sdptool</em> to get the serial profile for the device which my GPS supports.<br
/> <code>sdptool browse xx:xx:xx:xx:xx:xx</code><br
/> Replace the &#8216;xx&#8217; with the MAC address of the bluetooth GPS device which is displayed when you use the <em>hcitool scan</em> command.</p><p>This was where I got stuck. The sdptool didn&#8217;t create a serial profile and I stopped there.</p><h3>Mac OSX 10.5</h3><p>I then went on to try and get it working with the Mac. There wasn&#8217;t a lot of native GPS software for the Mac (that was free) but using <a
href="http://www.macports.org/" target="_blank">port</a> you could install gpsd. For <a
href="http://www.macports.org/" target="_blank">port</a> to run you need to have Xcode installed because it needs a c compiler. Xcode was over 1GB to download so it slowed my progress down. I created a bond between my MacBook Pro and the bluetooth GPS and that was fine. The cool thing was it even tells you the serial port it was on. I tried using KisMac with the GPS module but it didn&#8217;t work and also used <a
href="http://www.tegmento.org/gpsylon/" target="_blank">GPSylon</a>, a <a
href="http://www.dannytsang.co.uk/index.php/tag/java/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Java">java</a> open source GPS software.</p><p>After Xcode was downloaded and installed I had fetched gpsd but got confused to how to set up and lauch the daemon on the Mac.</p><h3><a
href="http://www.dannytsang.co.uk/index.php/tag/windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Windows">Windows</a> XP/Vista</h3><p>For XP i used my bootcamp partition and Vista is my normal desktop computer. It was kind of pointless setting up GPS with the desktop because I won&#8217;t be able to move it about with me but it was worth a try. I used <a
href="http://www.tegmento.org/gpsylon/" target="_blank">GPSylon</a> but had trouble with the serial port because <a
href="http://www.tegmento.org/gpsylon/" target="_blank">GPSylon</a> was designed with *nix in mind and Windows used COM ports. Later on I found I had to jus change the line:<br
/> <code>/dev/tty</code><br
/> to the COM port but I have yet to try it.</p><h3>Mobile <a
href="http://www.dannytsang.co.uk/index.php/tag/phone/" class="st_tag internal_tag" rel="tag" title="Posts tagged with phone">Phone</a></h3><p>The best luck I have had was on my <a
href="http://www.dannytsang.co.uk/index.php/tag/motorola/" class="st_tag internal_tag" rel="tag" title="Posts tagged with motorola">Motorola</a> Ming(A1200). Technically it is and it is not a computer but it worked best here. I used <a
href="http://www.qcontinuum.org/gpstrack/">GPS Track</a> which was really good. JavaME has JSR179 built into the framework specification for location based devices. I would have thought these specification should be ported to the Java SE so that it too can make available the API&#8217;s needed for any mobile stuff but they weren&#8217;t. Also JavaME isn&#8217;t as easy to code for once you are use to version 1.5 and upwards.</p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/ssh-on-multiple-ports/' rel='bookmark' title='SSH On Multiple Ports'>SSH On Multiple Ports</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/netstat-by-port/' rel='bookmark' title='Netstat By Port'>Netstat By Port</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/drobo/' rel='bookmark' title='Drobo'>Drobo</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/gps-on-computers/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>BlueNext BN-909GR &amp; SirfStar III Chip</title><link>http://www.dannytsang.co.uk/index.php/bluenext-bn-909gr-sirfstar-iii-chip/</link> <comments>http://www.dannytsang.co.uk/index.php/bluenext-bn-909gr-sirfstar-iii-chip/#comments</comments> <pubDate>Fri, 23 May 2008 13:33:32 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Hardware]]></category> <category><![CDATA[Java]]></category> <category><![CDATA[Mobile Phone]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Review]]></category> <guid
isPermaLink="false">http://dannyis.mine.nu/?p=759</guid> <description><![CDATA[I have been playing around with a BlueNext BN-909GR which has the SirfStar III GPS chip. The chip and implementation by BlueNext was amazing. I was able to get a lock of up 10 satellites on a clear bright day &#8230; <a
href="http://www.dannytsang.co.uk/index.php/bluenext-bn-909gr-sirfstar-iii-chip/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/great-its-stuck-update/' rel='bookmark' title='Great&#8230; It&#8217;s Stuck (Update)'>Great&#8230; It&#8217;s Stuck (Update)</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/instamapper/' rel='bookmark' title='InstaMapper'>InstaMapper</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/great-its-stuck/' rel='bookmark' title='Great&#8230; It&#8217;s Stuck'>Great&#8230; It&#8217;s Stuck</a></li></ol>]]></description> <content:encoded><![CDATA[<div
align="center"><a
href='http://dannyis.mine.nu/wp-content/uploads/2008/05/bluenext-bn-900gr.jpg' rel="lightbox[759]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2008/05/bluenext-bn-900gr-300x225.jpg" alt="BlueNext BN-900GR" title="BlueNext BN-900GR" width="300" height="225" class="alignnone size-medium wp-image-763" /></a></div><p>I have been playing around with a <a
href="http://www.bluenext.co.uk" target="_blank">BlueNext</a> <a
href="http://www.bluenext.co.uk/bluetooth-gps/bn-806f-bluetooth-gps.html" target="_blank">BN-909GR</a> which has the <a
href="http://www.sirf.com/products/gps_chip.html" target="_blank">SirfStar III</a> GPS chip. The chip and implementation by <a
href="http://www.bluenext.co.uk" target="_blank">BlueNext</a> was amazing. I was able to get a lock of up 10 satellites on a clear bright day when the receiver was placed indoors! I was going around the house and it kept a lock on at least 1 satellite 90% of the time and it switched to DGPS when it didn&#8217;t.</p><p>When it was sitting next to me on the computer about 1.5 &#8211; 2 meters away from a glass window it had 9 satellites locked. I clenched my hand around the unit and it dropped to 5 satellites. It was impressive. Usually on a cold start it took around 1 &#8211; 2 minute to get a lock but normally it will get one faster. This was without the Assisted GPS (AGPS) aid although the chip does support it. I think the chip gets a better signal than my aging TomTom Go700.</p><p>The <a
href="http://www.sirf.com/products/gps_chip.html" target="_blank">SirfStar III</a> uses the NEMA 0183 standard which is the format for the GPS data from the unit. It is a string containing a series of data separated by commas. Each data is in a certain order and different standard have different data and in different order. This has posed many issues with JavaME which I will discuss in another post.</p><p>I got the <a
href="http://www.bluenext.co.uk" target="_blank">BlueNext</a> <a
href="http://www.bluenext.co.uk/bluetooth-gps/bn-806f-bluetooth-gps.html" target="_blank">BN-909GR</a> to try and create a <a
href="http://www.dannytsang.co.uk/index.php/tag/j2me/" class="st_tag internal_tag" rel="tag" title="Posts tagged with j2me">J2ME</a> midlet (application) which would use a <a
href="http://www.dannytsang.co.uk/index.php/tag/bluetooth/" class="st_tag internal_tag" rel="tag" title="Posts tagged with bluetooth">bluetooth</a> and a GPS device.</p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/great-its-stuck-update/' rel='bookmark' title='Great&#8230; It&#8217;s Stuck (Update)'>Great&#8230; It&#8217;s Stuck (Update)</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/instamapper/' rel='bookmark' title='InstaMapper'>InstaMapper</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/great-its-stuck/' rel='bookmark' title='Great&#8230; It&#8217;s Stuck'>Great&#8230; It&#8217;s Stuck</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/bluenext-bn-909gr-sirfstar-iii-chip/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>BugLabs Bugs</title><link>http://www.dannytsang.co.uk/index.php/buglabs-bugs/</link> <comments>http://www.dannytsang.co.uk/index.php/buglabs-bugs/#comments</comments> <pubDate>Sun, 18 May 2008 01:44:53 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Hardware]]></category> <category><![CDATA[Java]]></category> <category><![CDATA[Linux]]></category> <guid
isPermaLink="false">http://dannyis.mine.nu/?p=739</guid> <description><![CDATA[This cool modular open source hardware is a pretty good idea but seems a bit big and expensive. It&#8217;s a good idea and the even better part is that they use the Java to programming and the Eclipse IDE works &#8230; <a
href="http://www.dannytsang.co.uk/index.php/buglabs-bugs/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/gumstix/' rel='bookmark' title='Gumstix'>Gumstix</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/apache-tuning/' rel='bookmark' title='Apache Tuning'>Apache Tuning</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-symlink-from-modules-failed/' rel='bookmark' title='FreePBX Symlink From Modules Failed'>FreePBX Symlink From Modules Failed</a></li></ol>]]></description> <content:encoded><![CDATA[<div
align="center"> <a
href="http://www.buglabs.net/"><img
src="http://store.buglabs.net/core/media/media.nl?id=62&#038;c=665309&#038;h=6884c835f27c0f54986c" alt="Bug" /></a></div><p>This cool modular open source hardware is a pretty good idea but seems a bit big and expensive. It&#8217;s a good idea and the even better part is that they use the <a
href="http://www.dannytsang.co.uk/index.php/tag/java/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Java">Java</a> to programming and the <a
href="http://www.eclipse.org/" target="_blank">Eclipse</a> IDE works with the SDK.</p><p>I&#8217;m sure I will have to get one of these to play around with one day but at the moment it seems the production of the bug and modules are not up to capacity and getting the bug base and modules adds up to almost the same price as a mobile <a
href="http://www.dannytsang.co.uk/index.php/tag/phone/" class="st_tag internal_tag" rel="tag" title="Posts tagged with phone">phone</a> such as the Nokia N95 with all the modules built in.</p><p><a
href="http://www.buglabs.net/">BugLabs Website</a><br
/> <a
href="http://www.youtube.com/user/BugLabs" target="_blank">BugLabs&#8217; Youtube Videos</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/gumstix/' rel='bookmark' title='Gumstix'>Gumstix</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/apache-tuning/' rel='bookmark' title='Apache Tuning'>Apache Tuning</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-symlink-from-modules-failed/' rel='bookmark' title='FreePBX Symlink From Modules Failed'>FreePBX Symlink From Modules Failed</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/buglabs-bugs/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
