I use a local town public transport service and it also offers an SMS ticket service that I find pretty easy to use. One thing I dislike about it is remembering every single code for particular routes (the codes are simple unless I'm on the street). I would like to bookmark it somehow and register in my (web browser?) bookmarks or my contacts. RFC 5724 suggests a special SMS URI that generally is:
sms:$SERVICE_PHONE_NUMBER?body=$TICKET_REQUEST_CODE
e.g., sms:1234?body=5678
in my case. I was trying to add such a bookmark in Google Chrome hoping to add a bookmark widget to the home screen, but Chrome interprets it as an HTTP URI trying to open a web site. I was also trying to add the bookmark to Google Contacts as a special "web site" field for the dedicated contact, but it didn't work either as if it were an HTTP URI.
My question is, is it possible to bookmark an sms:
scheme URL on Android so I could use predefined SMS messages with predefined recipients and predefined text bodies?
If it's worth noting, I use QKSMS. It seems to declare sms
and other protocols intent filtering, but for whatever reason it does not work for me.
Edit 1.
As a test workaround I've just created a simple HTML page, and it seems to work:
<a href="sms:1234?body=5678">5678</a>
Saving the page to the device and adding a shortcut to the file on the home screen seems to do what I want very and very closely, and clicking the link opens QKSMS with proper recipient and text body. I only don't really like the idea of having a static HTML file on my device because it may be hard to maintain in case of necessity. So it turns out that Google products do not work well here?