As in all good cooking programs I had prepared myself. The document "Java ME Developer Guide for Motorola OS" seemed to be the right one. It describe the following ways of downloading a MIDlet to your mobile device;
- OTA (Over The Air)
- Bluetooth
- IrDA
- USB Cable
I used the brute force method for USB connections. Attach the mobile device through USB to your computer, and see if Windows figures out which drivers to install. My Windows Vista installation did not. But I was a little bit surprised when Windows Vista suggested that I should download the Motorola Device Drivers. The link worked and within minutes the device drivers where downloaded.The documentation described a tool called MIDway which could be used for downloading MIDlets to your mobile. This was possible if you could find the "Java App Loader" in the Java menu on your mobile device. It was written that the "Java App Loader" is NOT available on devices that you buy from a standard consumer outlet. You should use the MWay tool found in Motorola MOTODev Studio for Java ME V2 instead. No problem, it was only a "small" download about the size of 112 MB. Estimated download time; 1 h 30 min. This gave me time to be a little bit social with my family. What a bummer :)
I installed the device drivers and Motorola MOTODev Studio. This worked like a charm. I attached my mobile device through USB and now it worked. The device manager showed that a Motorola US modem was installed, as well as some other devices. Now it was time to start MOTODev Studio. Surprise! The MOTODev Studio is Eclipse in disguise. Me like a lot! I found a document about Motorolas MWay Tool v1.0, which was the tool that I was supposed to use. The first step was to find the configuration tool, the second was to activate the "Java App Loader" menu. But wait... the other document stated that this was not available on mobile phone purchased in the consumer market. Appearently it was possible. After restarting the phone the menu was finally available. Connected the phone once more and used the deployment tool to install the MIDlet. Rather easy once you figured it out. But it took quite some time; I started right after the dinner at five and finished about eleven.
I now comes the short version, the version that you could use and save yourself a lot of time.
Prerequisites
Some kind of Windows environment. Windows Vista worked for me.
Preparations
- Download the Motorola device drivers
- Download the MOTODev Studio.
- Optional; if you have a slow Internet connection you could take a long coffee break, watch a movie or something.
- Install the device drivers
- Install MOTODev Studio.
- Connect your Motorola mobile phone. Wait for Windows to do the installation of the drivers.
- Start MOTODev studio.
- Open the "JavaME" view and select the "Tools" tab.
- Select the "Config tool".
- Refresh the "Config Tool" and you it should now show some information such as IMEI number etc.
- Select the "JAL" option (short for "Java App Loader").
- Disconnect your mobile device and restart it.
- Choose the "Java Settings" menu found in the settings menu. Select the "Java App Loader". You are now prompted to connect your mobile device. The mobile device should confirm that your JAL link is active.
- Select the "Deployment Tool". This is also found under the "Tools" tab.
- Select the JAD file that you want to transfer. The JAR file shall be in the same directory.
- Select the COM port for your Motorola USB modem. This is found Windows device manager.
- Press the "Deploy" icon found in the upper right corner of the "Deployment Tool" view.
- Accept the download on your mobile device. Follow the instructions on the mobile device.
I hope that you could save an hour or two when using this guide. Unfortunately you have to download a couple of megabytes, but hopefully you have a faster Internet connection than I have. If you have any problems, you could still use the Motorolas MWay Tool v1.0 document to figure out how to do it.
No comments:
Post a Comment