Can I create an air gesture command with tasked? - Android Q&A, Help & Troubleshooting

I've done some searching and can't seem to find a profile that use air gesture to perform another tasker command , like say the time when I wave forward over the phone. If anyone could point me in the right direction I would appreciate it. For more info, I have tasker set to turn on utter and smart remote when plugged in. Left to right and right to left cause IR channel back(last channel) to be sent. That is through smart remote plugin. I would like to add speak time on wave up and speak weather on wave down if possible. Then it all powers down when unplugged. Thanks

Related

A little gift for AP 4.0

This is a little program I wrote to make our devices more gesture friendly. First If anyone wants to build on these mort scripts they are more than welcome to all I ask is give credit where credit is due
After you install the cab everything is in the my documents folder and at the moment it will not work in another folder but if this get popular then I might redue it for easy customization.
Directions:
First you have to go into your ftouchflo gesture settings and do as follows
Up-down: \My Documents\down.exe
Down-up: : \My Documents\up.exe
Left-right: : \My Documents\left.exe
Right-left: : \My Documents\right.exe
If you swipe your finger up the brightness will go up by one. Start from the bottom and swipe your finger to the middle of the screen. A little box should pop up and tell you what your new brightness level is. If you swipe your finger up and then swipe your finger from left to right the brightness with go to max. once its at max it will go back to what you had it if you do it again. For Brightness to go down you just do the opposite and for brightness to go all the way down just swipe your finger from top to the middle and then from right to the middle.
For the fun stuff:
If you just swipe your finger from left to right VJVJCandelaLite will come on to turn it off just hit ok or swipe your finger again.
If you swipe your finger from right to left the volume with go from mute to 100% or other way around
It gets better:
If you swipe your finger from bottom to middle then from right to middle it will link the audio to your BT headset to turn it off just do it again.
If you swipe your finger from top to middle then from left to middle you will activate wifi to turn it off just do it again.
NEED TO KNOW
Once you swipe your finger up or down you have 10sec to swipe your finger left or right after that it will go back to the default left and right app also in the cab I put the VJCandelaLite app in the my documents because I was not sure if everyone already has it.
I would have just provided a video but I did not feel you could see what was on the boxes popping up. I hope this is easy to understand if you don’t understand how this works I will post some kind of video. Hope everyone likes.
Up UP
nobody likes?
I have tried. But we all waits for the conifgurater
I see. I was only going to make that if it got popular. the way it is now i made it to suit my needs. and to be honest the conifgurater was going to be for stuff like the choosing the dir or switching around the gestures. but to make it do something different all together i would need to reprogram the scripts. But i will have lots of spare time over the summer since im not taking any classes so my goal is to get better at c# and learn how to program in win CE
Excellent work Irus. Just got a chance to try it and it fits my needs as well. Nice addon for the rom.
irus said:
Up UP
nobody likes?
Click to expand...
Click to collapse
Very well done irus, I love it. A "configurator' will be nice though.
I'll play with it some more and give some feedback later. I wish I was more of a techie to come up with cool stuff like this myself myself
problem is the rom doesnt have ftouchflo. it has htc's touchflo.
Pawel062 said:
problem is the rom doesnt have ftouchflo. it has htc's touchflo.
Click to expand...
Click to collapse
Powel,
Does the HTC touchflo retain the audio feedback when the screen is touched? I could not live with ftouchflo because of the absence of audio feedback,so I had never been willing to use it.

[Q] Log touch events script help

Apologies if this doesn't belong here. I have been searching for a solution for a few days now. A bit about what I am trying to do. I own a Pivos Xios android device. It is a set top box type thing for your tv. Unfortunately my tv is slightly older and is still vulnerable to the screen burning if a static image is left to long. It has no display timeout so none of the screen savers on the play store will work. I started to mess with Tasker to make my own, but there is no way to detect a screen touch event in Tasker to know when to toggle a screen saver.
I am a complete newb when it comes to scripting for android. I took a look at an app called script manager, it looks useful, but doesn't help me much right now. So I wonder if this is possible or not, but what I would like to do is have a script that senses when the touch events happen and then writes to a text file. It doesn't even have to write anything worth a value. Tasker can detect the change in the text file and trigger my screen saver event.
I found out that using getevent -lt /dev/input/event2 in a terminal gives me a nice list of all my touch events. Is there a simple way to use it for what I want? Is there anyone that could give me a code snippet to fulfill my needs? Or at the very least point me in the right direction?
Thanks for taking the time to read!

