How to Use Ota to publish your program

Source: Internet
Author: User

How to Use Ota to publish your program

Author: Chen yuefeng

From: http://blog.csdn.net/mailbomb

 

As we all know, the main forms of the release of the J2EE program include Ota, data line transmission, infrared and Bluetooth transmission. Here is a brief introduction to how to release your program through Ota.

OTA is short for over the air, which is downloaded over the network. This is one of the main release forms. The current treasure chest uses this form.

To use Ota to publish a program, follow these steps:

1. Add mime support for Jad and jar files on your Web server.

Suffix

Mime Type

Jad

Text/vnd. Sun. J2. app-Descriptor

Jar

Application/Java-Archive

 

2. Publish the WML page:

For example, if your jar file name is test. Jad, the simplest download page is:

<? XML version = "1.0"?>

<! Doctype WML public "-// wapforum // dtd wml 1.3 // en"

Http://www.wapforum.org/DTD/wml13.dtd>

<WML>

<Card id = "card1" Title = "Download MIDlet">

<A href = "test. Jad"> test </a>

</Card>

</WML>

You can save the preceding code on a Web server, for example, text. WML.

3. Modify the JAD file:

Add

MIDlet-jar-URL: http: // domain/directory/test. Jar

Http: // domain/directory/test. jar is the path of your jar file.

 

After the above settings, you can publish your WML page path as your wap download page. You only need to enter this path on your phone to access and download your program.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.