03 April 2021

New version of Click to chat (V 3.1.1) + new addon version (V 1.3)

V 3.1.1
- Fixed crash on startup

Addon:
- Fixed an incompatibility with the Click to chat Donation version.



Just a quick crashfix for a relatively common crash with the new prefix indicator.

Also, I just discovered why people were having issues while using the addon in the donation version. If you experienced such problems please update the addon to version 1.3.

26 March 2021

New version of click to chat (V 3.1)

V 3.1
- Moved buttons to the top of the input textboxes
- The prefix selector now shows the matching country
- Translation updates

[Edit: a new version was released to update a missing translation]



This update brings a feature (dynamic country indicator) that I wanted to make since I added the prefix selector in one of the first versions. Until now I wasn't sure how to implement it, and although I'm not sure that the way I finally did it is the best, it should work nonetheless (yay!). 

I hope that being able to check the country will help for those users that forget about it, or have it wrong, and it should also allow me in the future to implement better prefix detectors. But that's for another occasion.

Due to the need to have a bigger prefix button (to display the whole country) I decided to finally move all the buttons above the input textboxes. This also means more space for the numbers, which is something some users have requested.


By the way, does someone know why my Average data usage widget app suddenly have a 2000% more installs in the recent weeks??? According to the Play Store practically all of them are from India, so I suspect someone made a review or something (if so: thanks!!), but I wasn't able to find anything. If you know something about this please tell me as I'm genuinely interested!

02 February 2021

New version of Click to Chat (V 3.0)

V 3.0
- New openable mode selector: includes the previous alternate mode, the experimental jid mode and a new sms mode
- Updated list of country codes
- Internal tweaks and fixes (including autoopen checkbox not displaying correctly)



Finally! A new version! but keep in mind it will probably stay as beta for a week or so.

Originally it was going to have only the updated list of country codes (lots of missing ones, and also internally they are saved in a slightly improved format now) but I managed to add the selectable opened mode too.

