Open main menu

DAVE Developer's Wiki β

Changes

Industrial Tablet

50 bytes removed, 10:52, 10 March 2015
m
Running_the_Android_Debug_Bridge
= Introduction =
The '''DAVE Embedded Systems''' Industrial Tablet is a ARM Cortex-A8 platform based on the [[:Category:Lizard SOMs |Lizard ]] SOM and the [[:Category:Dacu|Dacu ]] carrier board.
[[File:Dacu-front-view.jpg|350px|frameless|border]]
[http://www.youtube.com/watch?v=VhvlZL46R5Q Android Multitouch demo on Dacu]
 
= Software and hardware usage notes =
==== Running the Android Debug Bridge (ADB) ====
[Android Debug Bridge (adb) is a versatile command line tool that lets you communicate with an emulator instance or connected Android-powered device. With adb, developers can remotely access the Android device (via USB, USB-ETH or ETH) to check the status, open a shell, etc. (http://developer.android.com/guide/developing/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 connectionenable adb (via ethernet), on a '''Linux''' host machine open a shell and launch the following commandsmust be launched on the target:
<pre class="workstation-terminal">target #> setprop service.adb.tcp.port 5555target #> stop adbdtarget #> start adbd</pre> On the host machine, after Android SDK installation, launch: <pre>
$ export PATH=${PATH}:<your_sdk_dir>/platform-tools
$ export ADBHOST=<target's ip address>
</pre>
On a '''Windows''' host machine, open a shell and launch the following commands: <pre class="workstation-terminal">adb tcpip 5555adb connect <target's ip address>:5555adb kill-serveradb start-server</pre>  To check the connection, please from the host machine launch:
<pre class="workstation-terminal">
$ adb devices
</pre>
If everything the device is working properlyconnected and detected, you should see the output will be the following messages:
<pre class="workstation-terminal">
$ adb devices
List of devices attached
</pre>
You can open a A remote shell using can be started with the following command:
<pre class="workstation-terminal">
$ adb shell
</pre>
To install an application (in .apk format), you can use the following commmandlaunch:
<pre class="workstation-terminal">
$ adb install <path to apk>
</pre>