April 17, 2008

Cacko on Sharp Zaurus

I will not explain how to install cacko. However, I spent hours and hours searching for a download link that actually worked; and that is what I'm sharing today!


You're welcome :)

April 14, 2008

ICE modem (D-50) on Mac OS X Leopard

As I just tried to install the D-50 CDMA modem from NMT (http://www.nmt.no) I ran into a few problems.

Good news; Installation of the actual driver went perfectly well.
Bad news; My MacBook froze after reboot (the reboot was probably not necessary, though)
More bad news; After opening System Preferences, the installation guide was not even close to what I saw.
More good news; However, here's what you do to make it work;

1. Open System Preferences
2. Click Network under Internet and Network
3. Select in the list to the left the entry that looks most like the modem (the one with a phone)
4. Add phone and username / password as described in installation guide (ok, this part was pretty close)
5. Click Advanced
6. Select the Modem tab
7. Select Vendor -> Franklin
7. Select Model -> CDMA
8. Click OK
9. Click Apply
10. Click Connect

Now you should be online!

This post is written while using ICE-modem for internet connection.

Good luck!

April 10, 2008

JavaME development on OSX

Ok, it is time to write a halfway useful post. And sadly, this is mostly cut and paste from Moritz Petersen's blog entry. Well, it's actually a quote. I think it was hard to find it, so here you go;
The installation of the J2ME Wireless Toolkit on Mac OS X is quite simple.

1. Download the toolkit from the Sun website. Make sure to download the Linux version, because there is no dedicated Mac OS X version. But no problem: the Linux version will run on the Mac.

2. Open the Terminal.

3. Run the downloaded installer. You will be probably asked for the Java installation and a location where the wireless toolkit is to be deployed.

4. After the installation is finished, change into the directory, where you have installed the wireless toolkit.

5. Create a copy of the Linux directory and rename it to Mac.

6. Run the application by typing bin/ktoolbar.

So far so good. However, J2ME applications compile and build now, but I did not manage to run the emulator yet. The error message I get is “cannot execute binary file“. Does anyone know how to avoid this problem?

Ok, that's all good. I tested it and i worked fine on Leopard (with the exception of the emulator which I did not try yet).

Since I feel somewhat guilty now, stealing borrowing other peoples posts, I will add some myself.

At point 3. you will be asked for the location of Java. For newcommers to Mac, this might be hard to find. Well, here it is; /Library/Java/Home/bin

Also, instead of using the ktoolbar. I suggest you download the latest Eclipse and install it along with EclipseME. This combination is awesome when creating midlets!

Anyway, hope more people will find this information now that I also duplicated published it.

-- Frank

edit: in addition, to run the installer you must
$ chmod +x sun...bin
$ ./sun...bin