Updated: Sep 2, 2024
Cloud Phone is a cloud-based platform allowing users to access popular web services on feature phones. Developers can create cross-platform widgets (web apps) using web technology compatible with various feature phones.
This guide describes the rules and tips for developing widgets on the Cloud Phone feature phone platform.
All widgets are written in modern HTML5. Developers can follow the W3C Standards to use HTML, CSS, and JavaScript to design their own. If your web app works well on modern web browsers, it can run on the Cloud Phone platform.
A feature phone has a small screen as output. The screen could have the following different resolutions:
Please ensure that widgets can display correctly under such viewport sizes.
The feature phone uses a keypad for user input. Most of the keys are mapped to corresponding keyboard events:
0-9
, *
, #
: corresponding keys of a keyboardA widget should handle the key events described above on its own to give users the best experience.
The right soft key (RSK) is not treated as a keyboard event. Instead, it acts as "go back" or "close page" according to the following rules:
history.back()
).window.close()
).Although a widget can define LSK/RSK for any purpose, to avoid confusing users, behaviors of these two keys should be consistent across all widgets:
Once the widget is ready to go live, it has to be deployed to a URL endpoint like a general website. Cloud Phone servers will then access the URL endpoint through the standard HTTPS protocol and process the HTML like a modern browser.
The developer should also provide metadata describing the widget, including:
Since widgets are all based on HTML/CSS/JS, it is possible to develop/test efficiently on a modern browser. The latest Google Chrome browser is recommended. Here are the steps to run a widget on Chrome:
0-9
, *
, #
, and Esc to simulate the rest keys.