Open main menu

DAVE Developer's Wiki β

Changes

Industrial Tablet

1,313 bytes removed, 12:17, 6 May 2013
m
Software and hardware usage notes
{{ImportantMessage|text='''The default IP address is 192.168.0.122'''}}
 
==== Running the Android Debug Bridge (ADB) ====
 
[http://developer.android.com/tools/help/adb.html ADB] is a fundamental development tool and enables remote access to the Android device. ADB is provided with the Android SDK, so before using it you must install the SDK.
 
To establish the ADB connection, on a '''Linux''' host machine open a shell and launch the following commands:
 
<pre class="workstation-terminal">
$ export PATH=${PATH}:<your_sdk_dir>/platform-tools
$ export ADBHOST=<target's ip address>
$ adb kill-server
$ adb start-server
</pre>
 
On a '''Windows''' host machine, open a shell and launch the following commands:
 
<pre class="workstation-terminal">
adb tcpip 5555
adb connect <target's ip address>:5555
adb kill-server
adb start-server
</pre>
 
 
To check the connection, please launch
 
<pre class="workstation-terminal">
$ adb devices
</pre>
 
If everything is working properly, you should see the following messages:
 
<pre class="workstation-terminal">
$ adb devices
List of devices attached
emulator-5554 device
</pre>
 
You can open a remote shell using the following command:
 
<pre class="workstation-terminal">
$ adb shell
</pre>
 
To install an application (in .apk format), you can use the following commmand:
 
<pre class="workstation-terminal">
$ adb install <path to apk>
</pre>
=== Useful Links ===