You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mw...@apache.org on 2013/07/25 00:13:01 UTC

[06/12] docs commit: [CB-3816] add 'run' command

[CB-3816] add 'run' command


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/dc47477d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/dc47477d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/dc47477d

Branch: refs/heads/master
Commit: dc47477daa2bc342792a145b62b012dd622b9b92
Parents: bd91cb7
Author: Mike Sierra <le...@gmail.com>
Authored: Mon Jul 22 12:28:51 2013 -0400
Committer: Michael Brooks <mi...@michaelbrooks.ca>
Committed: Wed Jul 24 15:11:23 2013 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/cli/index.md | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/dc47477d/docs/en/edge/guide/cli/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/cli/index.md b/docs/en/edge/guide/cli/index.md
index b9d0455..b8ffc4e 100644
--- a/docs/en/edge/guide/cli/index.md
+++ b/docs/en/edge/guide/cli/index.md
@@ -170,7 +170,7 @@ an alternative to modify and compile the platform-specific code that
 Cordova generates within `platforms/ios`. You can use the same
 approach with other platforms' SDKs.
 
-## View the App in an Emulator
+## Test the App on an Emulator or Device
 
 SDKs for mobile platforms often come bundled with emulators that
 execute a device image, so that you can launch the app from the home
@@ -196,6 +196,18 @@ launch from the home screen:
 
 ![](img/guide/cli/android_emulate_install.png)
 
+Alternately, you can plug the handset into your computer and test the
+app directly:
+
+        $ cordova run android
+
+Before running this command, you need to set up the device for
+testing, following procedures that vary for each platform. In
+Android's case, you would have to enable a __USB debugging__ option on
+the device, and perhaps add a USB driver depending on your development
+environmnent.
+See Platform Guides for details on each platform's requirements.
+
 ## Add Features
 
 When you build and view a new project, the default application that
@@ -264,12 +276,6 @@ debug console from a release version:
 You can batch-remove or add plugins by specifying more than one
 argument for each command.
 
-<!--
-
-## Run the App on the Device
-
--->
-
 ## Update the App
 
 After installing installing the `cordova` utility, you can always