×
Namespaces

Variants
Actions
(Difference between revisions)

How to install Java ME application in mobile phone

From Nokia Developer Wiki
Jump to: navigation, search
tectonic (Talk | contribs)
m (Overview)
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot update - metadata, code example, featured article or Qwidget UI fixes)
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{ReviewerApproved}}
+
[[Category:Java ME]][[Category:How To]][[Category:Deployment/Installation]]
{{ReviewerApproved}}
+
{{ArticleMetaData <!-- v1.1 -->
[[Category:Java ME]][[Category:How To]][[Category:Deployment/Installation]][[Category:Level-Basic]]
+
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
 +
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
 +
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
 +
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
 +
|platform= <!-- Compatible platforms - e.g. Symbian^1 and later, Qt 4.6 and later -->
 +
|devicecompatability= <!-- Compatible devices e.g.: All* (must have internal GPS) -->
 +
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
 +
|signing= <!-- Signing requirements - empty or one of: Self-Signed, DevCert, Manufacturer -->
 +
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
 +
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
 +
|id= <!-- Article Id (Knowledge base articles only) -->
 +
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 +
|translated-by= <!-- [[User:XXXX]] -->
 +
|translated-from-title= <!-- Title only -->
 +
|translated-from-id= <!-- Id of translated revision -->
 +
|review-by= <!-- After re-review: [[User:username]] -->
 +
|review-timestamp= <!-- After re-review: YYYYMMDD -->
 +
|update-by= <!-- After significant update: [[User:username]]-->
 +
|update-timestamp= <!-- After significant update: YYYYMMDD -->
 +
|creationdate= 20070324
 +
|author= [[User:Wang shui]]
 +
}}
 +
 
 +
{{Abstract|This article explains how to install a Java ME application to a phone using Ovi Suite or Over-the-air transfer.}}
 +
 
 
==Overview==
 
==Overview==
 
Installing J2ME applications to the phones can be done in a number of ways:
 
Installing J2ME applications to the phones can be done in a number of ways:
  
First you have to transfer the application to your mobile. You can transfer your application to the mobile from PC by making use of data cable, infrared or Bluetooth. You can install the MIDlets either with or without [[PC Suite]] or [[Ovi Suite]].
+
First you have to transfer the application to your mobile. You can transfer your application to the mobile from PC by making use of data cable, infrared or Bluetooth. You can install the MIDlets either with or without [[PC Suite]] or Ovi Suite.
  
 
On Series 40 phones the application gets installed automatically. On S60 phones you need to open message (in the inbox) containing the application and install it manually. However if you use PC Suite to install the MIDlet, the installation process is started automatically on the S60 phones, although you need to step through it manually.
 
On Series 40 phones the application gets installed automatically. On S60 phones you need to open message (in the inbox) containing the application and install it manually. However if you use PC Suite to install the MIDlet, the installation process is started automatically on the S60 phones, although you need to step through it manually.
Line 24: Line 48:
 
==Infrared and Bluetooth==
 
==Infrared and Bluetooth==
 
IR or Bluetooth technology can be used to send the MIDlet from a PC to another device
 
IR or Bluetooth technology can be used to send the MIDlet from a PC to another device
 +
.And these two technologies can also be used to send JAR files between two devices.Of course,the file must be saved in source device memory by any way before sent.And the destination device must support installing applications via MMS.
  
 
==Installing over a serial cable==
 
==Installing over a serial cable==
 
If the device has a serial cable port and connectivity software (either Nokia PC suite or the Ovi Suite) for a PC, the MIDlet can be installed on the device over a serial cable. To install the MIDlet, double-click on either the *.jar or *.jad file and follow on-screen instructions. On a PC, if jar/jad files are not associated with PC suite or Ovi suite by default, you can right click and select "open with" then choose "Ovi suite" or "PC suite" as applicable.
 
