xref: /aosp_15_r20/sdk/apps/SdkController/assets/intro_help.html (revision 1789df15502f1991eff51ff970dce5df8404dd56)
1*1789df15SXin Li<html>
2*1789df15SXin Li<!--
3*1789df15SXin Li/*
4*1789df15SXin Li * Copyright (C) 2012 The Android Open Source Project
5*1789df15SXin Li *
6*1789df15SXin Li * Licensed under the Apache License, Version 2.0 (the "License"); you may not
7*1789df15SXin Li * use this file except in compliance with the License. You may obtain a copy of
8*1789df15SXin Li * the License at
9*1789df15SXin Li *
10*1789df15SXin Li * http://www.apache.org/licenses/LICENSE-2.0
11*1789df15SXin Li *
12*1789df15SXin Li * Unless required by applicable law or agreed to in writing, software
13*1789df15SXin Li * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14*1789df15SXin Li * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15*1789df15SXin Li * License for the specific language governing permissions and limitations under
16*1789df15SXin Li * the License.
17*1789df15SXin Li */
18*1789df15SXin Li-->
19*1789df15SXin Li<head>
20*1789df15SXin Li  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
21*1789df15SXin Li  <style type="text/css">
22*1789df15SXin Li     body      { color: white;  background-color: black }
23*1789df15SXin Li     a:link    { color: #33B5E5; /*blue*/    }
24*1789df15SXin Li     a:visited { color: #99CC00; /*green*/   }
25*1789df15SXin Li     a:hover   { color: #FFBB33; /*yellow*/; }
26*1789df15SXin Li  </style>
27*1789df15SXin Li</head>
28*1789df15SXin Li<body>
29*1789df15SXin Li<hr/>
30*1789df15SXin Li<b>SdkController</b> is used to send sensor data from an actual device to an emulator. <p/>
31*1789df15SXin LiTo use it, do the following: <br/>
32*1789df15SXin Li<ol>
33*1789df15SXin Li<li>Connect your device to your computer via USB. Make sure to enable <i>USB Debugging</i> in <i>Settings &gt; Developer Options</i>. </li>
34*1789df15SXin Li<li>Start this application on your device. </li>
35*1789df15SXin Li<li>On the computer in a shell, run: <br/><i>adb forward tcp:1970 localabstract:android.sdk.controller</i> </li>
36*1789df15SXin Li<li>Finally <b>run an emulator</b> with an AVD targetting <b>API 15</b>.
37*1789df15SXin LiMulti-touch emulation must be explicitly enabled in emulator either by setting "Touch screen type" property to "multi-touch" in AVD Manager,
38*1789df15SXin Lior by starting the emulator with "-screen multi-touch" option.</li>
39*1789df15SXin Li</ol>
40*1789df15SXin Li<a href="https://sites.google.com/a/android.com/tools/recent/sensoremulation">Read more.</a>
41*1789df15SXin Li</body>
42*1789df15SXin Li</html>
43