Scroll Essential Android 2.3 Manual de usuario

Busca en linea o descarga Manual de usuario para Tabletas Scroll Essential Android 2.3. Android Wear Docs Release 1.1 Michael Hahn Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir

Indice de contenidos

Pagina 1 - Android Wear Docs

Android Wear DocsRelease 1.1Michael HahnApril 30, 2015

Pagina 2

Android Wear Docs, Release 1.1When the Android Wear companion app successfully pairs with the emulator, the action bar displaysEmulator Connected.On t

Pagina 3

CHAPTER 2What About the Sample Apps?By Michael Hahn, December 2014Google provides a variety of sample applications for wearables that demonstrate the

Pagina 4 - 10 Indices and tables 43

Android Wear Docs, Release 1.14. When prompted to choose a device, select your handheld device and click OK.5. Wait for the Application to fully compi

Pagina 5

Android Wear Docs, Release 1.12.4 Try Eliza ChatThe Eliza Chat sample app shows how you might implement a Personal Digital Assistant on a wearable dev

Pagina 6 - 2 Contents

Android Wear Docs, Release 1.110 Chapter 2. What About the Sample Apps?

Pagina 7 - How Does Android Wear Work?

Android Wear Docs, Release 1.1Swipe left to move through the steps. For each step you can tap to view more and swipe up or down to move throughthe con

Pagina 8 - 1.3 Set Up Your Wearable

Android Wear Docs, Release 1.112 Chapter 2. What About the Sample Apps?

Pagina 9

CHAPTER 3Android Wear SuggestBy Michael Hahn, January 2015The Suggest context stream is one of the core functions for Android Wear. It consists of a s

Pagina 10 - 1.4 Next Steps

Android Wear Docs, Release 1.1Android Wear adds even more styles that improve the user experience on the small screen of a wearable device. Thesestyle

Pagina 11 - What About the Sample Apps?

Android Wear Docs, Release 1.13.1.2 Modify the Handheld Activity1. Import the the packages that support wearable features into the handheld Activity.

Pagina 13 - 2.5 Try Recipe Assistant

Android Wear Docs, Release 1.13.2 ExampleThe full Android Studio project for this example is posted at https://github.com/LarkspurCA/WearableSuggest.1

Pagina 14

CHAPTER 4Android Wear DemandBy Michael Hahn, January 2015The Demand context is one of the core functions for Android Wear. A demand is displayed as a

Pagina 15 - 2.6 Try Wearable Notifications

Android Wear Docs, Release 1.14.1.2 Modify the Handheld ActivityYour handheld activity initiates the process by creating a notification that includes a

Pagina 16

Android Wear Docs, Release 1.1NotificationCompat.WearableExtender wearableExtender =new NotificationCompat.WearableExtender().addAction(replyAction);6

Pagina 17 - Android Wear Suggest

Android Wear Docs, Release 1.1Selecting the reply icon displays the voice prompt, and then the confirmation after you speak (or type on the emulator).T

Pagina 18 - 3.1.1 Create a Project

CHAPTER 5Wearable Application LaunchBy Michael Hahn, April 2015Android wearable devices have an Android operating system, so you can develop applicati

Pagina 19

Android Wear Docs, Release 1.15.3 Handheld ActivationA great way to start your wearable app is from a notification on the wearable. This is useful when

Pagina 20 - 3.2 Example

Android Wear Docs, Release 1.1for (DataEvent event : dataEvents) {// Check the event typeif (event.getType() == DataEvent.TYPE_CHANGED) {// Check the

Pagina 21 - 4.1 First Android Wear Demand

Android Wear Docs, Release 1.124 Chapter 5. Wearable Application Launch

Pagina 22

CHAPTER 6Data Layer MessagesBy Michael Hahn, January 2015An application that runs on a wearable device usually utilizes some of the capabilities of a

Pagina 23

Contents1 How Does Android Wear Work? 31.1 Set Up the Development Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.2

Pagina 24 - 4.2 Example

Android Wear Docs, Release 1.1name, which is essential for the wearable data layer to work.Data layer messages can originate from either a handheld or

Pagina 25 - 5.2 Menu Activation

Android Wear Docs, Release 1.1}// Data layer and lifecycle implementation (Step 2)...}2. Add callback methods for the data layer and lifecycle events.