[Q] Does adroid have a function or library to register "on hover over" with a cursor?

[Q] Does adroid have a function or library to register "on hover over" with a cursor?
some backstory, i'm attempting a rather ambitious carpc project, and the input method (i'm hoping) should be the apple magic touchpad.
its a relatively simple, sleek looking multitouch surface i can mount around the center console to control the tablet.
i'm attempting to add haptic feedback to this system, and that depends on having some method by which the android OS is "aware" when the touch cursor is over an object it can interact with, which would send a signal through some mechanisms to a haptic feedback generator (likely just a little servo that "taps" the backside of the touch pad) to indicate when you've hovering over something.
Lexus does this, or used to to this, with their weird little mouse-like thing, it made it MUCH SAFER to use the device in a car, less need to constantly stare at the screen to see where the cursor is going
so, what are my options here?
hmm, is this perhaps the wrong forum to be asking this question?
woah, leave this for 24 hours and its on page 6? this place moves way faster than i thought

[APP] WearMouse, a Wear OS Air Mouse App

Today I’m going to bring a little bit of magic to your Wear OS watch.
As you know from the earlier post, Android Pie has introduced a new public API for using your Android device as a Bluetooth HID Device (e.g. mouse, keyboard, gamepad, etc.), so I built a simple app that demonstrates one of the possible ways you can use this API. Also, see below for a little surprise regarding compatibility...
So, you have probably already guessed from the title what the app does: it allows you to control the mouse pointer simply by waving your hand. It is compatible with any Windows, OSX, Linux (including Raspbian), Chrome OS, Android (including Android TV) device, as long as it has a Bluetooth radio; no root, no “server” software required. Just launch the app, perform Bluetooth pairing, and then you’ll be able to:
Use it as an intuitive pointer for presentations (and also click through the slides using cursor keys);
Play Fruit Ninja with your arms (e.g. by sideloading it on Android TV, or installing it on a Chromebook from the Play Store);
Control a media player from the sofa (e.g. when using a computer connected via HDMI);
Use it as a VR controller in some Cardboard games to walk around (not for Daydream though, since it has its own controller);
Impress your friends with some telekinetic powers.
Control your DeX-connected phone;
Download
Play Store
Source (Note: the source code doesn't include the Oreo hack)
How to use it
The app features three input modes: air mouse, cursor keys and keyboard input.
The air mouse mode is pretty straightforward. It has two on-screen buttons for left and right click, a top drawer to adjust motion tracking for the way you’re wearing your watch (on your left wrist, on your right wrist, or holding it in your hand like a laser pointer), and a bottom drawer for some extra functions: click and hold (a.k.a. Fruit Ninja mode) and middle click. If your watch is equipped with a rotating crown, you can use it for scrolling as well.
The cursor keys mode is simple enough: tap on the sides of the screen to trigger corresponding keys, double-tap in the center to trigger the Enter key, long-press to quit, and there are also swipe gestures for Escape, Backspace, Space and Tab keys.
Finally, the keyboard input mode allows using either an on-screen keyboard, or voice input. Note, though, that the text you’ll see entered on your connected device depends on your keyboard layout. Only US English is supported at the moment (I can add some more, but that will require you to manually switch the layout both in the app and on the device every time).
If your watch has some extra keys, you can use those to quickly switch between the input modes.
There are also some settings available. You can choose to stabilize the pointer movements (this will smooth out smaller motions like hands shaking), enable diagonal movements for the cursor keys (which is useful for those Cardboard games), or reduce the data rate (which is helpful when you use the app with some older Nougat-based Android TV box, and the mouse pointer just can’t keep up).
A word on compatibility.
Like I said, the API was made public in Android Pie, but (as a belated Christmas present) the app will work on any watch running Oreo as well. That is, when reboot your watch, and after the trippy dots animation you see a big colorful “W” and “Wear OS by Google” instead of the “Android Wear” logo, you should be fine. The API was introduced in Oreo, and it was a bit different (and also hidden) at the time, but before Pie is was only enabled on watches by default. There is a way to enable it on phones as well, but it requires root.
A few tips for troubleshooting.
If you connect and see that the mouse pointer is moving once per second in a really janky way, try turning Airplane mode on your watch on and off, and then reconnect. Looks like there is some occasional issue with power management in the Bluetooth stack…
If you want to adjust the “sensitivity”, please look for the pointer speed setting on the connected device, not in the app itself.
If you are using the app with a device that is connected to a TV, you’ll probably want to switch your TV to the “Game” picture mode. This should turn off any post-processing that may cause a lot of lag on modern TVs.
I also recommend turning off wrist gestures in your watch’s settings when you use the air mouse mode, otherwise there’s a high chance of triggering the “back” or “go home” gesture.
This looks great!
By chance is it possible to have an app that connects to the computer and when it disconnects it locks the PC!
c_86 said:
By chance is it possible to have an app that connects to the computer and when it disconnects it locks the PC!
Click to expand...
Click to collapse
Depends on what you mean.
If you want to make an app that sends Win+L (or Ctrl+Alt+L) when you press "disconnect" on your watch (or maybe connects, sends the key press, then immediately disconnects), then it should be easy enough to implement.
If you mean that the PC should lock itself when your watch disconnects (e.g. goes out of range), then obviously you'll need to have something on your computer to do that. Then again, Windows 10 has a feature called Dynamic Lock that does something similar based on your phone nearby presence.
Idea - Does it possible to implement the same functionality for Smartphone with Android 8? And after that to create Wear app for smartwatches with lower Android version, where the new API is missing - it will act as a remote for the companion app on the smartphone
bobybc said:
Idea - Does it possible to implement the same functionality for Smartphone with Android 8? And after that to create Wear app for smartwatches with lower Android version, where the new API is missing - it will act as a remote for the companion app on the smartphone
Click to expand...
Click to collapse
So, you mean, use a phone connected to a computer (or a TV, our whatever) using this API, then stream motion data from the watch using the phone as a proxy?
Technically it's possible, I wonder what the latency would be though.
Also note that a phone running Android 8 has to be rooted to do this (unlike watches), whereas Android 9 should just work.
Yea, you're right for the lag...
Then i think that it will be useful to have app with the same functionality for a smartphone
Sent from my SM-N960F using Tapatalk
bobybc said:
Yea, you're right for the lag...
Then i think that it will be useful to have app with the same functionality for a smartphone
Click to expand...
Click to collapse
It's not just lag, but power consumption as well.
This API makes use of the low-power mode of the Bluetooth radio called Sniff Sub-Rating (SSR) specifically designed for sending rapid bursts of tiny data packets, whereas watch-to-phone connection would have to be fine in a more generic way.
Making a phone app is really easy, you can pretty much use the same source code, with a few simple changes (mostly deletions). The Android Pie upgrade for your Note 9 is going to arrive pretty soon, which will allow you to experiment with it all you want.
I need the apk since I have a Moto 360 1gen so & cannot look at it on Googleplay

Maximizing Wear OS with Automagic

Maximizing Wear OS with Automagic​
Wear OS has been so underrated. This xda Subforum is not as active as other. I think it is partially because most Wear OS powered watch have bad battery life and typically much more expensive than the proprietary OS powered watch.
I bought Ticwatch E in April 2019, and it has been 4 months when I typed this. I initially regret that the battery life is way worse than I thought. I have to charge every day. My previous Mi Band 2 can last for 3 weeks before charging, but of course that is not on the same level as Wear OS. But I don't regret it anymore after the first week, once I discovered many things I can do with it when paired with Automagic. I have reached the point of no return to any non-Wear OS watch.
During the next several months after I bought it, I have built several flows to extend the functionality. Below are the list of things I have done with the watch. Most of the usages use Automagic and the companion app installed on the watch. Hopes these help other to see the potential of Wear OS and at least give some reasons so Google don't kill it one day.
1. Extend Automagic Shortcut
Automagic has shortcut on the watch to execute flows on the phone. I immediately see the extension of Widget to increase menu count of Automagic shortcut. So I use Shortcut to show widget with 3x3 buttons. Each button press corresspond to execute another flow/command. This immediately extend the number of shortcuts available dramatically. I can still add long press, double click, and swipe in all 4 directions. But for now click is enough. The widget shown is my first widget design, so still quite ugly.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Camera Control
Copied from the 3x3 widget menu, I use it for Camera control. Coupled with Control UI, I can control the camera menu for any camera app. In my case, of course I prefer GCam (Google Camera). GCam companion app is not working here, maybe because I am using GCam Mod (since I don't use pixel phone). Hence I have to recreate it, and extend the function beyond simple shutter button. I can use my watch to capture (shutter button), zoom in/out, exposure inc/dec or 0, toggling timer, switch to night mode and view last photo. I can also create a custom timer, but it is not necessary in my case. I also can use it to start my other flow, to capture 4 images of GCam comparison. (HDR off, HDR+ on, HDR+ enhanced on and Night Sight)
3. Photo Viewer
Using the same widget concept, I can show any photo at any time. This can be use to view photo in certain folder, with the widget action to navigate to next/prev photos. It can be used to show your love one, for misdirection (showing fake clock time), or just a simple photo viewer.
4. Remote Photo Surveillance
Widget as photo viewer can be extended further. In another flow, I create a flow with looped camera capture and then set the captured photo to the widget. This create a timelapse photo from the phone. Constant action turn on screen will keep the watch screen awake. I can place my phone somewhere nearby and create an instant surveillance device. Unfortunately, the speed of the capture and set image to the widget is limited by the communication speed between phone to watch. It only shows new photo every 2-3 seconds, which is very choppy.
5. Remote Video Stream Surveillance
Extending the looped camera capture idea, I found out that I can stream the camera directly using IP Webcam for android (using Android Camera as IPCam). Then use the companion app of TinyCam Monitor at the watch to view the stream. All can be controlled directly from the watch, since IP Webcam support automation too, so I can start the stream using Automagic. This mode of streaming is much better for surveillance as it can reach about 15 fps, which is way better than 1/2 to 1/3 fps using the widget mode.
6. Secret Camera Capture / Audio recording
Implementing the same idea from the camera control, I combine it with my secret camera capture. Now I have widget to secretly take front/back photo from the phone. I also add another button to start/stop recording audio. This all happen without touching the phone, without any interface/unlock the phone. The widget itself is transparent, making it perfect secret buttons.
7. Remote input/typing
Since there is limited method to type from the watch, I create notification to input the text. The default google keyboard is so small, but at least can be used to type 1 or 2 words when noting down some code or label, and I can't reach for the phone easily.
8. Note Viewer
At times, I need to have notes to view. Under certain circumstances, it is not convenient/safe to pull out the phone. I can risk dropping the phone, left it unattended or maybe get wet during rain. I create several small notes holder at the widget. So at any time, I can simply tap the shortcut widget 3x3 and it will show me the notes. I can long press and it will popup into notification which I can scroll (in case the note is too long). I can even add action at the end of the notification to do certain things, example : copy the note and send it to certain number/email, mark it as done (so deleted from place holder), or to create reminder for it in another 1-2 hour.
9. Speech Input Trigger
Automagic companion app support input speech dialog. But it requires to press the mic icon again to start recognition and another confirm button to send the recognized words to the phone. I have already speech project flows at my phone, so I just use the similar widget menu to trigger multiple mode on my phone. I have multiple language mode, one time/continous mode, visual feedback option, hotword mode and many others. The recognition still happen on the phone, but I can control the mode directly from the watch. Example, I can press 1 button to trigger recognition in Indonesian and continuous mode (repeating recognition until I stop it), or maybe another button to trigger recognition in English, one time, with feedback and can be retriggered again using hotword.
10. Charging Notification Sound
My Watch sometimes don't get charge properly. And I have also uninstalled the default ticsystem which provide charging animation. So I simply replace it with notification sound when my watch is charged and another sound when disconnected. I then save the battery level when disconnected and create notification to calculate the average %/hour used when I charge it again later. This helps me to track the average battery usage per charge.
11. Language Learning
I keep learning new language, even english. I have been watching movie, playing games, read ebook/news and note down those unusual vocabulary. Although I already have a time logger flow to track my learning time (at least 30 minutes/day), I thought of more immersive learning all day long, not just during my learning session.
I create a flow to parse the vocabulary csv exported from the dictionary favourites note. From other source, I also extract the data from google translate per translation. Then separate the keyword and translation, marking them with each frequency tag. All words start at 0. At certain interval (1 hour during work hour, and 1/2 hour after work hour), it will take 3 of the lowest frequency words, set the word and meaning at the widget and show it at my watch. Pressing the button to denote I am OK, increase the frequency tag (to make it show less frequently), or pressing review to repeat the word again next time (without increasing the frequency tag). I can also tap next to continue learning next words, or I can suspend it for several hours if I am in a meeting.
This helps me to stick the vocabulary in more frequent interval. I can spare 10-15 seconds per hour (or half hour) to keep learning rather than just a long learning session at the end of the day. I can also learn while waiting something, without having to pull out my phone (when the condition is not appropriate/risky).
12. Reminder to Speed up
I ride motorcycle to work, sometimes I drive fast, sometimes slow. At times, because of thinking something while driving slowly, I can be almost late to the office. I have to look the watch to know if I am late or not, which sometimes can be risky. To minimize the risk, I create several checkpoint between home and office, mark the coordinate and approximate time needed to get to the office. Once I leave home, Automagic will start to check my location periodically. It will calculate the distance to the nearest checkpoint. Add current time with the time needed to find if I will be late at current speed. If It will be late, it will vibrate my watch twice long pattern. So I know I have to speed up to catch the time.
13. Home Automation
The 3x3 menu I have can be used to control Home Automation device. Yeelight have companion app, but it can only turn on/off the bulb. Using widget, I can create extra button, coupled with the color or brightness or colorflow. I can have much more option to control the light. I can hook it up with sonoff switch later, after I have flashed tasmota.
14. Extension to other flows
There are still a lot of other wonderful things I can do with the shortcut. Most of them extended from the widget 3x3 menu I have created. Some thoughts and examples :
a. Send certain message when on the way already, or share location via Whatsapp.
b. Save current location with timestamp to log
c. Play songs, or certain sound loudly. Can be for prank, finding the device when hidden by friends or certain situation
d. fake a call/sms to escape from awkward/uncomfortable situation.
e. Controlling PC through eventghost.
f. showing various widgets at the watch
I don't use all the function above daily, only some are more frequently/routinely used. For example, the speech input trigger is very good for showoff, but not so practical for my daily usage case. Some of them are still Work in Progress. But at least those function are there when I need it.
For some who might be interested on how I can do above things, of course the answer is mostly Automagic. Automagic is Automation app just like tasker. It uses flow style to design the flow (similar to task in tasker). I have switched to Automagic 2 years ago and never look back anymore. Those above maybe can be replicated in tasker, but of course don't ask me how to do it using tasker. But if you are using Automagic too, I can show how I create the flows. Unfortunately I can't simply share the flow without any explanation. As each flows are designed to my own need and may linked to each other. Sharing all of them at once will just create confusion and possibly leak out some of my private data.
Hopes this inspire you to maximize your Smartwatch. Long live Wear OS!!!
Really great features for wear os, but where is the link to download automagic, i can not find on google play (both phone and watch)
huylv177 said:
Really great features for wear os, but where is the link to download automagic, i can not find on google play (both phone and watch)
Click to expand...
Click to collapse
It is paid app in playstore : Automagic * Automation
Not my app, I am just one of the happy user. The companion watch app is free, can be installed after you have installed the main app. You can go to your watch's playstore and install it from the "App on your phone".
You can try the evaluation version directly from the website, before deciding further. You can visit the index tutorial I have summarized at my post's signature. Since we don't have the subforum for Automagic here in xda (it will be great if we can have it), you probably need to visit the Automagic forum for more information. I am active there too.
Can it be possible that while travelling, I can use wear OS supported watch to show me the distance remaining to the destination?
Jayraj Zala said:
Can it be possible that while travelling, I can use wear OS supported watch to show me the distance remaining to the destination?
Click to expand...
Click to collapse
Yes, in Automagic you can init the location and then calculate the distance between current location to the destination. But the distance calculated this way is straight-line distance, actual road distance may be longer, as you need to turn or curve. You can then show the distance in a widget. Then use periodic timer/location to recalculate and show the latest distance.
Look, I know you said that you are a user, not the dev, but it's just killing me; I have to ask.
Everything about your post absolutely screams (to me) Dev re-works advertisement into use-case posing as user.
So, come on, level with me. It's actually a compliment if I'm right. It would be a very clever and enterprising marketing conceit: scouting out use cases for your utility, constructing a guide tailored to that use case, and posting in sub-forums as a helpful "user."
Please don't screw with my reality and make me doubt myself if I'm right, that would be the biggest **** move in the universe. Just say "got me!"
(or you can DM me, that's fine too.)
ha7msterx said:
Look, I know you said that you are a user, not the dev, but it's just killing me; I have to ask.
Everything about your post absolutely screams (to me) Dev re-works advertisement into use-case posing as user.
So, come on, level with me. It's actually a compliment if I'm right. It would be a very clever and enterprising marketing conceit: scouting out use cases for your utility, constructing a guide tailored to that use case, and posting in sub-forums as a helpful "user."
Please don't screw with my reality and make me doubt myself if I'm right, that would be the biggest **** move in the universe. Just say "got me!"
(or you can DM me, that's fine too.)
Click to expand...
Click to collapse
Thanks for the compliment. It means I really use the app to my own full potential. But for the sake of logic, the one who accuse something should provide the proof first. The burden of proof lies on the one who made the claim. While it maybe normal to suspect such kind of thread explaining certain app, but at least quote my other posts or xda portal comment, try to find something else (outside of this thread) that can support the claim.
Even though I don't have to prove anything to you, I just elaborate here to clarify my position as a user. This way I don't have to explain it everytime. As some users in Automagic forum also mistaken me as the dev, just because I am quite active there. While in fact, I even never know/meet the dev himself in person. He lives in Germany, while I live in Indonesia.
I have been using tasker since 2014, anyone can track my post in the kaskus forum, tasker thread : https://kask.us/hEXs0. If you google my name, the first/second link should be my kaskus profile.
You can see how I also support and help others in tasker too. Automagic has been there since 2011, so why I should use tasker again if I am the dev? If I am the dev, I should be posting about Automagic in every tasker post I made there. In fact, the starting point I post about Automagic is only after I started using it. (check the post date)
Around mid 2017, I switched to Automagic. I was really excited, I share it everywhere, to the point some other tasker users got annoyed too. (ask Mishaal Rahman from xda portal about it)
I compared the experience between Tasker and Automagic. You can read Tasker vs Automagic comparison here : https://automagic4android.com/forum/viewtopic.php?f=6&t=6809
I even created local thread in kaskus too : https://kask.us/iqTnO
There is a post just to document my process of switching from tasker to Automagic. But the posts in kaskus are using Indonesian informal language, it might be difficult to google translate it.
For this thread, I created it first in kaskus - All about Android Wear : https://www.kaskus.co.id/show_post/...75f/750/memaksimalkan-wearos-dengan-automagic
I take the pictures link, since I don't know why I can't post them directly in xda. If I am the dev and the purpose is to promote my own app, I am so bad at it, that I only create this thread for such a long time interval. I should have spammed the forum with more thread instead.
This thread's purpose is not just for sharing, but the main one is to request other WearOS feature to Automagic's dev, Martin, in the Automagic Forum : https://automagic4android.com/forum/viewtopic.php?f=4&t=8184
To make such a long request, I feel obliged to give something in return too. I also need to explain the stand point of why I need the features I requested. Hence I created the thread first before making the requests. Why the heck I should request feature to "myself"? Wouldn't it be easier to just announce the new feature directly? Until this post is made (almost 4 months then), none of those requests have been implemented yet. Not even the newer Automagic version released in the playstore. If I am the dev, I am so bad at creating a scenario like this. I should create the request and fulfilled the requests in such a short period to make it seems very responsive.
I can share this thread link to other so they can know the full potential of WearOS, while helping to promote Automagic in indirect way. I want the app I love and benefit from, to get more users, so the dev can continue the work. The same I have been doing for other apps too, example : MiXplorer, which I switched to it around the same time I switched to Automagic. I post it everywhere, in kaskus, xda, also in Automagic forum (you can search my post there). Does that mean I am the dev of MiXplorer too?
The other purpose is to document it earlier, so in case Google try to kill WearOS, I already have a lot of reasons to put to their face.
If those above are not enough proof of my position, there are still other ways you can verify. And you should give stronger (counter) proof otherwise. But I just leave it to anyone who read this post.
Desmanto said:
Maximizing Wear OS with Automagic​
Wear OS has been so underrated. This xda Subforum is not as active as other. I think it is partially because most Wear OS powered watch have bad battery life and typically much more expensive than the proprietary OS powered watch.
I bought Ticwatch E in April 2019, and it has been 4 months when I typed this. I initially regret that the battery life is way worse than I thought. I have to charge every day. My previous Mi Band 2 can last for 3 weeks before charging, but of course that is not on the same level as Wear OS. But I don't regret it anymore after the first week, once I discovered many things I can do with it when paired with Automagic. I have reached the point of no return to any non-Wear OS watch.
During the next several months after I bought it, I have built several flows to extend the functionality. Below are the list of things I have done with the watch. Most of the usages use Automagic and the companion app installed on the watch. Hopes these help other to see the potential of Wear OS and at least give some reasons so Google don't kill it one day.
1. Extend Automagic Shortcut
Automagic has shortcut on the watch to execute flows on the phone. I immediately see the extension of Widget to increase menu count of Automagic shortcut. So I use Shortcut to show widget with 3x3 buttons. Each button press corresspond to execute another flow/command. This immediately extend the number of shortcuts available dramatically. I can still add long press, double click, and swipe in all 4 directions. But for now click is enough. The widget shown is my first widget design, so still quite ugly.
2. Camera Control
Copied from the 3x3 widget menu, I use it for Camera control. Coupled with Control UI, I can control the camera menu for any camera app. In my case, of course I prefer GCam (Google Camera). GCam companion app is not working here, maybe because I am using GCam Mod (since I don't use pixel phone). Hence I have to recreate it, and extend the function beyond simple shutter button. I can use my watch to capture (shutter button), zoom in/out, exposure inc/dec or 0, toggling timer, switch to night mode and view last photo. I can also create a custom timer, but it is not necessary in my case. I also can use it to start my other flow, to capture 4 images of GCam comparison. (HDR off, HDR+ on, HDR+ enhanced on and Night Sight)
3. Photo Viewer
Using the same widget concept, I can show any photo at any time. This can be use to view photo in certain folder, with the widget action to navigate to next/prev photos. It can be used to show your love one, for misdirection (showing fake clock time), or just a simple photo viewer.
4. Remote Photo Surveillance
Widget as photo viewer can be extended further. In another flow, I create a flow with looped camera capture and then set the captured photo to the widget. This create a timelapse photo from the phone. Constant action turn on screen will keep the watch screen awake. I can place my phone somewhere nearby and create an instant surveillance device. Unfortunately, the speed of the capture and set image to the widget is limited by the communication speed between phone to watch. It only shows new photo every 2-3 seconds, which is very choppy.
5. Remote Video Stream Surveillance
Extending the looped camera capture idea, I found out that I can stream the camera directly using IP Webcam for android (using Android Camera as IPCam). Then use the companion app of TinyCam Monitor at the watch to view the stream. All can be controlled directly from the watch, since IP Webcam support automation too, so I can start the stream using Automagic. This mode of streaming is much better for surveillance as it can reach about 15 fps, which is way better than 1/2 to 1/3 fps using the widget mode.
6. Secret Camera Capture / Audio recording
Implementing the same idea from the camera control, I combine it with my secret camera capture. Now I have widget to secretly take front/back photo from the phone. I also add another button to start/stop recording audio. This all happen without touching the phone, without any interface/unlock the phone. The widget itself is transparent, making it perfect secret buttons.
7. Remote input/typing
Since there is limited method to type from the watch, I create notification to input the text. The default google keyboard is so small, but at least can be used to type 1 or 2 words when noting down some code or label, and I can't reach for the phone easily.
8. Note Viewer
At times, I need to have notes to view. Under certain circumstances, it is not convenient/safe to pull out the phone. I can risk dropping the phone, left it unattended or maybe get wet during rain. I create several small notes holder at the widget. So at any time, I can simply tap the shortcut widget 3x3 and it will show me the notes. I can long press and it will popup into notification which I can scroll (in case the note is too long). I can even add action at the end of the notification to do certain things, example : copy the note and send it to certain number/email, mark it as done (so deleted from place holder), or to create reminder for it in another 1-2 hour.
9. Speech Input Trigger
Automagic companion app support input speech dialog. But it requires to press the mic icon again to start recognition and another confirm button to send the recognized words to the phone. I have already speech project flows at my phone, so I just use the similar widget menu to trigger multiple mode on my phone. I have multiple language mode, one time/continous mode, visual feedback option, hotword mode and many others. The recognition still happen on the phone, but I can control the mode directly from the watch. Example, I can press 1 button to trigger recognition in Indonesian and continuous mode (repeating recognition until I stop it), or maybe another button to trigger recognition in English, one time, with feedback and can be retriggered again using hotword.
10. Charging Notification Sound
My Watch sometimes don't get charge properly. And I have also uninstalled the default ticsystem which provide charging animation. So I simply replace it with notification sound when my watch is charged and another sound when disconnected. I then save the battery level when disconnected and create notification to calculate the average %/hour used when I charge it again later. This helps me to track the average battery usage per charge.
11. Language Learning
I keep learning new language, even english. I have been watching movie, playing games, read ebook/news and note down those unusual vocabulary. Although I already have a time logger flow to track my learning time (at least 30 minutes/day), I thought of more immersive learning all day long, not just during my learning session.
I create a flow to parse the vocabulary csv exported from the dictionary favourites note. From other source, I also extract the data from google translate per translation. Then separate the keyword and translation, marking them with each frequency tag. All words start at 0. At certain interval (1 hour during work hour, and 1/2 hour after work hour), it will take 3 of the lowest frequency words, set the word and meaning at the widget and show it at my watch. Pressing the button to denote I am OK, increase the frequency tag (to make it show less frequently), or pressing review to repeat the word again next time (without increasing the frequency tag). I can also tap next to continue learning next words, or I can suspend it for several hours if I am in a meeting.
This helps me to stick the vocabulary in more frequent interval. I can spare 10-15 seconds per hour (or half hour) to keep learning rather than just a long learning session at the end of the day. I can also learn while waiting something, without having to pull out my phone (when the condition is not appropriate/risky).
12. Reminder to Speed up
I ride motorcycle to work, sometimes I drive fast, sometimes slow. At times, because of thinking something while driving slowly, I can be almost late to the office. I have to look the watch to know if I am late or not, which sometimes can be risky. To minimize the risk, I create several checkpoint between home and office, mark the coordinate and approximate time needed to get to the office. Once I leave home, Automagic will start to check my location periodically. It will calculate the distance to the nearest checkpoint. Add current time with the time needed to find if I will be late at current speed. If It will be late, it will vibrate my watch twice long pattern. So I know I have to speed up to catch the time.
13. Home Automation
The 3x3 menu I have can be used to control Home Automation device. Yeelight have companion app, but it can only turn on/off the bulb. Using widget, I can create extra button, coupled with the color or brightness or colorflow. I can have much more option to control the light. I can hook it up with sonoff switch later, after I have flashed tasmota.
14. Extension to other flows
There are still a lot of other wonderful things I can do with the shortcut. Most of them extended from the widget 3x3 menu I have created. Some thoughts and examples :
a. Send certain message when on the way already, or share location via Whatsapp.
b. Save current location with timestamp to log
c. Play songs, or certain sound loudly. Can be for prank, finding the device when hidden by friends or certain situation
d. fake a call/sms to escape from awkward/uncomfortable situation.
e. Controlling PC through eventghost.
f. showing various widgets at the watch
I don't use all the function above daily, only some are more frequently/routinely used. For example, the speech input trigger is very good for showoff, but not so practical for my daily usage case. Some of them are still Work in Progress. But at least those function are there when I need it.
For some who might be interested on how I can do above things, of course the answer is mostly Automagic. Automagic is Automation app just like tasker. It uses flow style to design the flow (similar to task in tasker). I have switched to Automagic 2 years ago and never look back anymore. Those above maybe can be replicated in tasker, but of course don't ask me how to do it using tasker. But if you are using Automagic too, I can show how I create the flows. Unfortunately I can't simply share the flow without any explanation. As each flows are designed to my own need and may linked to each other. Sharing all of them at once will just create confusion and possibly leak out some of my private data.
Hopes this inspire you to maximize your Smartwatch. Long live Wear OS!!!
Click to expand...
Click to collapse
Is music control available with this app? Thanks!
richarshub said:
Is music control available with this app? Thanks!
Click to expand...
Click to collapse
What is your WearOS device? If you have installed Wear OS app at your phone and at the smartwatch, you should already have media control built-in. You can ensure it is enable at the Wear OS app at phone > advanced settings > Autolaunch media controls. Once you play some music at your phone, your quick setting should have the media player notifcation. And if you enable the autolaunch, your watch screen should be showing the songs being played, the play/pause, next, prev and volume control button. You still have to start the music playing from the phone though. That should be enough for most users.
But if you need more, such as starting the music directly from the watch, then yes, you have to use other app. (in this case, Automagci) Automagic has the action Control Audio Player. You can assign a shortcut or widget tap to send the media button event, from play/pause, next, prev, fast forward, rewind, stop and many other. You can also change the volume and maybe play particular songs. I design some widget to allow me to play certain sound effect for certain occassion.
But it takes some time to setup everything and maybe too hassle for most users. Check out if the media control above is enough for you.
ok I have read this so many times because when we ask how to put the damn thing on the watch some idiot always puts the ling to this LONG AND POINTLESS ****.
So you see, we want to be able to use automagic on our watch but we have someone saying I did this and I did that WITHOUT GIVING THE APP OR DIRECTIONS HOW TO MAKE IT WORK. USELESS THREAT!!
Does ANYONE ELSE have something to say about how to put automagic on the watch?
I have Galaxy Watch4 Classic (SM-R890) and I want automagic on it so the first flow I create and work (because I already have flows but only on the mobile. They don't connect with the watch to make it work) is THE BATTERY one!!
If anybody has a solution to this problem, I would like to see a post WITHOUT repeating the long post at the top of the threat!!
Thanks to all who have read this and to the star who will give us a solution!!

Categories

Resources