Archive for the 'Products' Category

Java/Midlet Environment IBM J9 *with* JSR-75 support (updated)

Monday, June 30th, 2008 at 2:17 pm

This is an updated entry of the original post from November 2006. This article deals with the installation of the Java environment on mobile devices.

I have received a lot of feedback, a few comments as well as supporting requests that are concerned with Java on mobile devices. Recently I also received a comprehensive update from Fred Gnuechtel (IBM) regarding the Java environment on mobile devices. See below.

First of all: IBM J9 is from my point of view the best and most complete Java Runtime for mobile devices. So that’s good news ;)

Palm users have an easy life to install this: They can easily download and install a fully maintained IBM J9 directly from Palm for 5$ or so, including the JSR-75 file I/O framework. are left out of the game and Java is no longer available: http://www.palm.com/us/support/jvm/index.html. Too bad, sorry!

For Windows Mobile users it was more difficult in the past to have a working IBM J9 installation, since it was down to the vendors whether they installed IBM J9 or not, which unfortunately did not happen too often. In the past I provided a small tutorial here on how to get J9 installed from IBM’s open source development environment.

However, according to Fred Gnuechtel from IBM it seems to be not a legitimate way to do things and IBM has removed the most visible J9 sources. I was not aware of this and have removed the tutorial for obvious reasons.

But there are very good news for you still: Handago.com offers now a IBM Java environment for various Windows Mobile phones. Sounds like not too much “tinkering” to get a IBM J9 installation! Super :)
Kudos to IBM and Handago for making J9 available to the end-user now.

Information provided by Fred Gnuechtel (IBM):

I can provide the links, but Handango tends to reorganize their WEB site about once a quarter and then i have to do on a WEB safari to find where they went. So please be aware that you may have to update them from time to time. They also force you down a path of selecting a device and then telling you that J9 is not supported on it. You have to ignore this. Again, this is part of the Hanango WEB sites effort to reduce their support cost and returns. Here is a copy of the note that i send when someone contacts me either from the IBM site or sites like yours…..

IBM’s “Websphere Everyplace Micro Environment” (WEME) conforms to the Java ME specification and is available in both of the JavaME defined configurations. For small volumes business deployments low volumes ( 1- 10’s) and individual copies for personal use, the IBM Java ME virtual machine (WEME) may be purchased from our business partner, Handango for $25 USD per license (device).. All of our Java runtimes that are available from Handango are Java ME certified and we provide solutions for various Java ME profiles and operating systems. These are made available “as is” – no support. (this means you will be on your own using forums on the web). WEME is based on IBM’s J9 Virtual Machine technology.

Our WM5 runtime works just fine on PocketPC 2003, PocketPC 2003 SE and WM6. Our WinCE 5 runtimes will run on WinCE 4.2 but NOT on WinCE 6.

There are actually 2 Java ME configurations and IBM supports both of them. It is important to use the one that supports your application and specific device type.

CLDC+MIDP (for Midlets)
or
CDC+Foundation+Personal ( for Applet/Applications)

Note that we no longer support CDC 1.0, Foundation 1.0 and PPro 1.0. We have moved up to the 1.1 versions.

Also, we do support Smartphone (button navigation – no touch scree) but only with MIDP. Our PPro implementation requires a touch screen.

Our Windows Mobile JVM’s are written to the ARM instruction set and will work on any ARM based processors such at the Intel PXA 2xx, TI OMAP, Freescale and Samsung processors that run WM5/6 or WinCE.

Please note that these runtimes from Handango are provided “As Is” with no warranty or support expressed or implied. Our Business Partners can provide Licenses and support for a fee.

MIDP 2.0 for Windows Mobile 5 Smartphone
(button navigation – no touch screen):
http://www.handango.com/PlatformProductDetail.jsp?siteId=1&osId=855&jid=121FDF13D35AC718E2C9768DDFFC3E5X&platformId=11&N=4294921609&Ntt=websphere&R=203653&productId=203653

MIDP 2.0 for Windows Mobile 5 PDA and Phone Edition devices with QVGA Screen Resolution
(PDA style touch screen device – low or standard resolution screen 320×240):
http://www.handango.com/PlatformProductDetail.jsp?siteId=1&osId=849&jid=121FDF13D35AC718E2C9768DDFFC3E5X&platformId=2&N=4294923386&Ntt=websphere&R=203649&productId=203649

