WAC: wholesale applications community (large-scale Application Software Development Alliance)
Official Website: http://www.wacapps.net/
As I know, the WAC standard was initially launched by a group of telecom operators, including mobile. as a standard for mobile platforms, WAC Runtime is provided and developed using HTML, this is a write and runs everywhere. Needless to say, phonegap is similar to phonegap, but phonegap provides an development kit that encapsulates sdks on different platforms, while the WAC standard provides a runtime, let the program run on runtime, similar to running on your own "virtual machine. I believe that the runtime of WAC depends on WebKit.
At present, there seems to be few or not mature messages about WAC. Many companies have joined this alliance. Since WAC is only a standard, it should be implemented by different vendors. Currently, wac2.0 is on the official website, it only provides Android implementation and some simulator tools and development tools.
For Android, it provides a runtime (an APK, just install it) and a manager (also an APK, install, run, uninstall, and update the WAC package ). Not to mention development tools. Since it is HTML development, you can use other tools for development, or use the Eclipse plug-in or independent tools provided by it, the advantage of using the development tools provided by OSS is that they are directly packaged according to the WAC standard. The WAC program is packaged in the WGT format. Its SDK is: http://www.wacapps.net/sdk (PS: I downloaded the plug-in version, it seems that these links are not all available, do not know, I downloaded this one for the obigo, can be used ).
After the download, there are several documents for installation and use, which are clearly written. Of course, because it is Android, it is definitely necessary to install Android development-related sdks or something. For Android simulators or WAC programs tested with real devices, you only need to install the runtime and manager on the simulators or devices, that is, two APK files, so it is easy to install, of course, the wac sdk also provides an install script.
After all the solutions (development environment, WAC running environment in virtual machines, etc.), perform a simple test:
(1) write a "Hello, world" WAC program:
1. Create a project and select File> new project> widget project> WAC widget project. The next step is to complete the project.
2. The project structure is as follows:
Among them, JavaScript connector is the corresponding web development set, there is basically nothing in it, config. XML, this file is a configuration file, a manifest file. Open index.html and modify the content as follows:
<!DOCTYPE html>
3. view results and Package
The wac sdk provides a "preview" tool. In eclipse, the menu widget (or right-click the widget tools on the project) is a few simple functions related to the wac sdk. Currently, two features are available: preview and package.
A. Package: Export with signing and export without signing are available in the widge menu, respectively. The exported file is in WGT format.
B. Preview: In the menu widget, there are previewer profile and show previewer. Show previewer is used to preview the effect. The profile option is used to set preview parameters, which is very simple. Of course, some button functions on the previewer are not introduced.
4. Test Run
The previous preview has never been run on the Android system. To run the preview, you must first package the WGT as prompted above. Then, run:
ADB push hello_wac.wgt/mnt/sdcard
Push the wgb file to Android. Then run the widget manager on Android as follows:
Then you can click "Install", and the manual will be available.
After the installation is complete, find hello_wac in the application and click Run. the following result is displayed:
As you can see, the "background" of the application is transparent, which is a feature of WAC. It has two running modes. If you double-click it, it will not be transparent. See the instructions in the reference manual.
Summary: In my personal understanding, WAC is a standard and its implementation depends on WebKit.