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
1
vote
1 answer

WearOS always-on mode not working on device

I'm new to WearOS, I need to develop an activity tracking application. I'm starting from the example provided by Google for Always-on applications. In the emulator everything works fine as can be seen from this trace: 2020-05-27 15:44:11.003…
phcaze
  • 1,707
  • 5
  • 27
  • 58
1
vote
1 answer

I can not upload mobile and watch apk on google play store console

My problem is: I have two APKS Mobile APK(Version name-1.0 , version code - 1 , minsdkversion - 19) Wear APK(Version name-1.1 , version code - 2 , minsdkversion - 23) So first , I publish mobile apk then I publish wear(Watch) apk but i am getting…
1
vote
1 answer

How to change the color of LED lights on the back of smartwatch

I have a weird question here. I'm doing research on using a smartwatch to monitor people's sleep quality. One of my goals is to monitor blood oxygen. I know that most smartwatches today can monitor heart rate by emitting green light and inferred on…
Yifei Xiao
  • 57
  • 4
1
vote
1 answer

Wear OS animation Android

How can i animate a line on a canvas in WearOS every 5 seconds? I know that we have to use an AnimatorTask with a call to postInvalidate(). However since I am directly drawing the line on the canvas, I do not have a View object. public class…
user2511882
  • 9,022
  • 10
  • 51
  • 59
1
vote
1 answer

How to get sleep data DIRECTLY from Wear OS?

I am new to Wear OS development, and am trying to get user's sleep duration. I've managed to get sleep data from other smartbands using raw BLE stack, but I don't know how should I gather sleep data from Wear OS?. I've searched a bit in the web,…
theapache64
  • 10,926
  • 9
  • 65
  • 108
1
vote
1 answer

Create OAuth 2.0 client id page fields are disabled

I'm trying to get an Android Wear watchface set up that gets the number of steps the user has taken. To do that, apparently I have to get the data from Google Fit. Step 3 of that process is getting an OAuth 2.0 client id. I'm following the steps…
huhqwerty
  • 33
  • 5
1
vote
0 answers

Flutter reposition keyboard down

I am having problems with a textfield pop up keyboard not displaying its input correctly on an Android Wear app. I have reduced code to return MaterialApp( home: Scaffold( body: new TextField( keyboardType:…
Ian
  • 13,724
  • 4
  • 52
  • 75
1
vote
2 answers

How to rotate a second's hand watch five times in a second in Wear OS?

I'm developing a watch face and want to rotate the second's hand 1.2 degrees in 1/5 of a second. Why these numbers? 1) 360 degrees / 60 seconds = 6 degress per second 2) 6 degrees / 5 = 1.2 degrees (rotates 1.2 degrees in a fifth of a second). Below…
Pablo Darde
  • 5,844
  • 10
  • 37
  • 55
1
vote
1 answer

Get heart rate sensor data on Android Wear

I am trying to get the heart rate sensor data on my Android Wear device (Moto 360). But I don't know why the TYPE_HEART_RATE is not recognized, and the app says sensor registered: no. Other types like STEP_COUNTER returns yes. What is the…
Tina J
  • 4,983
  • 13
  • 59
  • 125
1
vote
1 answer

Android Wear Sign In

I have a standalone Android Wear app which has a login for in it but I'm finding the process really difficult. I don't want to create a mobile module in my app to request email and password from the user. I also found this which I think explains…
dacastro4
  • 363
  • 6
  • 17
1
vote
0 answers

Socket between C# server and C# client

I'm going to create a socket to send a string from console application server to AndroidWearable client. I use Visual Studio Xamarin, and I never use XML Language. When I click the button nothing happens, How can I improve my program? Part…
matteo c
  • 19
  • 1
1
vote
1 answer

Is it possible to create a project using badlogic(LibGDX) without using their LibGDX project generator?

Pretty much what the title says. If it is not possible, how do I get rid of the 'core' module and other modules[like Desktop, html, and so on]that were automatically generated? I want to get rid of these because they are just taking up space and I…
Slate
  • 15
  • 4
1
vote
0 answers

AcceptDenyDialog not working in API Level 23

I am working for Android Wearable devices, I want to show an confirmation Dialog, Currently i am using AcceptDenyDialog, AcceptDenyDialog perfectly working in After API 23, But oneActionDialog.get().show Showing the warning i.e Call requires API…
1
vote
0 answers

How to implement view pager in Android watch?

The requirement of my watch application is that we need to implement a view pager in it. I have implemented the same in my Android app. In my Android app I am using the following classes: HomeActivity extends FragmentActivity // is of type support…
Pritish
  • 1,284
  • 1
  • 19
  • 42
1
vote
1 answer

WearableListenerService onCreate() never called

A bug has cropped up recently in one of my Wear OS (Android Wear)-enabled apps whereby the Service on the mobile device never reacts when the wearable sends it data. While troubleshooting the root cause, I've noted that the onCreate() method of…
Aaron Hastings
  • 327
  • 2
  • 10