MIDP 2.0 for Windows Mobile 5 PDA device with VGA Screen Resolution
(PDA style device – high resolution touch screen 640×480):
http://www.handango.com/PlatformProductDetail.jsp?siteId=1&osId=807&jid=121FDF13D35AC718E2C9768DDFFC3E5X&platformId=2&N=4294926649&Ntt=websphere&R=203654&productId=203654

Personal Profile 1.1 for Windows Mobile 5 PDA device with Touch Screen
(PDA style device – touch screen) :
http://www.handango.com/PlatformProductDetail.jsp?siteId=1&jid=734756B7A126CXFF4483XD5B5D82CEA4&platformId=2&N=0&productId=204403&merch=more_author_titles&HDGO_ad=mat_204403&HDGO_au=1&HDGO_ae=c

Personal Profile 1.1 for Windows CE 5.x PDA device with Touch Screen ( WinCE 5 Professional – not WinCE Core)
(PDA style device – touch screen):
http://www.handango.com/PlatformProductDetail.jsp?siteId=1&jid=734756B7A126CXFF4483XD5B5D82CEA4&platformId=2&N=0&productId=212765&merch=more_author_titles&HDGO_ad=mat_212765&HDGO_au=1&HDGO_ae=c

When downloading from Handango, you may get a warning that says this is incompatible with your device. Please ignore this warning and click though to complete your transaction.

The file you download is a Windows/x86 Install shield (EXE) that you must run on your PC. It presents you with the License Agreement and then copies the files to your PC. You then have to manually copy the LIB and BIN directories to your device using ActiveSync. Unfortunately, we do not provide a CAB files on some of our runtime packages. This is also something that our Business Partners could provide.

Unfortunately, you are correct about the Palm JVM.

IBM does not have the licensing rights to distribute the PalmOS version of Websphere Everyplace Micro Environment (WEME) the JavaME JVM. The port was done under license by PalmSource who was acquired by Access in Japan. several years ago. I believe that Palm’s license with Access has now run out and that is why Palm has removed the runtime form their WEB site. On top of this, Access has also dropped their agreement with IBM.

Regards, Fred

And some extra information:

A lot of the people that install the CDC-PPro JVM don’t realize they have to create a LNK file to get their application loaded and running. Here is the note I send for that:……….

Here are a couple examples of Windows Mobile shortcut (LNK) files…..

This link will open a console window so you can check for any errors:

255#\path\bin\j9.exe -jcl:ppro11 -cp \path\my-app.jar my-app-main-class

These example links will run without a console window:

255#\path\bin\j9w.exe -jcl:ppro11 -cp \path\my-app.jar my-app-main-class

255#”\my path\bin\j9w.exe” -jcl:ppro11 -cp “\my path\my-app.jar” my-app-main-class

If the JVM files are organized into a path structure of:
\path\bin\jvm-exe-dll-files
\path\lib\jvm-class-library-files
then paths to the jvm class library files are not required in the LNK file.

All LNK files must conform to the following rules….
1 – if any parm includes a space char then the entire parm must be inside double-quote marks
2 – the entire command line must be on 1 single line, multi-line LNK files are not permitted
3 – the entire LNK file must be no more that 255 bytes max, must shorten commands or paths if longer

Regards,
Fred

by markus

Mac OS X applications (update)

Saturday, January 26th, 2008 at 12:34 am

I am using the OS X system now for about 2 year. Before, I was for many many years on Linux (Debian), but the ongoing "tweaking" addiction was too time consuming. Once I started with my PhD I thought it might be a good idea to cut down on this this and focus on the real work ;)

My initial 2-3 month on OS X where not that great, considering that I was expecting a Linux with a nifty interface. Some things are just different, but after the initial hurdle I like the system today. A Unix which just works. Nice in a way.

Here is “my essential applications” list; some of them are OpenSource, some are commercial. Surely, OpenSource is a wonderful thing and I contribute to a few projects myself, but I am still willing to pay for good commercial applications!

