In this article, we describe how to use the online WebApp generator to produce the Click Installer package that can be installed in an Ubuntu phone or emulator. Address of the WebApp generator: https://developer.ubuntu.com/webapp-generator/.
1 Open the Builder Web page and fill in the appropriate information
We open the page in the browser: https://developer.ubuntu.com/webapp-generator/, and fill in the information needed for the application. Please note: If you do not have an Ubuntu one account, please register a, or you will not be able to enter. The Ubuntu one account is also required when uploading and applying to the store.
After filling in the information we need, we click on the button " Submit", you can appear in the screen below the download of a call similar to "Wqqcom-uii.liu-xiao-guo_0.1_all.click" click installation package. This file should usually be in:
/home/ host_name/downloads
The folder (here "Hose_name") varies according to the name of your computer.
2 installation applied to our mobile phone or simulator
We are using the following command to install the click installation package we have produced to the cell phone or emulator. Note that the name of the click Package we produced above contains " all" to indicate that it is an installation package that applies to both the phone and the simulator. We open a terminal and enter the following command:
liuxg@liuxg:~/downloads$ ADB push Wqqcom-uii.liu-xiao-guo_0.1_all.click/home/phablet
Immediately thereafter, we entered the following order:
liuxg@liuxg:~/downloads$ adb shell
This allows us to install the application to the phone or simulator. If the application is not found on the phone's desktop, you can try searching for "
QQ(For our example, it has a name that contains QQ).
The installation and operation in the simulator appear as follows:
You are welcome to produce your favorite webapps and upload it to our store.
It is also worth noting that we can use the "Web app" template in the SDK to produce our favorite online WebApps.
More information on the development of online WebApp can be found at address https://developer.ubuntu.com/zh-cn/web/.