Screen and service development (Distinctive information)

The development and screen and services will be omitted as it is identical to the development environment of XPLATFORM HTML5. Please refer to Getting Started (HTML5) for detailed information.

Below are the distinct information related to XPLATFORM Hybrid.

  1. Register Sms object in TypeDefinition.

  1. Register the object on the screen.

  1. By using Sms Object’s sendMessage() Method, send the message.

It does not work on a PC and you can only check the sendMessage() motion by running it on a terminal.

Event processing related to Touch

XPLATFORM does not provide the touch related even which was processed when developing apps for pre-existing terminals for the convenience of the developer and the unity between HTML5 and Hybrid. For example, in the case of click related process, when developing the existing apps, it had the inconvenience of realizing it to each steps of touchstart touchmove touchend events. However, XPLATFORM automatically processes so that the same effect takes place only with the developer realizing the onclick event. The chart below shows the relationship between XPLATFORM event and the pre-existing events that were used in developing the pre-existing apps. In the chart below, the XPLATFORM internal action even column is the even that occurs within the XPLATFORM engine compared to the terminal app event, and it does not have to be materialized by the developer. Just use it for your reference.

XPLATFORM event

Terminal app event

XPLATFORM inner action event (notes)

onclick

touchstart

Onlbuttondown

touchmove

Onmousemove

touchend

onlbuttonup

ondblclick

touchstart

Onlbuttondown

touchmove

Onmousemove

touchend

Onlbuttonup

touchstart


touchmove

Onmousemove

touchend

Ondblclick

onrbuttondown

Touchstart

(When pressing for a long time)

Onrbuttondown

touchmove

Onmousemove

touchend

Onrbuttonup