If you do not have an Android device that you can use for testing, then you can set up an Android emulator. The emulator will then get the Selenium WebDriver APK installed and then that will control the browser on the device. Before we start, you will need to download the Android SDK from http://developer.android.com/sdk/index.html.
<path>is the path to the
./android create avd -n my_android -t 14where:
–n my_androidgives the emulator the name
t 14tells it which version of android to use.
14and higher is Android 4 and higher support.