← Back to team overview

ubuntu-phone team mailing list archive

Lookup incoming calls number and show in notification?

 

Hi all,

On my Android phone, today, I have an application which in English is
named "Who Called" (Vem Ringde). This app is used to display information
about a number - perhaps an incoming call, and you don't recognize the
number / its not in your contacts. Also you can start it up and search
the recently called numbers.

I do very much appreciate this app since I get information about who it
is that calls, and I can choose to decline the call if it is a sales
person, for example. Now I would like to do the same thing for Ubuntu
Touch (for Swedish users at least, but it'll be open source, so any one
can use it) and I need some help.

I have a database with number (Creative Commons from vemringde.se) that
I can call by Xmlhttprequest, but I need to know if I can hook into an
incoming call and do a search of the number, and display some info in a
new notification together with the one that you can either decline or
accept the call in.

So: How do run an app on an incoming call; how do I pass the number
trough the app; and how do I display a notification?

Using QML only. No C++, thank you.

-- 
Vänlig hälsning / Yours sincerely,
  Daniel Holm
  IT Consultant
  Web Developer
  Student
  d.holmen@xxxxxxxxx
  http://www.danielholm.se



Follow ups