HowTo: Install Java J2ME midlets on your mobile phone
Installing a midlet onto your phone
Right, onto the crux of this Howto: how to actually install a midlet onto your mobile phone. As has been said, there are two different ways of doing this:
You may not have a choice how to do this: some content requires you to actually pay for it, and a way of enforcing this is to get you to install the midlet over the air. Thus, no web-downloadable option. But the following will show you how to install your midlet using either option. Installing your midlet via the web and your PC
Installing your midlet via the web requires two stages: firstly, download a .jar file from the web onto your PC. Secondly, upload the midlet onto you mobile phone.
The first stage is simplicity itself. Once you've found the .jar file, just download it somewhere onto your PC. It's usually free to do this, although there are ways of getting you to pay (e.g. by using a PayPal account before you can download it, or by requiring you to register the midlet via your mobile phone before you can use it).
The second stage will depend on the mobile phone device you have, and the way in which you transfer files from your PC to your phone. There are several options to do this:
The other options are slightly more complex...but only slightly, so don't run away just yet!
Uploading your midlet via an InfraRed (IR) connection
If your phone and your PC both have InfraRed (usually your phone will have, but your PC won't unless it's a laptop), you can transfer files via InfraRed. This is actually quite simple if you use Microsoft XP, and you can find details on establishing a connection either on your PC's help file, or at Microsoft's web site.
Once the connection is established, you can send files to your mobile phone easily. Simply line up your mobile phone with your laptop's IR receiver, and your laptop should suddenly come alive and tell you "another computer is within range" (see image, above). Click the pop-up balloon, and a window will open asking you what file you'd like to transfer. Locate your midlet (the .jar file you downloaded), click on it, click 'Send' and the file will be sent! Once successfully uploaded, your phone will usually ask you what you want to do with it. Normally it will give you an option to save it in a specific location (usually a folder name). Choose an appropriate location, and it will be saved. To use it, just select it from your phone's menu, and it will be run by your phone's J2ME implementation. See - told you it was easy!
Advantages of IR File Transfer
The advantage of IR upload is that virtually all mobile phones and all laptops have IR ports already installed. Make sure you attempt this first when your laptop's connected to the web, however, as your laptop's version of XP may need to download some extra drivers specific to your phone for optimum file transfers. This is all done for you by XP as a standard Windows update, though, so there's nothing for you to worry about.
Disadvantages of IR File Transfer
The main disadvantages of IR file transfer are that your PC needs an IR port, and usually desktops don't have them; and the file transfer only runs at 9.6Kbps, which is slow, particularly for large files. Then again, though, midlets tend to be <100KB, so this may not be too much of a problem. A much better solution, though, is the increasingly ubiquitous Bluetooth option.
Uploading your midlet via Bluetooth
Bluetooth is a technology for implementing wireless Personal Area Networks (PANs) - or, in other words, for establishing a wireless radio connection between small devices such as mobile phones, laptops, cameras, printers, etc. over a short area (hence 'Personal' in the term PAN). Famously named after a 10th Century Danish King Harald BlÃ¥tand (a.k.a. Harold Bluetooth, presumably due to an aversion to the dentist), the technology can trace its origins all the way back to 1999, and has since become ubiquitous amongst most mobile phones. However, Bluetooth gadgets have been less successful, and for a long time, nobody seemed to know what to do with the technology, other than develop those ridiculous Bluetooth headsets. However, Bluetooth is primarily concerned with connections, and of course you can only connect two devices via Bluetooth if both devices support it. Accordingly, Bluetooth-enabled mobile phones are only of any use if thereï¿½s another Bluetooth-enabled gadget to connect to. For a long time, there wasn't, so Bluetooth truly was pointless for anything other than direct mobile-mobile or mobile-strange-earpiece communication. Today, however, the situation has changed, and there are now many Bluetooth-enabled devices, from printers, to laptops, to PCs, to er, little remote-controlled cars (glorious idea, Sony Ericsson!). Indeed, you can even control your PC with your mobile phone via Bluetooth, should you think that your keypad is a more effective means of moving your mouse cursor than your mouse (who thinks of these things?!)
Establishing a Bluetooth Connection
OK, background over with, how do you use Bluetooth to exchange files? Well, firstly, you must establish a connection between Bluetooth devices - in this case, between your mobile phone and PC. However, although most laptops these days come with Bluetooth pre-installed (certainly most of the wireless Centrino-based ones do), desktop PCs usually do not. You can remedy this by buying a USB Bluetooth adapter (see left), which is a simple USB pen-drive-style dongle that sits in your USB port and instantly adds Bluetooth to your PC (note, however, that unlike USB pen-drives, you must first install the supplied Bluetooth drivers in order for your dongle to work).
Once both devices are Bluetooth-enabled, you can establish the connection. This is easily done, as Bluetooth devices can be made to search for one another. You must name each device beforehand, then select ï¿½search for deviceï¿½ in either your phone or PC, and that device will search for other Bluetooth devices within the local area (between 10m - 100m depending on the Bluetooth specification being used). All devices located will be presented to you, and you can then select the one you need. Depending on the security settings youï¿½ve selected, either your PC or your phone will ask for a passcode. Enter a number (any number will do), and the other device being connected to will then also ask for a passcode. Again, enter the same number (the two numbers must match, but do not need to be specified in advance). Once the passcodes have been entered, the connection is (hopefully!) established, and file transfer can begin.
Transferring Files from Phone to PC
Most phones will let you select a file to be transferred, and offer you a selection of different ways to send it depending on the phoneï¿½s capabilities. For example, you could send it via MMS, Email, InfraRed, or Bluetooth. To transfer via Bluetooth, simply select the file, and then select ï¿½Send using Bluetoothï¿½ (or however your phone phrases it). Unfortunately, some phones only let you send one file at a time this way (are you listening, Sony Ericsson!!). Best to check your phone's manual for specific instructions.
Transferring Files from PC to Phone
To transfer files in the other direction, you can use Windows Explorer from your PC (see image, above). Simply locate the file, right click on it, click 'Send To' and then select 'Bluetooth' and the device you're connected to will then appear as a menu item. You simply select it, and your file will be uploaded to your phone. Note that in some circumstances, depending on your settings, you can simply send the file this way without establishing a connection first - the devices will establish the connection themselves automatically.
Bluetooth Uploading Summary
To upload a midlet via Bluetooth, then, simply do the following:
Re: HowTo: Install Java J2ME midlets on your mobile phone
To get this thread started we have some free games which can be accessed by a simple form at http://www.gamemobile*****,and then you are sent free games which can be downloaded to your PC and installed via a USB or bluetooth connection to your phone. Some of the games are really amazing and being charged a little cost.
|Thread Tools||Search this Thread|