[Q] Log touch events script help - Android Q&A, Help & Troubleshooting

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!

Related

WinMobile 6 - Need application for black screen

Hello. I have never written any software...so I cannot do it myself. I don't know whether it already exists or not....in case, I don't think it would be more than 5 minutes work for you people....
What I need is an application (one single .exe) which turns off the screen.
Why do I need this? I recently installed a voice clock (i run the .exe and the voice tells me the time in my earphone). The problem is that when i run the voice clock, the screens turns itself on...turning on also the 4 hardware buttons (i have a HTC TOUCH blackstone). The mobile is usually inside my jacket, in a pocket which is not really comfortable to reach...also because i have often backpacks, or luggage, or i am riding a bike and so on...that's why i just launch the application (voice clock) speaking in the microphone of the earphone set.
Result: i launch the application, screen and buttons turn on for one minute (after one minute there is the automatic switch off)....in that one minute EVERYTHING happens: calls start, application open, sms are being written....everything inside my pocket.
SO
it would be really helpful for me to have an .exe which turns my screen off. I would be then able to launch the voice clock, and then launch the black screen .exe....so that i can avoid that 'inside the jacket' business.
don't think i'm crazy...in my situation this thing is really helpful.
xnView Pocket creates slideshows in exe format... But what you want is to suspend your phone (just making the screen black doesn't work... LMAO).
Mortscript may be of help. Just adapt the following in notepad, save and change the file extension to .mscr. This will launch your clock, wait a minute and put your phone to sleep
Code:
Run("your_clock_exe_or_link_path_here") #you must keep the quotes
Sleep ( 60000 ) #this is 60 seconds but you probably don't need this much
PowerOff
If you need an exe file to lauch it just copy the "autorun.exe" inside the Mortscript setup folder to the same folder as the script, change the name to be the same as the script and assign the new exe to the button you want.
I seriously encourage you (and anyone else with a WinMo) to get familiar with Mortscritp. It's both easy (I'm not a coder either) and extremely useful.
Get QuickShutdown. When use this a long press on power button allows you 'slide to turn off the screen'. I find this useful for same problem as you - except with music player!
How do you run your voice clock without turning on the screen?
Is your voice clock launched every some time?
By the wayn what voice clock do you use? There might be a setting in this program to avoid turning on the screen...
@michoob
i have a voice clock called 'vasquez'. The voice quality is not that much...but i just have to run the exe (through clicking on it or through the voice command to the vasquez.exe) and i get the voice in the earphone (no applications popping up...just the voice. the setup is another .exe which i ran only once to set the right options).
The screen turns itself on whenever you activate the voice command. The clock doesn't have an option to turn off the screen right after the time has been said.
I'll try the solution given by frmariam ....doesn't seem bad, although i didn't really understand it. It looks a bit difficult, if i keep having problems (the ones i said in the first post...that is, everything happening inside my pocket then i'll try that solution.
try mylostblog's myLight. google it. it has this feature in menu where you can turn off screen. it's also a user friendly app to adjust the backlight.
i don't think i would be able to have a voice command to the SCREEN OFF command with that software (you need to click on something inside the menu). thanks anyway.
Ah, ok, so the problem is not directly related to your voice clock, but more to the fact that when you enable the voice command, the screen toggles on.
Which voice command software do you use?
Maybe you could find a way to avoid your voice command software to toggle on the screen?
Otherwise, the MortScript solution can be good, but I wouldn't use the PowerOff function which doesn't only turns off the screen, but actually suspend your device, so you might have unexpected behaviours. For instance, the voice command may not work if your device is suspended... I don't know.
So instead of the PowerOff function, I would rather use one of the solutions proposed here.

Can I create an air gesture command with tasked?

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

On installation: Is there an alternative way to click Next?

Hi
My Nook has only one small area that no longer accepts input, but that area covers exactly the area where the Next button is during installation of a ROM.
Installation screens don't rotate, they start in landscape mode with the N button to the right.
Is there an alternate way to click Next, maybe a way to activate a voice command? Or maybe a way to force the screen to rotate?
Are my only options to either alter the source code to make the Next buttons show up a bit higher on the screen, or to get my screen replaced?
Thanks for all feedback.
WS
whitespiral said:
Hi
My Nook has only one small area that no longer accepts input, but that area covers exactly the area where the Next button is during installation of a ROM.
Installation screens don't rotate, they start in landscape mode with the N button to the right.
Is there an alternate way to click Next, maybe a way to activate a voice command? Or maybe a way to force the screen to rotate?
Are my only options to either alter the source code to make the Next buttons show up a bit higher on the screen, or to get my screen replaced?
Thanks for all feedback.
WS
Click to expand...
Click to collapse
If you feel like messing around, you could try to use ADB on TWRP to pull your /data/data/com.android.providers.settings/databases/settings.db, edit it with SQL, find the value that means rotation and set it to whatever value seems correct (I can't use touch events. ****ty Touchscreen Firmware Flasher app crashed on me and left me with no driver). Sorry if this is very sketchy, but it's all I know off the top of my head. You could also try out other ROMs (I know some do rotate the setup screen) or use MIUI. Cool, but not very useful. I wish someone with the correct knowledge could make a port and us, the ones who only know the hands-on stuff, could beta-test these things... Very nifty.

[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

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