-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.xml
78 lines (57 loc) · 4.39 KB
/
index.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Yaxel's Blog</title>
<link>http://yaxelperez.github.io/</link>
<description>Recent content on Yaxel's Blog</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Sun, 28 Oct 2018 21:31:58 -0700</lastBuildDate>
<atom:link href="http://yaxelperez.github.io/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Hack: Morse Code Phone Notifications</title>
<link>http://yaxelperez.github.io/posts/hack_morse/</link>
<pubDate>Sun, 28 Oct 2018 21:31:58 -0700</pubDate>
<guid>http://yaxelperez.github.io/posts/hack_morse/</guid>
<description><p><em>Note: This only works on Android.</em></p>
<p>I was too lazy to pull out my phone to read notifications, so I programmed it to vibrate in morse
code. Here&rsquo;s how you could do this too, probably:</p>
<ol>
<li><p>Install <a href="https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&amp;hl=en_US">Tasker</a> and <a href="https://play.google.com/store/apps/details?id=com.joaomgcd.autonotification&amp;hl=en_US">AutoNotification</a> (not free).</p></li>
<li><p>Download and import this <a href="https://gist.github.com/YaxelPerez/a773f8715eb5040f2085bae1832faed9">Tasker profile I made</a>.
Tap &ldquo;profiles&rdquo; and then &ldquo;import&rdquo; in the Tasker app.</p></li>
<li><p>Download <a href="https://gist.github.com/YaxelPerez/563748a1427990a8e7b7189dca7c6e71">this JS script</a>
somewhere onto your phone. (<a href="https://tasker.joaoapps.com/userguide/en/javascript.html">Documentation for the Tasker JS API</a>).</p></li>
<li><p>Tap on the profile and edit the task (right side) so that it can find the .js script. I put mine
in <code>Download/</code> because I&rsquo;m lazy.</p></li>
<li><p>Test the task (press play). It should vibrate &ldquo;SOS&rdquo; in morse code. If it doesn&rsquo;t, StackOverflow
can&rsquo;t help you. Good luck.</p></li>
<li><p>(OPTIONAL) Change the <code>%text</code> variable. I set it to vibrate the first 3 letters of the app that
produced the notification, but you can change it to vibrate anything. (<a href="https://joaoapps.com/variables/">Full list of
variables</a>)</p></li>
<li><p>Go back and configure the AutoNotification Intercept behavior (tap profile, left side) to select
which apps to listen to.</p></li>
</ol>
<p>If you followed all these steps plus some other ones that I forgot, you should now have a new way
to read notifications. In my experience, friends and family will be marginally impressed.</p>
<p>I&rsquo;ve only tested this on a Google Pixel 2. Your mileage may vary.</p>
<h4 id="possible-improvements">Possible Improvements:</h4>
<ul>
<li><p>Increase WPM. I’m not very good at reading morse code so I keep it at ~15 WPM. More experienced
users could probably set it higher, although I’m sure at some point you would reach the physical
limitations of your phone’s vibrate feature. This is set in the .js file, but it should be set in
the task itself.</p></li>
<li><p>Disable the original notification vibration. Right now I have it set to wait 500ms because I couldn’t figure out how to get rid of the normal notification vibration.</p></li>
</ul>
<p></p></description>
</item>
<item>
<title>About</title>
<link>http://yaxelperez.github.io/about/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://yaxelperez.github.io/about/</guid>
<description>Welcome! My name is Yaxel Perez. I&rsquo;m a software devloper and college freshman based in the Bay Area. You can reach me at yaxelp [at] gmail [dot] com.
This blog was made with Hugo. You can find the theme here in case you really like the color beige.</description>
</item>
</channel>
</rss>