New improvements to the j2e-wireless Toolkit 2.2

Source: Internet
Author: User

The award-winning j2rwireless Toolkit has become a de facto standard Toolkit for developing applications for j2r's. Since its debut in early 2000, the toolkit has been developing to catch up with the pace of rapid changes in the appearance of mobile Java technology. Do not be misled by minor changes since MySQL 2.1. The new toolkit supports the new optional APIs specified by Java Community Process (JCP) in four important fields: 3D graphics, multimedia communication, Bluetooth networking, and data management. This article describes these new APIs and shows you how to implement them in the Toolkit.
Before that, let's praise the updated DefaultColorPhone simulator skin, which has a larger screen (2.1x320, or QVGA) Since version 240) and more colors (4096 colors instead of 256 colors ).
Move 3D images
JSR 184, the Mobile 3D graphics API for j2e-m3g, provides 3D graphics in an integrated software package, applicable to devices that support the most widely used j2_stack software, CLDC, and MIDP. The API provides two APIs for displaying 3D content. The instant mode API allows applications to directly create and manipulate 3D elements. Above this layer is a scenario Graph API, also known as the retention mode, which can load and display the entire 3D scenario that has been designed in advance. Applications can adopt the most appropriate API, or a combination of the retention mode and Immediate Mode. The JSR 184 specification also defines a file format for the scenario diagram-. m3g.
The simulator of this Toolkit fully supports JSR 184, and several midlets demonstrate the functions of the API in the Demo3D project.
Life3D demonstrates the use of the instant mode:

PogoRoo is an interactive demonstration featuring displaying a Jumping kangaroo:

Finally, retainedmode shows how to load and present the scenario graph file:

Multimedia Communication
The j2e-wireless Toolkit has long-term support for JSR 120 and Wireless Messaging API (WMA) 1.1 versions. The new version supports WMA 2.0 (JSR 205), which extends WMA functions to include multimedia communication.
In the toolkit, communication occurs in a simulated environment. If you run the simulator multiple times, the applications on the simulator can communicate with each other, and you can use the WMA Console utility of the toolkit to conveniently exchange messages with the application in the same environment. Communication can comply with one of the following standard protocols: Short Message Service (SMS), Cell Broadcast Service (CBS) or the new protocol in toolkit 2.2-Multimedia Communication Service (MMS ).
You can mark an MMS Message and add any file set to the message.

Moreover, the network monitor can now display MMS messages sent or received by the simulator.
Bluetooth and OBEX
The j2-wireless Toolkit simulator supports JSR 82, namely, Java API for Bluetooth, which includes two independent APIs:

Related Article

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.