System:

  • MacPorts project (all the great stuff from the OpenSource world)
  • Fink (too outdated, use MacPorts)
  • Quicksilver (the most essential tool you need handy; connects with many apps)
  • Jumpcut Clipboard Buffering (the name says it all, it is great)
  • Growl (notification system inter-connecting with most apps)
  • SimplyBurns (nice CD/DVD burning interface; better than onboard tools)
  • SuperDuper (perfect backups, but I don’t use it since I have TimeMachine)
  • Chicken of the VNC (only if you want to work remotely on other machines via VNC)
  • Microsoft Remote Desktop Connection (RDC) (only if you want to work remotely on other MS machines)
  • GrandPerspective (perfect for getting an idea of how HDD space is occupied)
  • MenuMeters (great tool informing you about HDD, CPU, memory & network status)
  • KeePassX and/or TrueCrypt (passwords to save ?)
  • VMware Fusion (virtualisation)
  • CoconutBattery (inspect the performance of you laptop battery)
  • Font Book (inspect your installed fonts)
  • Key Codes by Peter Maurer (find out about key mappings)
  • pearScriptKeys (make you own global hot keys)
  • TinkerTool System (various system level maintainance stuff)
  • sshfs (transparently connects a remote files system via SSH to your machine, handy)
  • ExpanDrive (faster and a bit more reliable than sshfs, but commercial)
  • iDefrag (fragmented hard drive ? Use this tool. However, HFS+ hardly fragments in the first place :)
  • LittleSnitch (personal firewall)
  • RCDefaultApp (assign default applications for certain file types; System preferences)
  • GnuPG & GPGMail (gpg mails & texts)
  • MondoMouse (mouse super power – that’s what they claim)
  • Tech Tool Deluxe (part of Apple Care Protection Plan)
  • Rember (a frontend of memtest; unlike memtestosx free of charge)
  • Spanning Sync
  • Typinator
  • Default Folder X (a must have!)
  • ToggleHiddenFiles
  • Name Mangler
  • Service Scrubber
  • Lab Tick
  • MarcoPolo
  • OpenTerminalHere

Work:

  • Evernote, CircusPonies Notebook 3
  • Bookends (reference management; Papers is a good alternative apparently)
  • OmniGraffle (Awesome application for vector graphics, e.g. for making posters etc)
  • Keynote (do you need to present your work, then this is for you)
  • LaTeX packages, TexShop, LaTeX2rtf
  • Mellel (great for technical and scholar writing; I use it for papers where LaTeX is over the top)
  • OpenOffice 3.1 (horrible big beast, but at times you need to open Office documents)
  • Skim (the very best pdf viewer ever)
  • Apple Development Tools (essential if you do any development on your machine)
  • Your favorite programming languages, myself Java, Perl and bit of Ruby & C++
  • IntelliJ and Eclipse (both good IDEs for Java, I use the latter also for Perl & C++)
  • TextMate, MacVim (my favourite text editors)
  • MySQL, DbVisualizer (database stuff)
  • R project (the ultimate free statistics environment)
  • XMind
  • AntiRSI (keeps you healthy – sort of)
  • iFlash

Media:

  • Adobe Photoshop CS3 (thankfully students get better rates :)
  • Adobe Lightroom (great for working dynamically on RAW camera files)
  • DNG Profile Editor
  • iMovie HD (the old version 6 – forget about the new crippled iMovie versions)
  • NeatImage PS plugin (get rid of noise in your pictures)
  • Spyder3 Elite (do you need a calibrated monitor ? This set works well)
  • HoudahGeo (geo tagging)
  • RouteConverter 1.11 (converting various GPS files; only the old version works on Java 5)
  • exiftool (A command-line interface to Image::ExifTool)
  • Google Earth
  • VLC (plays literally every media file)
  • iShowU (screen cast program)
  • Audacy (some audio work to do ? Record from the mic ?)
  • ImageJ & API (nice if you do imaging with Java, used it in one of my science projects)
  • Last.fm (the new form of radio these days ?)
  • Comic Life (the need to draw a comic quickly ?)
  • Incscape

Web stuff:

  • Firefox, Camino, Opera & Safari
  • Cyberduck (FTP & SSH; itegrates with Textmate)
  • Paparazzi! (screenshots of a certain URL, can be handy)
  • Skype (text, voip & video chat)
  • GalleryRemote
by markus

Noisy headphone jack on your computer ? This might help !

Sunday, November 18th, 2007 at 1:14 am

Problem:
Do you experience a “noisy” sound or some sort of “clicking”, “popping” or even “hissing” from your headphones if connected directly to the headphone jack ? Especially highly sensitive headphones (low impedance) that run rather loud even at low volume settings can be prone to show these effects, since the soundcard’s signal/noise (S/N) is usually worst at low volume settings.

I had particular problems with my Macbook Pro in combination with some Sennheiser headphones. The Powerbook I used before was “better” handling these headphones. Anyway, let’s look at a simple solution which might help you as well …

