Hello,
I'm new to Qt and the Meego/Harmattan OS but nonetheless wanted to start to develop things for it. One of the things I missed when abandoning my Android was the Android Notifier application, that is to get a notification on your computer when receiving a call or so.
I looked around a bit and found this project: sourceforge.net/projects/n900notifier/ and tweaked it a little and got it running on my N9, forwarding call notifications to my Ubuntu desktop.
I'm not sure though how to get access to the number that's calling and comparing it to the contacts' phone numbers in the adress book.
I suspect that it's possible using PySide but I've never used that framework before, any help on this is greatly appreciated.
I've attached the files for the server (computer) and client (phone).
You need to install some packages available in the repository first:
Code:
apt-get install python-dbus python-gobject
Edit server.py and change HOST, PORT to your ip-address and port.
Edit client.py and change HOST, PORT to your computer's ip-address and port.
It might be necessary to open/forward the port in your firewall.
Copy the client.py file over to your phone and run it from the terminal
Start the server (from the terminal: python server.py) and call your phone and you'll get a notification that your phone is ringing. I've only tested this on Harmattan PR 1.2 and Ubuntu 11.10, can't say how it works on other versions/operating systems.
If anyone is interested in porting this with me or have any ideas on how to access contacts/incoming call using python, do contact me, either write a post here or PM me.