Pagina 26 - 5.3 Handheld Activation

Android Wear Docs, Release 1.1else {// Log an errorLog.v("myTag", "ERROR: failed to send Message");}}}}6.1.2 Implement a Message L

Pagina 27

Android Wear Docs, Release 1.1}else {super.onMessageReceived(messageEvent);}}}6.1.3 Display Received MessagesThe wearable listener service cannot dire

Pagina 28

Android Wear Docs, Release 1.1which results in duplicate local broadcasts.6.1.4 Try the First Data Layer AppMake sure the handheld and wearable are su

Pagina 29 - 6.1 First Wearable Message

CHAPTER 7Data Layer DataMap ObjectsBy Michael Hahn, January 2015The wearable data layer can sync either messages or data. A message contains a single

Pagina 30

Android Wear Docs, Release 1.1the buffer, convert it to a DataMapItem, convert that to a DataMap object, and then get the original handheld data.A Wea

Pagina 31

Android Wear Docs, Release 1.1object that contains a golf course hole number and the distances to the front, middle, and back pin locations.The receiv

Pagina 32

Android Wear Docs, Release 1.1NodeApi.GetConnectedNodesResult nodes = Wearable.NodeApi.getConnectedNodes(googleClient).await();for (Node node : nodes.

Pagina 33

Android Wear Docs, Release 1.1}}}}7.1.4 Using Received DataIn this example, a background service receives the data. If you need this data in the UI or

Pagina 34 - 6.2 Example

8.4 Golf Rangefinder Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409 Contact Us 4110 Indices and tables 43i

Pagina 35 - Data Layer DataMap Objects

Android Wear Docs, Release 1.136 Chapter 7. Data Layer DataMap Objects

Pagina 36 - 7.1 First Wearable Data

CHAPTER 8Wearable GPSBy Michael Hahn, March 2015Wearables are great when you are on the go, especially when you are out for a run or looking for desti

Pagina 37

Android Wear Docs, Release 1.1dependencies {compile ’com.google.android.support:wearable:1.1.0’compile ’com.google.android.gms:play-services-wearable:

Pagina 38 - 7.1.3 Add a Data Receiver

Android Wear Docs, Release 1.1// Register listener using the LocationRequest objectLocationServices.FusedLocationApi.requestLocationUpdates(googleClie

Pagina 39 - 7.2 Example

Android Wear Docs, Release 1.18.2 Verify GPS SensorThis simple example works for all wearables, with or without a GPS sensor. Those without GPS must p

Pagina 40

CHAPTER 9Contact UsAndroid Wear Docs415 [email protected]@DroidWearDocs41

Pagina 41 - 8.1 First Wearable GPS

Android Wear Docs, Release 1.142 Chapter 9. Contact Us

Pagina 42 - 8.1.2 Add a Location Listener

CHAPTER 10Indices and tables• genindex• search43

Pagina 43

Android Wear Docs, Release 1.1By Michael Hahn, May 2015What is Android Wear?Android Wear is the Google API for smart watches, Google Glass, and other

Pagina 44 - 8.4 Golf Rangefinder Example

Android Wear Docs, Release 1.12 Contents

Pagina 45 - Contact Us

CHAPTER 1How Does Android Wear Work?By Michael Hahn, December 2014The easiest way to learn how Android Wear works is to install the Android Wear compa

Pagina 46 - 42 Chapter 9. Contact Us

Android Wear Docs, Release 1.1Accept any warning or security messages displayed on either the handheld device or computer.5. Verify that the handheld

Pagina 47 - Indices and tables

Android Wear Docs, Release 1.1Note: The adb executable is located in the Tools directory of your Android SDK. Add it to your path ifnecessary.2. Click

Comentarios a estos manuales

Sin comentarios