Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: for the plan.

Jump to: navigation, search

Android Selector 1.1

Revision as of 15:19, 15 August 2014 by (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Higgins logo 76Wx100H.jpg


This page describes the Android solution being developed for Higgins 1.1.


This is a standalone Android application that can be launched automatically from a relying party website. For more information about Information Cards and Selectors visit

End User Perspective

The Android I-Card Selector allows users to use their I-Cards at relying parties.

Download Android I-Card Selector

This archive contains following files:

* install_apk.bat install file
* install_plugin.bat install file
* Android I-Card Selector
* Android I-Card Service
* Android I-Card web browser plugin file
* pwm-android.jar Android I-Card web browser plugin file
* readme.tx read me file

This component only works at relying parties that explicitly support it.

AndroidSelectorScreenshot3.png AndroidSelectorScreenshot4.png


Installation on Windows

Download and install Android SDK (at now 1.6 version) from (at now 1.6 version).

Set environment variables:

  • set ANDROID_SDK variable with value of path to Android SDK;
  • update PATH variable with you ANDROID_SDK variable (PATH=%PATH%;%ANDROID_SDK%\tools).

After that (it is possible, reboot will be needed), connect you device (or run emulator with Android 1.6) to PC.

Important! Next steps should be executed with connected device or emulator.

Unpack archive and go to directory with unpacked files.

Install apk files

Execute "install_apk.bat" or run in command-line:

for /r %i in (*.apk) do adb install %i
Install plugin files

Execute "install_plugin.bat" file or run in command-line:

set MODULE=pwm


rem filenames for copying
set PWM_ANDROID_JAR="pwm-android.jar"
set PWM_SO=""

echo Create directories on the target.
adb shell mkdir %ANDROID_DEVICE_BROWSER_DIR% >/dev/null
adb shell mkdir %ANDROID_DEVICE_INSTALL_DIR% >/dev/null
adb shell mkdir %PLUGIN_RESOURCES_DIR% >/dev/null

echo copy so files

echo create cache file
adb shell ">/data/dalvik-cache/"

Restart Android and launch I-Card Selector.


The Android I-Card Selector uses the following settings:

AndroidSelectorScreenshot1.png AndroidSelectorScreenshot2.png

Deployer Perspective


The projects are:

  • app/
  • app/
  • app/
  • app/

These projects can be checked out from the Eclipse repository at the following SVN URIs:

In order to build the Android I-Card Selector, you need the following:

To build all in Eclipse you need the following steps:

  • Check out all these projects from SVN (you can do it with Subversive plug-in).
  • Add ksoap2-android library into the classpath of service project.
  • Build Selector and Service.
  • Set up ANDROID_BUILD_TOP and ANDROID_SDK variables in the properties of NPAPI (Properties -> C/C++ Build -> Environment).
  • Build NPAPI (with run Android emulator or device).

Developer Perspective


Android selector 1.1.101.png
(Diagram Key)

Components, Packages & Services



Back to the top