First off, the noob video was great.
Next: I have a Galaxy S2 (D710) from sprint running Cyanogenmod 10. I don't think that really plays into the question I have, but just in case. What I am trying to do is launch one app from another. Specifically, I want to launch specific remotes from the "Universal Remote" app from Homeseer's HSTouch app. I am using the full version of Universal remote.
I have had success launching the camera on the phone from HSTouch by following the posts here: "board.homeseer.com/showthread.php?t=154394" (sorry for the lack of a link, I am not allowed to do that yet.)
Universal remote has a widget that can can launch specific remotes. When you set that up, it appears to use something similar to a url to launch the remote. IE: "ur://remote/Relmtech.Basic Input" to launch the basic input remote. I have tried putting this in the launch application dialog with no success. I have also tried any iteration or "Universal Remote" i could think of with no success. I don't know too much about the way that android works, but I assume that there is a "Path" where it looks for applications. When a command is given to run an application, it looks at the locations included in that path for the executable with the given name.. I am thinking that maybe "Camera" and "Calendar" are in that path, which is why they launch when those words are passed as arguments to the HSTouch app. Either "Universal Remote" is not in that path (not likely) or it is called something else (more likely).
So the question: Does anyone know how I can figure out what I need to put into HSTouch as an argument for launching these remotes?
Thanks in advance,
Josh
Quick question, more i read more im confused since im new to wear/android etc.
I've read that niel4052 bright idea topic below pure haxxx but just want to be sure on that matter ...
Currently there's no way to put .apk's / watchfaces run ADB through bluetooth on this watch right.... Or do anything really?
Is there any progress in any way or some method coming in next few months or its rather abandoned watch?
I'm not sure how I did it (and I'm scared to try to recreate it in case I lose it), but I've managed to get bluetooth debugging working while paired with my iPhone. It requires another Android device.
I'm not sure the steps I took exactly, but I think what did it was this:
Paired the device with my Galaxy S2X using the Wear app (like normal), then paired it as a bluetooth device with my iPhone (using the Bluetooth menu in the watch settings)
Enabled ADB Debugging/bluetooth debugging on the watch and in the Wear app, and connected at least once to the shell (so it can authorize and remembers the device ID). Instructions here.
Factory reset the watch, and then paired it using the Wear app on the iPhone
Make sure you do not "Forget" the watch on the Android device!
On the Galaxy, I went into bluetooth devices and the watch was still paired so I tried to connect (the device name matched what the iPhone found it as). I got a pairing request on the watch and accepted it.
In the Wear app on the Galaxy, I went into settings and down to Debugging Over Bluetooth, the Target showed as connected.
Try to connect to BT debugging as normal (as shown above). The Host should now show connected in Wear on the Android phone.
Download and use 'adb -e install' as much as you would like to install APKs!
As a note, obviously any wear app that requires a companion app (Wear Mini Launcher ) won't work properly.
I've synced Google Maps (which works great, and I'm not sure why it's not packaged with Wear for iOS), Calculator, a few games, some more watch faces. It makes the watch a bit more usable!
Those who have been lucky to upgrade to Wear 2.0 have probably noticed the removed Do Not Disturb toggle synchronization between wearable and phone. Some like it, some not. I didn't like it, so I made an app that does the sync. Currently it only works one way: wearable -> phone. With some hacking, sync is working both ways.
You can find the application in Play Store.
Source, builds and setup instructions are available in github and licensed under Apache 2.0.
Installation instructions for Watch -> Phone sync:
Install phone application and wearable application from on-watch Play Store
Launch application on Phone
Click "Grant Permission" button
Enable Do Not Disturb access permission for application
Make sure all 3 checks in the application pass
Installation instructions for Phone -> Watch sync:
Setup watch ADB
Execute:
Code:
adb shell settings put secure enabled_notification_listeners com.google.android.wearable.app/com.google.android.clockwork.stream.NotificationCollectorService:rkr.weardndsync/rkr.weardndsync.NotificationService
Enable state broadcast in Watch Setup wizard
Currently synchronization phone -> watch is only possible by assigning permissions in ADB. Wear OS doesn't provide management settings. As this is not officially supported - it may not work for everyone or the next Wear version.
I love that something like this is now made, but I have a question. What is the first screenshot in the Google Play Store link for? I thought this was only for DND?
I'd like to install it and find out myself, but my ZenWatch 2 still hasn't received the update.
If your watch isn't updated, then the sync should work out of the box. As for the screenshot, I tried to show that the toggle in the watch will sync to the toggle in the phone. I'm not a designer.
Wonderful little utility. Thank you very much.
Fingers crossed to get phone > watch allowed.
I have a few apps that toggle DND via Tasker on my phone, and having it trigger the watch too would be sweet.
Good news and bad news.
The bad: notification access and all the management is unavailable in Wear. So there will not be an official way to make this work (source).
The good: you can grant the permission in ADB. I tried it and the app can actually switch DND on and off (source).
Having to run a single ADB command will probably not stop the brave people of XDA! So synchronization should eventually come to the watch, just give me some time to fix the current bugs.
Bonus news: AudioManager can be used in android <6 for sound modes. Haven't looked into that yet.
Thanks for this app, I miss the functionality!
Sync from phone to watch is implemented and functional! v1.5 is being pushed to the Play Store. You just need to enable broadcast from phone in setup wizard and execute this command in the watch:
Code:
adb shell settings put secure enabled_notification_listeners com.google.android.wearable.app/com.google.android.clockwork.stream.NotificationCollectorService:rkr.weardndsync/rkr.weardndsync.HackService
raimondas.rimkus said:
You can find the application in Play Store
Click to expand...
Click to collapse
Hello!
Not work on Huawei Mediapad X2 (android 5.1.1).
I know: "only Android 6+ is supported"... But, maybe, android 5.1 can be added to?..
Thank you!
If it can help, I can access Do Not Disturb on android 5 through Tasker.
But it is called "Interrupt Mode". It can be found here: http://tasker.dinglisch.net/userguide_summary.html search for "Interrupt Mode".
raimondas.rimkus said:
Those who have been lucky to upgrade to Wear 2.0 have probably noticed the removed Do Not Disturb toggle synchronization between wearable and phone. Some like it, some not. I didn't like it, so I made an app that does the sync. Currently it only works one way: wearable -> phone. With some hacking, sync is working both ways.
You can find the application in Play Store.
Source is available in github and licensed under Apache 2.0.
Installation instructions for Watch -> Phone sync:
Install phone application and wearable application from on-watch Play Store
Launch application on Phone
Click "Grant Permission" button
Enable Do Not Disturb access permission for application
Make sure all 3 checks in the application pass
Installation instructions for Phone -> Watch sync:
Setup watch ADB
Execute:
Code:
adb shell settings put secure enabled_notification_listeners com.google.android.wearable.app/com.google.android.clockwork.stream.NotificationCollectorService:rkr.weardndsync/rkr.weardndsync.HackService
Enable state broadcast in Watch Setup wizard
Currently synchronization phone -> watch is only possible by assigning permissions in ADB. Wear OS doesn't provide management settings. As this is not officially supported - it may not work for everyone or the next Wear version.
Click to expand...
Click to collapse
Thank you so much.
Sent from my ONEPLUS A3003 using Tapatalk
Works perfect!! Thanks!
raimondas.rimkus said:
... As for the screenshot, I tried to show that the toggle in the watch will sync to the toggle in the phone. I'm not a designer.
Click to expand...
Click to collapse
me neither, but maybe this could help?
I'm just curious. What's the difference between this version available in the Play Store (source code available here) and your own? It looks to me as though that blunden may have forked your code.
That's how open source works, you are free to fork it or take it as an inspiration. His code isn't a plain copy paste, it looks like he even has sync to older android versions, which I didn't have time to do.
I can no longer sync both ways after the newest update, v1.6. I can only control DND from both devices from my watch. Anyone else having this problem with v1.6?
Sent from my SM-G955U using Tapatalk
thecarp1975 said:
I can no longer sync both ways after the newest update, v1.6. I can only control DND from both devices from my watch. Anyone else having this problem with v1.6?
Sent from my SM-G955U using Tapatalk
Click to expand...
Click to collapse
The first idea is that app got suspended after the update. Make sure watch app is updated and start the app on phone. I've added a check that will tell you if watch DND permission is granted. If everything passes, then there is probably something weird with the AudioManager. Previous version used the new NotificationManager, but it requires a running service for broadcast events. I've switched to legacy AudioManager that can use a stateless broadcast receiver.
[Edit:] Android 4.3+ support is being pushed. This needed a code refactoring, so bugs are probable.
okk
raimondas.rimkus said:
The first idea is that app got suspended after the update. Make sure watch app is updated and start the app on phone. I've added a check that will tell you if watch DND permission is granted. If everything passes, then there is probably something weird with the AudioManager. Previous version used the new NotificationManager, but it requires a running service for broadcast events. I've switched to legacy AudioManager that can use a stateless broadcast receiver.
[Edit:] Android 4.3+ support is being pushed. This needed a code refactoring, so bugs are probable.
Click to expand...
Click to collapse
Yeah, all three permissions were granted. You wouldn't happen to have the APK for the previous version?
Sent from my SM-G955U using Tapatalk
V1.5 attached.
I would still prefer if you could make a logcat and I could fix the problem for the rest of the people. Just do these steps:
Connect phone to ADB
Enable DND, Disable DND on phone
Enable DND, Disable DND in watch
Run: adb logcat -d > bug_phone.txt
Repeat with watch connected to bug_watch.txt
PM the logs and I may try to fix it. It's not the first time android APIs don't work in specific phones.
Just a quick FYI. Version 1.6 works fine here. Nexus 6 / Pure Nexus 7.1.1 / Magisk root. Huawei watch AW 2.0 7.1.1 stock.
I can start DND from either watch or phone and the other device enables.
It works when I start Sleep as Android; SaS enables phone DND and that enables DND for AW 2.0, then Tasker via AutoWear triggers theater mode on my watch. One step goodness! :victory:
Hello everyone,
I've got an 'error: This device cannot start (Code 10) after manually installing Android ADB Device driver within Window's Device Manager. Android ADB Device is displayed with a yellow exclamation mark. This results in a blank answer after 'adb devices'. In other words: my laptop cannot connect to my watch and thereby I can't install Watch Droid Assistant on my watch.
I really need this app because of it's notification history feature, even after opening the notification (just like the amazfit Bip has)!
And secondly because of the possibility of increasing the font size.
Does anyone know the cause & the solution?
Thanks in advance!
Robert.
P.S. While being a newbie on 'tweaking' the Amazfit Stratos, I've some additional questions:
1. Will installing Watch Droid Assistant void warranty (unlocking the bootloader?)?
2. Are there risks of bricking my Amazfit Stratos (how high?)?
3. Is it (after installling WDA) possible to install additional apps such as a calculator or calendar etc. ? Or do I need Applist?
Used hardware, software and versions:
Watch Droid Assistant (27.03.2018 - version 6.1)
Amazfit Stratos (US version, FW: 2.3.4.0)
Windows 7 Home Premium (SP1 64-bit)
I've used "15 seconds ADB Installer v1.4.3.exe" from XDA website (ADB: yes, system-wide: no, device drivers: yes).
1. Installing WD won't void anything, as with any other APK. Unlocking bootloader will void watch's warranty as soon as you enter the code to unlock it.
2. Almost zero, unless you are very unlucky. Uninstall or a factory reset will remove any apps from watch.
3. You can add other apps, but be aware that the watch has only 512MB of RAM so you don't want to install anything that runs in the background, slowing it down.
As for the drivers, if removing the device and/or forcing a driver refresh doesn't work, you may need to disable driver signature on Win 64-bits (bcdedit /set TESTSIGNNING OFF), something like this:
https://support.microsoft.com/en-us...est-mode-message-that-is-displayed-in-windows
theres an app for receiving messages and theres a thread in this forum about it. look for notifications for amazfit (with a red icon) on the google play store. its nice and simple, allows you to change text size and all. and its very cheap.
last watch and app updates kind of messed it up a little but the devs seem to be very caring and may be already looking for solutions. all in all, its usable now.
Thank lfom
xxxdiegoxxx said:
theres an app for receiving messages and theres a thread in this forum about it. look for notifications for amazfit (with a red icon) on the google play store. its nice and simple, allows you to change text size and all. and its very cheap.
last watch and app updates kind of messed it up a little but the devs seem to be very caring and may be already looking for solutions. all in all, its usable now.
Click to expand...
Click to collapse
watch droid assistant?
thanks
I had a problem with my usb connection on my Pace. Turns out the two pins for the usb connection were corroded. But I managed to install apks (especially Watch Droid assistant), through wifi and ADB commands.
Again, this has been done on an Amazfit Pace, through ADB commands on Linux, specifically on Kubuntu 18.04. I don't have the Stratos, so I don't know if this applies to that watch.
1. Go to Settings - Connection - WiFi and connect to your WiFi network. Now this is important. In order to maintain connection, you have to be in the WiFi tab AND keep the screen on at all times, until you finish the installation (look for an app called Pace-On, for later installations).
2. Find your watch's IP. I did that by looking on my router's connected devices.
3. Open terminal (or CMD) and type adb connect and put your watch's IP. Example:
adb connect 192.168.0.15
4. Type adb devices, to make sure and verify that your device is connected.
5. Type adb install /path/to/apk/application.apk
(Where /path/to/apk/application.apk is the path you downloaded or placed your app) If you get an error or failure of installation (it usually happens when you have an older version of the same app) try to type
adb install -r /path/to/apk/application.apk
Another way is to manually delete the old version app and install the new one. You'll figure it out.
6. Wait for it to finish. When it does, see if the app is installed on your watch. You don't (usually) have to restart the watch, but if you feel that there is a need to do so, then do so.
That's it! Hope it helps.
Hi all,
I want to do Voice Typing through my Android Device to my Windows Machine.
I found an app which works pretty well, called Unified Remote. Pretty well known.
The downside right now is: I always have to use the app, go to "Basic Input", open my Smartphone Keyboard (Gboard) and press the Voice Typing button. This is a long way.
I want to know whether the following is possible either in Unified Remote OR whether you know a similarly app:
I want to create either a widget or a Quick Action in the notification area which does the following on ONE click
It should directly open my default Keyboard app on my smartphone (as said: this is GBoard) directly in voice typing mode.
My goal is a One-Click solution to voice-type through my smartphone to my Windows machine.
Any ideas guys?
Thanks