bbdb-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BBDB autodialing


From: Barak A. Pearlmutter
Subject: Re: BBDB autodialing
Date: Wed, 4 Apr 2018 19:06:37 +0100

> Ideas and especially improvements welcome.

(defvar termuxing
        (string= (getenv "HOME") "/data/data/com.termux/files/home")
        "True if running under termux")

Bicycle shedding aside, it seems like it might be a good idea to use a
general-purpose mechanism for opening a URL like
mailto:address@hidden or https://www.example.com/ but with the phone
number. The appropriate format is given by
http://www.ietf.org/rfc/rfc3966.txt but basically for our purposes
they look like

tel:+1-212-555-2018

where the + and international dialing code are mandatory, and the '-'
characters are legal but "must be ignored."

This would also allow skype:joe_example or googlehangouts:whatever by
symmetry, and it would be up the the URI handling system to deal
appropriately; I know android has a mechanism that allows apps to
register themselves for various classes of URIs.

--Barak.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]