Book Image

Android Wearable Programming

By : Steven F. Daniel
Book Image

Android Wearable Programming

By: Steven F. Daniel

Overview of this book

Table of Contents (14 chapters)
Android Wearable Programming
Credits
About the Authors
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Running apps directly on an Android Wear device


In this section, we will be taking a look at the steps involved in running an Android wearable app directly on the wearable device, instead of running this inside the Android simulator.

Before we can run the apps on our Android wearable device, first we need to make some changes to our project configuration as follows:

  1. This can be achieved by choosing Run | Edit Configurations… from Android Studio menu as shown in the following screenshot:

    Next, since our project doesn't contain any activity modules, we need to make some adjustments to our project configuration.

  2. From the Run/Debug Configurations screen, select the wear configuration option located within the Android Application section.

  3. Then, select the Do not launch Activity option located within the Activity section.

  4. Next, select the Show chooser dialog option located within the Target Device section, and click on the OK button to proceed to save your changes as shown in the following screenshot...