Installing Hybrid Web Container on Android Simulator
Dear All,
Ojbective:
This document explains steps how we can install hyrbid web container on android simulator.
Platform Requirement :
Mobile SDK 2.0, 2.1.x, 2.2
Procedure:
1. Launch AVD manager
add a device
- In the Android AVD Manager, click New.
- enter a name. e.g. android1
- select a supported Android version in target.
- click Create AVD.
2. when you press “Create AVD” . A window will pop up with following information. click ok.
3. when your simulator is ON , run command prompt.
cd C:\Program Files\android-sdk\platform-tools
type adb device (it will show list of online android devices),it is for your understanding.
4. after that run below command (if you are using mobile sdk 2.2)
Adb install C:\Sybase\UnwiredPlatform\MobileSDK22\HybridApp\Containers\Android\hybridwebcontainer.apk
(for mobile sdk 2.1.3 : Adb install C:\Sybase\UnwiredPlatform\MobileSDK213\HybridWeb\Android\hybridwebcontainer.apk)
(for mobile sdk 2.0, 2.1.0, 2.1.1, 2.1.2 :
adb install C:\Sybase\UnwiredPlatform\ClientAPI\Workflow\Android\SybaseDataProvider.apk it will give you the success message.
again type adb install C:\Sybase\UnwiredPlatform\ClientAPI\Workflow\Android\Workflow.apk)
you will get a success message on commnad prompt screen. it is an indication of successful installtion of HWC on your android simulator.
5. go to Application, then you will see hybrid web container icon on screen.
6. first time when you lanuch it, it will ask for password/pin. you can choose as per your convenience.
I hope it will help you.
your suggestions/comments are most welcome.
Regards,
Jitendra
Useful information!!!!
for all those wants to test their application on simulator..
Kind Regards,
-Amey