Previously there was a checkbox for an alternate mode, and also an experimental mode that I made to try to allow the Samsung dual messenger. Now you can choose between them in an easier way (careful with the experimental mode), but then I also added a new sms mode, which may or may not work with other social apps (including signal, which is a highly requested petition but I don't think they allow it), you can try it now yourself. This is a pretty big change, so I decided to set the version to 3.0.

Oh, and I also enabled the beta for the donation app too, it is the same as the non-donation, as it is explained in the description, but now you can also help me testing these new versions that way if you want.

14 January 2021

New app: isUserAMonkey & isUserAGoat [curiosity]


Play Store: https://play.google.com/store/apps/details?id=com.trianguloy.isUserAMonkey

Github: https://github.com/TrianguloY/isUserAMonkey


New app!

This is just a small interactive curiosity. Did you know that in the Android SDK there is a function called 'isUserAMonkey' and another called 'isUserAGoat'?

https://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey()
https://developer.android.com/reference/android/os/UserManager.html#isUserAGoat()

With this app you can test them and learn a bit about their purpose.

The more you know.


[The monkey emoji in the icon was extracted from the Noto Emoji font (https://www.google.com/get/noto/help/emoji/).]

11 December 2020

New version of Click to chat (V 2.13.1)

V 2.13.1
- Updated translation to Brazilian Portuguese locale. Many thanks to mezysinc!
- Tweaked calls addon detection



Oops, I forgot to notify about this update.

It's just a full update of an existing translation. Also contains a simplification in how the addon is detected, because a user reported they couldn't use it with the donation version, and even though the code is exactly the same for both apps I noticed I was manually checking instead of using an existing android function. Hopefully it doesn't break for existing users (I tested and couldn't find any issues, and so far no one reported anything so I think it is ok).

02 December 2020

New version of Url Checker (V 1.0)

V 1.0
- Custom tabs implementation. Press the left button toggle to switch between opening as custom tab or not (Android 4.4+)
- Warning on http links
- Renamed Ascii checker module to Pattern checker
- Preserve original intent (keeps extras)



This is version 1.0, although the previous one was in stable already.

The big improvement is the support for Custom tabs, in which you can open a reduced browser version (if available) instead of the full app. Not only you can toggle it as desired, but the button will have the state of what the original app wanted (if you open a link from Discord for example the button will be enabled by default, although you can turn it off later).

This also required to implement a background empty service, so that other apps think this one can open custom tabs. Normally this allows to 'warm up' browsers, or even preload a url, so when it is loaded it takes less time. It also means that the browser will perform actions in the background without your consent, so this app also stops it. Did you know that while the Gmail app is active, the browser is always loaded in the background? You do now.

I also made it to keep the original intent, so that the extras (extra information) is preserved. Some apps use these extras to configure some properties of the landing app (for example with the custom tabs).

The other new feature is a warning on http links (to use https instead). I added it in the ascii module, because the feature is very similar: check for a specific pattern in the url and report a warning. For this reason I decided to rename the module to Pattern Checker, and probably other checks will be performed in the future.



21 November 2020

Blog improvements

Over the past few weeks I've been improving and adding some things here in this blog. Each of them is a minor script/change, so I didn't found necessary to create a post for that, but now that the number of changes is moderate I felt like writing about them.


'Usefulness' page form

There is now a small form at the bottom of the page (left bar in desktop mode) so you can say whether you found a page useful or not, with an optional comment. It is as easy as pressing a button, and the answer is sent through google forms (google forms has a feature that allows anyone to send a response simply by visiting a page, so when you press a button that petition is performed in the background via a fetch command). It even works anywhere in the blog, even in search pages!
As of now I received 76 'yes' and 28 'no', most of them on the click to chat addon page. I may post in the future more statistics (tell me if you would like that).

Collapsible comments

This was something I personally wanted, the comment section at the bottom is as long as the amount of comments, and some pages have a loooot of them. This made very long pages and hard to scroll all the way to the bottom, and I'm sure people didn't even know there is some info there. When I added the usefulness form this was even more noticeable. So I simply made the comments element hidden, with a toggle button at the top. It is collapsed by default, press the button and the comments will be shown, press again to hide.

Filters in menu

A few years ago I had some of the important apps in the blog menu (the horizontal bar at the top with an arrow at the right, or the top bar with buttons in desktop mode) however I needed to add manually new apps there, and it was boring.
Then I found that there is a blogger widget that shows a list of all the tags in the blog, and when clicked it shows only the posts with that tag. I tag every post with the app it represents (with the exception of the blog tag, for posts like this) so this is a very useful way to display the apps I published (not all, but those I actively develop) and it's even sorted!
The issue is that this list is shown as a separate element, at the bottom (left in desktop) and I didn't like that. So I made a script that converts the automatically populated widget list to entries in the bar menu.
Now you can quickly see all posts of a specific app simply by selecting that filter from the menu, and it will be automatically updated with new apps/tags so I don't need to do anything! 

Fixed date on top of menu

Just a quick fix, but worth mentioning. In the mobile mode, when viewing a single post, the date at the top was displayed above the menu entry and it looked bad. I found the culprit css and patched it.

Pro-adblock message

This blog has a 'you should use an adblock' message at the top, which should not be visible if you use one. However, even if you do, you may have seen it in the past. The way this message works is by simply 'look' like an ad (which adblocks remove) however the list of ads they block is not static and changes over time, so I need to update it when the current method no longer works.

Arc-io

Arc-io is a service that 'helps build a faster internet with fewer ads'. It acts as a distributed CDN (content delivery network) in which users visiting the page can get page elements (images, scripts, css,...) by other users, instead of all from a centralized server. And it only ads a blue circle at the bottom left, no ads, no banners, nothing else. At first I was like 'using your bandwidth to share code to other users? no way' but after some checking and investigation I found its not as bad as it looks, and 'apparently' it only works with desktop users or under wifi. In any case, if you don't like that service it is automatically removed with adblocks (that you should have) but if for some reason it is still show for you and you want to disable it you can from the 'opt-out' link after pressing the blue icon, which redirects to here.
And what do I earn? The service pays you for the traffic (because companies pays them for the faster internet). Note that it is a very low revenue, 4$/month more or less, and I keep it because of the no-ads alternative it represents.
Another interesting fact is that this service requires you to set a specific file in the root of the site. Blogger don't allow that, however I discovered that you can embed an iframe with the arc-io widget from another site, and it will work! I currently have arc-io on my personal trianguloy.github.io page, and that's why when pressing the circle it says 'github.io gets a boost' instead of 'blogspot.com gets a boost'.