Wholesale Applications Community

By Lisa Griffin,2014-08-06 15:12
10 views 0
what's WAC2.0

Wholesale Applications Community


    ; Overview

    ; SDK and Runtime

    ; What are WAC Apps?

    WAC SDK / Emulator

    ; SDK Downloads

    ; Install WAC Integrated SDK

    ; Install WAC Plugins

     - Borqs

     - Aplix

; WAC 2.0 Web Emulator

    Getting Started

    ; HelloWorld App

     - Creating a Hello World App

     - Config.xml Manifest Set-up

     - Testing the App on an Emulator

; Creating an RSS Feed App

    Running Apps on a Device / Emulator

    ; Running Apps on a Device

     - Using USB Debugging mode

     - Pushing Apps to SD card

    ; Deploying policy file

Download Sample Apps

    ; WAC 2.0

    ; WAC 1.0

    Advanced Apps

; Native JSON example App

    ; jQuery example App ; jQTouch example App

Best Practices

    ; The Factors

     - Screen resolutions

     - Screen ratio

     - Pixel density

     - Viewport

     - Orientation and keyboards

; The Solutions

     - Media Queries

     - Fluid grid

     - Scaling graphics

    Runtimes for Device Testing

    ; Runtime Downloads: Aplix, Borqs, Obigo & Opera

; Side-loading an App

    Using Basic Device API Functionality ; Accelerometer

    ; Geolocation

    Device APIs

    ; WAC 2.0 Supported API's

    ; Callbacks

    ; Exception Handling

    ; WebIDL Usage

    WAC Common Testing

    ; Overview

    ; Developer Test Kit


    WAC provides an environment for developers to create and sell applications to end-users.

    Our goals is to:

    ; To increase the overall market for mobile applications. ; To encourage open standardized technologies.

    ; To enable distribution of mobile applications through multiple


    ; To encourage the use of Network APIs.

SDK and Runtime Overview

    WAC SDK:

    1. Use the WAC SDK to develop WAC Apps. The development kit is based on

    Eclipse with WAC specific tools and the Android emulator built-in. 2. The Android emulator is included for testing the application. This emulates

    the actual hardware of the device, meaning that you can run the exact and

    identical software on it just as if it was a real phone.

WAC Runtime:

    1. Provides a secured container for the app, only allowing access to what has

    been authorized.

    2. Provides access to device features such as positioning, accelerometer, etc. 3. Runs the web app or rather interprets the app code.

What are WAC Apps

    A WAC App consists of three basic Web technologies packaged together. ; HTML

    ; JavaScript

    ; CSS

    Also, contained within the App:

    ; Configuration File (config.xml)

    ; Icon (Image displayed on the Device home screen for your App) The package is based on the “Zip” file format but with a unique file extension for the identifier, this consist of the “.wgt” file extension. A basic application consists of the following files:

    The “index.html” file contains the primary HTML code for the WAC App. This file will be loaded at startup when the application has been selected in the WAC Runtime. The “icon.png” file contains the Icon Image displayed on the Device home screen for your App.

    The “config.xml” file contains the basic information for the App startup information.

    SDK Downloads

     Windows - Download now >>


     Standalone Borqs

     Mac - 32bit Download now >>

     WAC 2.0

     Linux - 32bit Download now >>

     Plugins will Borqs Download now >>

    work on any OS Plugins

    supported by


    Plugins will work Plugins Aplix Download now >>

    on any OS

    supported by


     Windows - Download now >>


     Windows - Download now >>


    WAC 1.0 Standalone Borqs


     Linux - 32bit Download now >>

     Linux - 64bit Download now >>

     Mac - 32bit

Install WAC Integrated SDK

    Easiest and Most Straightforward Option

    WAC 2.0 SDK is a complete installable utility for developing WAC Apps. The installation procedures for the WAC 2.0 SDK are given below: 1. Install Java JDK 5 - previously known as JDK 1.5

    I. Download JDK 5.0 Update 22 from the Oracle download site:


    II. b. Extract the Java JDK 5 Package

     Install Integrated WAC 2.0 SDK

     . Download the WAC SDK for your platform from the WAC download site:

     To launch the WAC SDK, go to the installed directory and start eclipse

    (Windows/Linux user can use Application shortcut).

     Configure Android Emulator Path

     . After starting Eclipse, Go to “Window ->Preferences ->Android

    I. Browse to the above extracted WAC SDK path (as shown in the figure

    below), click Apply and then OK.

     Now, In order to run a App on a Device/Emulator, you need a runtime.

     To check that, launch the Emulator by following the navigation below :

     . Click on Window -> Android SDK and AVD Manager -> New (to create

    a new AVD).

    I. Create AVD -> Select the AVD and click on start -> Launch the

    Emulator( see figures below)

     Once the Emulator is launched, you will see a list of default apps on the Home Screen. “Borqs WAC Market” is the runtime, you will be using to run the Apps on the Android Platform.

Report this document

For any questions or suggestions please email