If the device has a serial cable port and connectivity software (either Nokia PC suite or the Ovi Suite) for a PC, the MIDlet can be installed on the device over a serial cable. To install the MIDlet, double-click on either the *.jar or *.jad file and follow on-screen instructions. On a PC, if jar/jad files are not associated with PC suite or Ovi suite by default, you can right click and select "open with" then choose "Ovi suite" or "PC suite" as applicable.
 
+
Many devices can also be operated by connectivity software via IR or Bluetooth.
 
==WAP Push==
 
==WAP Push==
 
We can send as a WAP Push messages, the download link will be send to the targeted mobile number. User can download the application by clicking the link.
 
We can send as a WAP Push messages, the download link will be send to the targeted mobile number. User can download the application by clicking the link.
  
 
WAP Push messages are specially formatted SMS messages that display an alert message to the user, and give the user the option of connecting directly to a particular URL via the mobile phone’s WAP browser
 
WAP Push messages are specially formatted SMS messages that display an alert message to the user, and give the user the option of connecting directly to a particular URL via the mobile phone’s WAP browser
 +
<!-- Translation --> [[pt:Como instalar aplicações Java ME em dispositivos móveis]]
 +
<!-- Translation --> [[zh-hans:如何在手機裡安裝Java ME應用程式]]

Revision as of 05:54, 12 January 2012

Article Metadata
Article
Created: wang_shui (24 Mar 2007)
Last edited: hamishwillee (12 Jan 2012)

This article explains how to install a Java ME application to a phone using Ovi Suite or Over-the-air transfer.

Contents

Overview

Installing J2ME applications to the phones can be done in a number of ways:

First you have to transfer the application to your mobile. You can transfer your application to the mobile from PC by making use of data cable, infrared or Bluetooth. You can install the MIDlets either with or without PC Suite or Ovi Suite.

On Series 40 phones the application gets installed automatically. On S60 phones you need to open message (in the inbox) containing the application and install it manually. However if you use PC Suite to install the MIDlet, the installation process is started automatically on the S60 phones, although you need to step through it manually.

Another way to transfer the MIDlet to the phone is store it (JAR and or JAD file) on a Web server and download the files using the browser of the phone (so called OTA download). Note that the server has to have the MIME types correctly defined:

JAR: application/java-archive
JAD: text/vnd.sun.j2me.app-descriptor

There are four ways to deploy the application into a mobile device

Over-the-Air (OTA)

With OTA deployment, the MIDlet (Java ME application) is installed on a Web server and then downloaded to a device via the device's Internet microbrowser. A JAR file and a JAD file are required for OTA installation. The process begins by browsing to a page that includes a link to a MIDlet suite. The link is then clicked, which causes the Web server to deliver the JAD file for the MIDlet suite to the browser. On receipt of the JAD file, it is opened and its contents are displayed. The JAD file contains a description of the MIDlet suite, including its size, version number, and who provided it. A request is then sent for the JAR file and, finally, the Web server delivers the JAR file. Once the JAR file has been delivered to the device, the suite is installed and individual MIDlets can be selected and run.

Infrared and Bluetooth

IR or Bluetooth technology can be used to send the MIDlet from a PC to another device .And these two technologies can also be used to send JAR files between two devices.Of course,the file must be saved in source device memory by any way before sent.And the destination device must support installing applications via MMS.

Installing over a serial cable

If the device has a serial cable port and connectivity software (either Nokia PC suite or the Ovi Suite) for a PC, the MIDlet can be installed on the device over a serial cable. To install the MIDlet, double-click on either the *.jar or *.jad file and follow on-screen instructions. On a PC, if jar/jad files are not associated with PC suite or Ovi suite by default, you can right click and select "open with" then choose "Ovi suite" or "PC suite" as applicable. Many devices can also be operated by connectivity software via IR or Bluetooth.

WAP Push

We can send as a WAP Push messages, the download link will be send to the targeted mobile number. User can download the application by clicking the link.

WAP Push messages are specially formatted SMS messages that display an alert message to the user, and give the user the option of connecting directly to a particular URL via the mobile phone’s WAP browser

1720 page views in the last 30 days.
×