Mycroft Skills on Ubuntu Phone
Ted Gould
ted at ubuntu.com
Mon Oct 26 13:44:00 UTC 2015
On Sat, 2015-10-24 at 16:28 -0300, Jonathan D'Orleans wrote:
> Dial Call usecase:
> 1. Turn on my phone (or Ubuntu device) and login
> 2. Say: "Mycroft, call my wife"
> 3. Mycroft do a Dial Call to my wife's phone number
For both of these cases you'll want to query the addressbook. It is
stored in EDS and we have a QtOrganizer plugin to access it, you can use
either API. From there I'd recommend using a URL and dispatching it via
URL DIspatcher, there is a liburl-dispatcher or you can use the Qt URL
API. So basically send:
tel://867-5309
Which will open up the dialer and populate it with that number.
> Send a SMS usecase:
> 1. Turn on my phone (or Ubuntu device) and login
> 2. Say: "Mycroft, tell Jonathan I'll arrive at 15 o'clock"
> 3. Mycroft Send a SMS to Jonathan's phone number
I'm not sure that there is a similar interface for messaging. But if you
talk to the messaging app developers I don't think it would be super
difficult to build one.
Generally speaking, questions about the services that are phone specific
are probably best on the ubuntu-phone mailing list. I've CC'd it.
Ted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20151026/9e491707/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20151026/9e491707/attachment.pgp>
More information about the ubuntu-devel
mailing list