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

Deploy WearOS app from within Android app

I'm currently developing an app mainly for WearOS which needs a phone companion to work. Due to the phone app needing quite powerful permissions (BIND_NOTIFICATION_LISTENER_SERVICE, QUERY_ALL_PACKAGES) I'll not have a good time releasing this on the…
BlazeCodeDev
  • 631
  • 1
  • 7
  • 27
1
vote
0 answers

Failed to transform artifact 'design.aar (com.android.support:design:28.0.0)' to match attributes {artifactType=android-res}

I m building Android wear application but I have this error if I try to compile my application: 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:mergeDebugResources'. > Could not resolve all files for…
bircastri
  • 2,169
  • 13
  • 50
  • 119
1
vote
1 answer

WearOS 3 Hide swipe top guesture, for Quick Settings Panel and use Navigation Drawer

I find out about this problem for my users with the new Wear OS 3. I am trying to forbid to OS from detecting the Top swipe gesture for showing the "System Quick settings panel". Until now in Wear OS 2- devices, it's not allowed to open this system…
Red Coder
  • 107
  • 1
  • 8
1
vote
2 answers

Google Play reject my wear os companion app with crashed when launch on phone

Can anyone help me clarify what does "Your application crashed when launch on phone" means for a wear os companion app? I tested my wear os app on API 28 and API 30, everything works fine. It is just an incremental update, but it keeps getting…
1
vote
1 answer

Unable to install wear OS 4.4 in Android studio Chipmunk

Not able to create wear virtual emulator on Android studio chipmunk. I installed the SDK4.4W from SDK manager. While creating virtual device the desire SDK4.4 not showing in the system image window. Why is that?
1
vote
0 answers

How to perform 'sendKeys' or any keyboard interaction mechanism in a smartwatch(WearOS) through Appium?

I was trying to automate a scenario using Appium, where User will enter something in 'Google Keeps' app installed in a smartwatch (WearOS), which will be synced and validated in 'Google keeps' app installed in a smartphone. While I was trying to…
BongCule
  • 115
  • 1
  • 2
  • 9
1
vote
1 answer

How do Wear OS Tiles update themselve every second?

I have made a tile that should show the current heart rate. The tile gets the heart rate from shared preferences and it works perfectly but I need to refresh it like every second. Currently, I can only refresh it every minute using…
Pezcraft
  • 270
  • 3
  • 15
1
vote
1 answer

How to send data to Android Wear TileService

I don't really know, how to feed my Wear OS tiles with data. Currently, I am experimenting with receiving my heart rate from a BroadcastReceiver, which works but my value is always 0 inside onTileRequest. This is my TileService... public class…
Pezcraft
  • 270
  • 3
  • 15
1
vote
1 answer

App is not visible in Play Store of smart watch in section App in your phone

I have created the application both for Mobile and Watch. But my app is not present in Watch --> Play Store --> Apps on your Phone I have created the signed apk of the watch and kept in the raw folder of the mobile application and then generate the…
Atul Dhanuka
  • 1,453
  • 5
  • 20
  • 56
1
vote
1 answer

Best practice for firebase authorization on Wear OS

I am implementing a firebase realtime database on Wear OS for an accompanying app connected to an Android device and I was wondering what are the best practices for authenticating the user on a wear watch. It is not very convenient to enter a email…
1
vote
1 answer

Android Wear is not opening dial pad via intent

I am working on an android wear project, I am facing an issue while opening the dialing activity via intent. The problem is that Intent is opening the call history instead of the dial pad. Code snippet val callIntent =…
Fazal Hussain
  • 1,129
  • 12
  • 28
1
vote
0 answers

Android Wear RoundedDrawable widget not found

I want to use RoundedDrawable widget, but it is not visible. This is my gradle dependency : implementation 'androidx.wear:wear:1.2.0-alpha09' implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation…
1
vote
1 answer

Migrate a WearOS APK from embedded to Multi-APK - What version code to use to retain mobile APK?

The app has used the embedded wear APK distribution model, but since this distribution method is no longer supported since January, the app has been migrated to use a separate Wear APK. Followed the guides to set the wearAppUnbundled true flag in…
drk
  • 398
  • 4
  • 13
1
vote
0 answers

Wear OS Heart Rate tracker

I want to write a program for Wear OS that records the heart rate daily every 30 minute and store this data in txt file. I tried to use Job Scheduler but it isn't working constantly. In fact it works only once. Which service or API do I have to use…
1
vote
1 answer

CircularProgressLayout not double clicking in Espresso

For an Android Wear app, we use a CircularProgressLayout. Instead of allowing users to cancel their click, we want them to confirm their click within 2 seconds. So, users need to click twice within 2 seconds, to exit the app. We use a nice circular…
Entreco
  • 12,738
  • 8
  • 75
  • 95