Loading docs/html/images/debug-ddms.png +518 KiB (709 KiB) Loading image diff... docs/html/tools/debugging/ddms.jd +24 −64 Original line number Diff line number Diff line Loading @@ -25,6 +25,13 @@ parent.link=index.html </li> </ol> <h2>See also</h2> <ol> <li><a href="{@docRoot}tools/help/android-monitor.html">Android Monitor</a></li> <li><a href="{@docRoot}tools/devices/emulator.html">Android Emulator</a></li> </ol> </div> </div> Loading Loading @@ -297,56 +304,9 @@ displayed on devices running Android 4.0.3 or higher.</p> edit filter, and delete filter buttons let you manage your custom filters.</p> <h3 id="ops-location">Emulating phone operations and location</h3> <p>The Emulator control tab lets you simulate a phone's voice and data network status. This is useful when you want to test your application's robustness in differing network environments.</p> <h4>Changing network state, speed, and latency</h4> <p>The Telephony Status section of the Emulator controls tab lets you change different aspects of the phone's networks status, speed and latency. The following options are available to you and are effective immediately after you set them:</p> <ul> <li>Voice - unregistered, home, roaming, searching, denied</li> <li>Data - unregistered, home, roaming, searching, denied</li> <li>Speed - Full, GSM, HSCSD, GPRS, EDGE, UMTS, HSDPA</li> <li>Latency - GPRS, EDGE, UMTS</li> </ul> <h4>Spoofing calls or SMS text messages</h4> <p>The Telephony Actions section of the Emulator controls tab lets you spoof calls and messages. This is useful when you want to to test your application's robustness in responding to incoming calls and messages that are sent to the phone. The following actions are available to you:</p> <ul> <li>Voice - Enter a number in the <strong>Incoming number</strong> field and click <strong>Call</strong> to send a simulated call to the emulator or phone. Click the <strong>Hang up</strong> button to terminate the call.</li> <li>SMS - Enter a number in the <strong>Incoming number</strong> field and a message in the <strong>Message:</strong> field and click the <strong>Send</strong> button to send the message.</li> </ul> <h4>Setting the location of the phone</h4> <p>If your application depends on the location of the phone, you can have DDMS send your device or AVD a mock location. This is useful if you want to test different aspects of your application's location specific features without physically moving. The following geolocation data types are available to you:</p> <ul> <li>Manual - set the location by manually specifying decimal or sexagesimal longitude and latitude values.</li> <li>GPX - GPS eXchange file</li> <li>KML - Keyhole Markup Language file</li> </ul> <p>The <strong>Emulator Control</strong> tab, shown in Figure 1, is no longer supported. Use the <a href="{@docRoot}tools/devices/emulator.html">Android Emulator</a> for these features.</p> For more information about providing mock location data, see <a href="{@docRoot}guide/topics/location/strategies.html#MockData">Location Strategies</a>. Loading
docs/html/tools/debugging/ddms.jd +24 −64 Original line number Diff line number Diff line Loading @@ -25,6 +25,13 @@ parent.link=index.html </li> </ol> <h2>See also</h2> <ol> <li><a href="{@docRoot}tools/help/android-monitor.html">Android Monitor</a></li> <li><a href="{@docRoot}tools/devices/emulator.html">Android Emulator</a></li> </ol> </div> </div> Loading Loading @@ -297,56 +304,9 @@ displayed on devices running Android 4.0.3 or higher.</p> edit filter, and delete filter buttons let you manage your custom filters.</p> <h3 id="ops-location">Emulating phone operations and location</h3> <p>The Emulator control tab lets you simulate a phone's voice and data network status. This is useful when you want to test your application's robustness in differing network environments.</p> <h4>Changing network state, speed, and latency</h4> <p>The Telephony Status section of the Emulator controls tab lets you change different aspects of the phone's networks status, speed and latency. The following options are available to you and are effective immediately after you set them:</p> <ul> <li>Voice - unregistered, home, roaming, searching, denied</li> <li>Data - unregistered, home, roaming, searching, denied</li> <li>Speed - Full, GSM, HSCSD, GPRS, EDGE, UMTS, HSDPA</li> <li>Latency - GPRS, EDGE, UMTS</li> </ul> <h4>Spoofing calls or SMS text messages</h4> <p>The Telephony Actions section of the Emulator controls tab lets you spoof calls and messages. This is useful when you want to to test your application's robustness in responding to incoming calls and messages that are sent to the phone. The following actions are available to you:</p> <ul> <li>Voice - Enter a number in the <strong>Incoming number</strong> field and click <strong>Call</strong> to send a simulated call to the emulator or phone. Click the <strong>Hang up</strong> button to terminate the call.</li> <li>SMS - Enter a number in the <strong>Incoming number</strong> field and a message in the <strong>Message:</strong> field and click the <strong>Send</strong> button to send the message.</li> </ul> <h4>Setting the location of the phone</h4> <p>If your application depends on the location of the phone, you can have DDMS send your device or AVD a mock location. This is useful if you want to test different aspects of your application's location specific features without physically moving. The following geolocation data types are available to you:</p> <ul> <li>Manual - set the location by manually specifying decimal or sexagesimal longitude and latitude values.</li> <li>GPX - GPS eXchange file</li> <li>KML - Keyhole Markup Language file</li> </ul> <p>The <strong>Emulator Control</strong> tab, shown in Figure 1, is no longer supported. Use the <a href="{@docRoot}tools/devices/emulator.html">Android Emulator</a> for these features.</p> For more information about providing mock location data, see <a href="{@docRoot}guide/topics/location/strategies.html#MockData">Location Strategies</a>.