Questions tagged [android-wear-2.0]

Second generation of Google's operating system for smart wearable devices, based on the Android platform.

Android Wear 2.0 is the second generation of Google's operating system for smart wearable devices like wrist watches. It's an extension of , and was released in Spring 2017.

Notable features include a redesign of the system UI, standalone applications, voice recognition using Google Assistant, the addition of watch face complications, and updates to Google Fit.

225 questions
2
votes
1 answer

Duplicate value for resource attr/textSize with Config

I add the wear module into the existing application, and provide the support of another module (that handles the Auth and Network task). When we build, gradle shows the following error: duplicate resource attr/textSize with Config. Our Android…
2
votes
1 answer

Difference between Android Wear 2.0 and SmartWatch Android 5.1

This question maybe a little dumb for everyone, but after reading some of what I found in internet, I'm still confused about the difference of the two specially when it comes to development. The first confusing part is, Which one should I get for…
Polar
  • 3,327
  • 4
  • 42
  • 77
2
votes
0 answers

Android Wear 2.0 - alternative to (deprecated) BIND_LISTENER

I tried really really hard (scanning/trying sample code, reading docs …) but, haven’t been able to figure out how swap out BIND_LISTENER for the new-and-improved CapabilityApi/CapabilityClient scheme. I recently got a Ticwatch E (from kickstarter)…
2
votes
1 answer

Transfer heart rate from smart watch to Android mobile

I would like to send my heart rate measured by SmartWatch to Android mobile. And I want to send that heart rate information to someone else's cell phone. (For example, when a grandfather who wears a wearable suddenly falls down, I want the…
2
votes
1 answer

Curved scrollbar in ScrollView on Android Wear 2.0

Is it possible to have a curved scrollbar like on WearableRecyclerView on ScrollView? How is it done?
A.L
  • 112
  • 9
2
votes
1 answer

When using compile 'com.google.android.support:wearable:2.0.4' I get the error below, but I am not using 26.0.0

When using compile 'com.google.android.support:wearable:2.0.4' (the latest version of com.google.android.support:wearable) in my Wear app's build.gradle file, I get the error below, but I am not using 26.0.0. What should I do? Even if I add compile…
codingjeremy
  • 5,215
  • 1
  • 36
  • 39
2
votes
0 answers

Android Wear 2.0 Settings List Items

I am trying to replicate the menu lists in the settings app on Android Wear 2.0: Since WearableListView is now deprecated, the recommended way to make lists is to use wearablerecyclerview. How can I attach a menu XML resource to a recylerview, and…
mcTronic
  • 21
  • 2
2
votes
0 answers

Firebase Initialized but not able to get token (Xamarin.Android)

I am using Visual Studio 2017, Xamarin 4.5.0.486, Xamarin.Android 7.3.1.2 creating a Wear 2.0 app utilizing FireBase. My code was working fine, but now I'm receiving the following during Initialization: 07-18 11:59:20.453 D/FirebaseApp( 9289):…
2
votes
1 answer

Unread notification count complication in Android Wear 2

I'm developing a series of Android Wear 2 watch faces and apparently I've found a problem I cannot solve. In the images you can see two simple watch faces from Google (I'm sorry I cannot embed images, yet). The first one is from the Google…
2
votes
0 answers

Is Android Wear 2.0's version of SimpleDateFormat broken?

I updated to Android Wear 2.0 today. My watch face, developed by myself, now shows ", 005 14". Before the update, it had said "Sun, May 14". The code which gets the date format: String pattern =…
Hakanai
  • 12,010
  • 10
  • 62
  • 132
2
votes
3 answers

Android Wear 2.0 styled switches

I'm making a watch face for my android wear watch and in the config activity I want a switch. The switch looks like a usual android switch (picture 1) but I want it to look like the new switchs in android wear 2.0 (picture 2). How did google do…
A.L
  • 112
  • 9
2
votes
1 answer

Android Wear detecting wrist tilt in watch face/app

Is there a way to detect the "wrist tilt to wake screen" action WHILE the watch face is active? I would like my watch face to detect this action so that it delays the screen timeout by tilting the watch again (as an example).
Jazzor
  • 21
  • 1
2
votes
0 answers

How to force app chooser on system default voice commands in android wear?

I am working on an Android wear application, which has to launch on saying command "start run" which is one of android wear default commands.Hence, the problem is there are other applications which are listening to the same command intent.The…
Learner_Programmer
  • 1,259
  • 1
  • 13
  • 38
1
vote
1 answer

Wear TileService Layout Component accessibility

Any way can i add accessibility to TileService layout component like LayoutElementBuilders.Text. I can't see any api to set accessibility. Anyone have idea or solution, please help me.
Abu Yousuf
  • 5,729
  • 3
  • 31
  • 50
1
vote
1 answer

What's the use of WearOS "node" parameter in wearAble APIs?

In the code below : Wearable.getMessageClient(applicationContext).sendMessage(node,label,data) What's the point of node parameter ? I am able to send & receive data , no matter what value i use for the node.
Divesh
  • 112
  • 1
  • 6