You can build the Android Hybrid Web Container
independent from Sybase Unwired Platform.
- Open a command prompt and navigate to the base directory of the
Hybrid Web Container project.
- Run either the ant debug or
ant release command, depending on whether you
want to debug or release the Hybrid Web Container.
A file named either HybridWebContainer-debug.apk or
HybridWebContainer-release-unsigned.apk (depending on the
command you used)
is
added to the bin folder. If a file already exists with that
name, it is overwritten.
- Use Android Debug Bridge
(ADB),
which is included in the Android SDK installation, to install the
.apk to the emulator.
- Launch an Android Virtual Device (AVD) that does not have the
Hybrid Web Container installed (or uninstall it if it is
installed).
- In the
Command
Prompt
window, navigate to the folder that contains the adb.exe
file,
which
should
be in the …/android-sdk/platform-tools/
folder.
- Execute: adb install
<path>,
where <path> is the full filepath to
the HybridWebContainer.apk file.