{"id":9,"date":"2005-09-23T02:10:41","date_gmt":"2005-09-23T02:10:41","guid":{"rendered":"http:\/\/blog.cyberwizzard.nl\/?p=9"},"modified":"2016-03-17T21:25:14","modified_gmt":"2016-03-17T20:25:14","slug":"java-on-palmos-sucks","status":"publish","type":"post","link":"https:\/\/blog.cyberwizzard.nl\/?p=9","title":{"rendered":"Java on PalmOS sucks"},"content":{"rendered":"<p>Yes, you read it coming from me &#8211; the idiot who practically worshipped Java because of its easy structures and I used to be convinced that its almost up for every task&#8230; &#8220;ALMOST&#8221;&#8230;.<\/p>\n<p> I found a tool called PalmOrb which allows me to use my PDA &#8211; Palm Tungsten T3 &#8211; as a matrix display for my computer while its in the cradle. Useless but cool &#8211; non?<br \/> Anyway, the guy maintining this piece of brilliance is dropping the project because he has so many real lcd&#8217;s hooked up he no longer needs to (ab)use a pda for the task.<br \/> Ofcourse this code is written in C and I have more experience with Java at this point. So I decided to try to do this in Java.<br \/> <!--more--> <br \/>  1 hour later I got a working IDE for Java midlets set up, debugging and documentation in 4 browsers totalling over 60 tabs of information (yes &#8211; I manage to retreive stuff from all that).<br \/>  Another hour later we&#8217;ve got a simple matrix renderer which uses a byte array to determine which character goes where and at 50+ fps for a quarter of the top of display it sounded promising &#8211; after optimising it could become even more so slower PDA&#8217;s can render it as well.<\/p>\n<p>  Now all I need is a link to the PC&#8230;. Lets use the USB cable&#8230; no good &#8211; JSR-80 has been written but appearantly thats all there is &#8211; paperworks.<br \/>  Well, lets use bluetooth! My PC has a dongle and it runs the serial port service &#8211; instant serial communication!&#8230;..<\/p>\n<p>  Unfortunately it appears that once again JSR-82 (thats the secret CIA code name for Bluetooth) is a paper only implementation. After debugging it at my PC I uploaded to my phone to be greeted by a &#8220;ClassNotFound&#8221; exception.<br \/>  6 hours later I&#8217;m giving in &#8211; there is one company claiming to have a working Java bluetooth stack driver for PalmOS but guess what &#8211; you have to buy it&#8230; along with 500 megs of SDK for lord-knows-what and actually.. I JUST NEED THE DRIVER.<\/p>\n<p>  So I&#8217;m giving in &#8211; Java on PalmOS 5 is worthless, besides the J9 IBM version you have the Sun version and both suck equally. Bluetooth on a T3 using Java ain&#8217;t gonna happen. Or rather Sun does as they appearantly don&#8217;t rush development (last correction was years ago which means they had even more time to build the stuff).<\/p>\n<p>  If you used Google to search for clues on Bluetooth on Java using PalmOS &#8211; go home and start crying. If 9 hours of my misery ain&#8217;t gonna deter you from trying &#8211; be my guest and if you succeed let me know, you&#8217;ll be my new best friend. \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yes, you read it coming from me &#8211; the idiot who practically worshipped Java because of its easy structures and I used to be convinced that its almost up for every task&#8230; &#8220;ALMOST&#8221;&#8230;. I found a tool called PalmOrb which allows me to use my PDA &#8211; Palm Tungsten T3 &#8211; as a matrix display [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[459],"class_list":["post-9","post","type-post","status-publish","format-standard","hentry","category-programming","tag-not_ok"],"views":1430,"_links":{"self":[{"href":"https:\/\/blog.cyberwizzard.nl\/index.php?rest_route=\/wp\/v2\/posts\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.cyberwizzard.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.cyberwizzard.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.cyberwizzard.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.cyberwizzard.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9"}],"version-history":[{"count":1,"href":"https:\/\/blog.cyberwizzard.nl\/index.php?rest_route=\/wp\/v2\/posts\/9\/revisions"}],"predecessor-version":[{"id":505,"href":"https:\/\/blog.cyberwizzard.nl\/index.php?rest_route=\/wp\/v2\/posts\/9\/revisions\/505"}],"wp:attachment":[{"href":"https:\/\/blog.cyberwizzard.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.cyberwizzard.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.cyberwizzard.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}