Solution:
You select around 80% volume on you computer and externally turn the volume down to an acceptable volume level using an external headphone extension cord with volume control. By doing so, the S/N of the audio signal is maximised and you get surprising clear and clean sound quality. I was actually blown away with this solution and the results it produces. I have never ever experienced such a clean audio out from a computer. I even considered a high grade external DAC (Digital/Analogue Converter) because this issue drove me so mad.

So if you do care about audio quality just a little bit (I am not an Audiophile), you might want to try this very very cheap and simple solution and buy a headphone extension cord with integrated volume control which costs around 5£. Good luck !

Posted in Products
by markus

Folding Bike :)

Wednesday, January 24th, 2007 at 6:09 pm

* WPG2 Plugin Not Validated ** WPG2 Plugin Not Validated *I always liked to have a folding bike, but these things are usually expensive. However, currently the eBay market is flooded with “IKEA” bikes. I got mine for about 60£, so really a good price.

After messing a bit around and some test rides, all I can say: A folding bike is cool. You can take it very easily on the bus or train and is powerful enough to cycle some miles. My main “application” will be the trip to the local airfield ;) So I can jump on the bus for 40min or so and then cycle the rest …

You can’t compare it with the expensive folding bikes though, but that’s not what I was looking for. I only need it presumably 10-15x a year, so no need for an expensive toy. Highly recommended for any occasional folding biker ;)

Posted in All, Products
by markus

Weekend, Review and Updates

Monday, March 6th, 2006 at 12:15 am

This weekend I went home to visit my family. It was quite nice as I haven’t been here since Christmas. The only drawback now: I got stuck in too much snow and I wasn’t able to fly back to Cambridge today (complete chaos with public transport, transport system out of order in Munich). I can’t belief all this snow, as it is already spring in Cambridge. Anyway, I am going to start working on my last and 3rd rotation project from home :) I will work on some Matlab imaging tutorials and examples, as I would like to use this tool for rapid prototyping and method development. I am looking forward to another 2 exciting months.

Mini-Review: VoIP with 1&1 and FRITZ!Box Fon WLAN 7170
In Germany VoIP for usual land-line phones is quite common these days. We decided to save a lot of money using one of these phone flat-rates which utilize the Internet for the connection. There are lot of different tests and issues, but the last days showed that we are more than perfectly happy with 1&1 as a provider and with the FRITZ!Box Fon WLAN 7170 box in particular. This wireless router and telephone system is amazing. Besides the common router and wireless issues, you can either attach some ISDN or some analog telephones, whereas both, the Internet and/or land-line can be forwarded to the phone (up to 3 which can be specified). Calling can be specified in detail as well, e.g. for us all calls to landlines go over the Internet route (no charge), whereas all calls starting with 010xx (Germany CallByCall numbers) among others are used for cheap calls to mobiles or abroad using the normal land-line. The decicion whether the internet or land-line is used is based simply on the number you call – great! Last thing: both lines are usual telephone quality …

Update: Wordpress 2.0.x and Gallery 2.0.x
Both systems you see in action here were updated to the most recent versions for security reasons. The Wordpress update was a major release and the upgrade went smooth without any trouble. The system improved and I am still impressed by the simplicity of the system and the amazing capabilities (e.g. the great support of Gallery2). The only minor drawback is the code quality in terms of clarity, but for simple changes it is fair enough and I am not a WordPress developer anyway :) Great job guys and thanks for Wordpress and Gallery!

by Markus

Fruit or Apple ?

Thursday, October 20th, 2005 at 11:41 pm

Apples PowerBooks!

Today there was the overdue update of the PowerBook series. Fine for Dani, and we think we will go for OS-X now. Basically every user is very pleased with this operating system and also with the build quality of the hardware. This thing is doing it’s job and runs a BSD underneath. Perfect, except for the price. But even that changed a bit; it dropped by about 250Eur. Apples update was fair, we didn’t expect a CPU upgrade, as this seems to be impossible, but the 15″ screen now offers 1440×960 and is 50% brighter, the battery last a hour longer and it comes with a DVD burner and the old 1.67GHz G4 (which is OK). Sadly there is no update for the crappy keyboard, which doesn’t fit into the nicely built machine … just my 2 cents!

All this doesn’t matter too much anyway, as Ecky was pointing out in his comment, we can do some coding on any machine ;-)

Posted in Products
by Markus