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
2 answers

Android wear : cannot connect watch over wifi or bluetooth

I am trying to connect android watch with my computer over wifi and bluetooth . I want to nstall the wearable apk on my moto 360 as I am developing watch app. In both cases after the command adb devices it only displays my connected android phone,…
Pritish
  • 1,284
  • 1
  • 19
  • 42
1
vote
1 answer

Error:Failed to resolve: wearable

I have an existing project and when I try to add a wear module to it, the error below is shown. When I create a new project with a wear module it's working. Error:Failed to resolve: wearable and project depends of…
Soham Pandya
  • 386
  • 1
  • 14
1
vote
2 answers

Which is the best way to install apk on Android watch while developing?

I am developing an Android Wear application. As per my understanding I must use Android Wear (mobile app) and install through it to watch. For this we need to build the apk each time and save it in mobile, and install it through the mobile app, so…
Pritish
  • 1,284
  • 1
  • 19
  • 42
1
vote
1 answer

scrollToPositionWithOffset not working with android WearableRecyclerView

I cannot for the life of me get my app to programmatically scroll to a position in a wearablerecyclerview. I've tried the following: Watching for onGlobalLayout and scrolling Adding a button and scrolling when the button was clicked (just in case…
chanban
  • 480
  • 1
  • 4
  • 19
1
vote
2 answers

Android wear packaging and distribution

I'm on my way to upgrade from Wear1.x to wear 2.x. Learnt that wear 2.x apps are no more embedded with companion phone app. So, I decided to generate a new apk for Android wear. Now, I have to test this wear apk release version. We use hockey app…
sha
  • 1,410
  • 2
  • 18
  • 37
1
vote
0 answers

Android Wear Error ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null} when the smartwatch sends data

I'm sending a signal from the mobile app to the smartwatch and upon its reception, the smartwatch generates a signal and sends it to the phone app. The app works fine as long as the phone is the one sending the data but whenever the app tries to…
izSaad
  • 579
  • 6
  • 25
1
vote
0 answers

android wear programmatically bring up app laucher

My Ticwatch E has a single physical button on the left side. I find it very awkward to get to when I'm wearing a long shirt on. Extending your arm to expose the watch face & touch/swipe is much easier. So, I'm trying to add the equivalent of the…
1
vote
0 answers

Distribute apk for android wear

I am working on an app with a wear module, and would like to distribute to some users so they can install it on their devices. The thing is, when I try to generate the release version on Android Studio, I have to build one apk for app and one apk…
allo86
  • 946
  • 1
  • 9
  • 23
1
vote
3 answers

How do you detect when user turns off accessibility service in Android?

I'm developing an accessibility service in Android. I want to disable some functions when the user turns off accessibility service, but I'm not sure how I can detect that. I thought when user turns it off, it will call onDestroy(), but apparently,…
user3415167
  • 1,013
  • 2
  • 13
  • 23
1
vote
1 answer

Can't connect to Google Fitness API on WearOS

I have a problem connecting to the Google Fitness API from a WearOS device. I want to use the watch to record heart rate to Google Fit. I think I have some problem with permissions: I build a FitnessOptions object, listing required datatypes. -…
majTheHero
  • 123
  • 1
  • 13
1
vote
0 answers

Application wear stop and uninstalled automatically by the system

I need to distribute my wear application along with the mobile application. Therefore the apk of the application of the wear will be embedded along with that of the main application and will be installed automatically in device wear…
Sergio Sánchez Sánchez
  • 1,694
  • 3
  • 28
  • 48
1
vote
1 answer

Do standalone Android Wear 1.x apps require a companion app?

I have an Android Wear app (a watchface) that was originally created before Wear 2.0, so it is embedded in a phone APK. I am working on porting it to 2.0, and keeping it backwards compatible. It is standalone and requires zero connection to a…
InsanityOnABun
  • 5,973
  • 5
  • 21
  • 25
1
vote
0 answers

How to request and hold Wi-Fi connection on Android Wear 2.0

In Android Wear 2.0, if the wearable is connected to the phone via Bluetooth, the system will disconnect Wi-Fi connection automatically to save the battery. According to Settings->Connectivity->Wi-Fi->About Wi-Fi When Wi-fi is enabled, your watch…
zhlicen
  • 346
  • 1
  • 10
1
vote
1 answer

Request - Response API for Android Wear 2.0?

How do I implement a request-response protocol for an Android Wear 2.0 app? Scenario: When I tap on a button on the watch, I want it to fetch some data from the phone and display it on the watch's screen. What I tried: I implemented a working…
DogeLion
  • 3,371
  • 5
  • 16
  • 24
1
vote
2 answers

Android Wear: Layout is not displaying properly in Emulator

I'm developing an Android smart watch application. The initial screen appears fine. But, when I go to next screen, the upper part pops up with the name of project something like this. In the below image, Watch is the name of the project. I want to…
Sarvesh Kulkarni
  • 971
  • 3
  • 10
  • 22