Install HWC app on emulator

Let the world know ...Tweet about this on TwitterShare on Google+0Share on Facebook0Email this to someoneShare on LinkedIn0

To test a hybrid app for SUP 2.x or SMP 2.x on the emulator, you need to have the HWC app installed. The app is part of the SDK and delivered in source code and as a installable APK file.

Creating a new emulator is easy, but how to install the app? Using Eclipse to create Android apps means that you never get in touch with the adb command line tool. The Android IDE takes care of deploying the app. You can now import the source code of the container and deploy it or take the easier alternative: install the delivered apk. Here is a step by step guide on how to install a APK using adb command line tool.

  1. After the emulator is up and running, check if the emulator is working: adb devices

  2. Open command prompt
  3. Change to the dir where the APK is located: cd <path to SDK>\HybridApp\Containers\Android
  4. Issue: adb install HybridWebContainer.apk

  5. Open the application menu in Android and HWC app shows up

  6. Done

Google Android documentation on adb install.

Let the world know ...Tweet about this on TwitterShare on Google+0Share on Facebook0Email this to someoneShare on LinkedIn0

Leave a Reply

Your email address will not be published. Required fields are marked *