Re: Routing SMS to another app.
On Sat, Apr 3, 2010 at 5:06 PM, Sukhbir Singh singheinst...@gmail.com wrote: Mobility apis haven't been wrapped yet afaik. I don't doubt for a second that someone will step up to do it sooner or later, though Would it be ok if I mention this in my GSoC application? Most importantly, would it be done tentatively by 24th May, i.e. when the development begins? Cause if yes, then it would be awesome. You should ask on pyside mailing list; though I don't think anyone can promise such a thing as far the schedule goes. -- Ville M. Vainio http://tinyurl.com/vainio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Routing SMS to another app.
On Sat, Apr 3, 2010 at 9:51 AM, kate.alh...@nokia.com wrote: Kate, can we use this to hijack voice calls also? Like the SMS thing you mentioned, that before the message comes we can trap the signal. Does the same hold for voice calls too? There is not yet voice call support in QtMobility but you can get signal of incoming voice call using libtpsession. It then depends what do you mean hijack. You can Catch SMS or Voice call singal but with these methods you can't prevent other applications like Messaging Ui or Phone UI getting also notification of incoming SMS or Call. Case in point, would it be possible to make an application for custom ringtones for contacts? This is a request made very often by users of the N900. As you response readily implies a 'no', the 'not yet' means how long? I mean, PR1.2 has something for it? Is it planned for some release, or what? Wouldn't that be very very simple to code in the phone call library? Sorry for being too inquisitive and I know Nokia does not give dates. But I just want to know if it's worth spending my time on this issue. Thanks in advance, -- Cláudio Patola Sampaio IRC: ptl - Yahoo: patolaaa Campinas, SP - Brazil. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
RE: Routing SMS to another app.
From: ext Cláudio Sampaio [pat...@gmail.com] Sent: Monday, April 05, 2010 11:39 AM To: Alhola Kate (Nokia-FNDC/Helsinki) Cc: singheinst...@gmail.com; maemo-developers@maemo.org Subject: Re: Routing SMS to another app. On Sat, Apr 3, 2010 at 9:51 AM, kate.alh...@nokia.commailto:kate.alh...@nokia.com wrote: Kate, can we use this to hijack voice calls also? Like the SMS thing you mentioned, that before the message comes we can trap the signal. Does the same hold for voice calls too? There is not yet voice call support in QtMobility but you can get signal of incoming voice call using libtpsession. It then depends what do you mean hijack. You can Catch SMS or Voice call singal but with these methods you can't prevent other applications like Messaging Ui or Phone UI getting also notification of incoming SMS or Call. Case in point, would it be possible to make an application for custom ringtones for contacts? This is a request made very often by users of the N900. When you can catch indication of incoming call with number on it, you can play your custom ring tone but i am not sure, how you can easily prevent system ringtone playing. As you response readily implies a 'no', the 'not yet' means how long? I mean, PR1.2 has something for it? Is it planned for some release, or what? Wouldn't that be very very simple to code in the phone call library? Sorry for being too inquisitive and I know Nokia does not give dates. But I just want to know if it's worth spending my time on this issue. WIth these methods does not mean impossible but it needs more complicated methods. The call and SMS system is based on Telepathy framework. You can check rough diagram from http://tpsession.garage.maemo.org/ . With tpsession or qtmobility you can receive events that Telepathy is sending via dbus but you can't prevent other stake holdsers receiving these events. Technically Telepathy framework allows implementing filters in message path that does exactly what you are asking and there is TelepathyQt4 library. I am using TelepathyQt4 for TpSesison. I have not tried to implement filters with Telepathy and Telepathy is not simplest API at all. There has been discussion having simplifies filter API for TpSession but i have not had even Time to check it now. At the moment only way to do filtes is to use Telepathy API's. Kate ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Routing SMS to another app.
On Mon, Apr 5, 2010 at 6:19 AM, kate.alh...@nokia.com wrote: Case in point, would it be possible to make an application for custom ringtones for contacts? This is a request made very often by users of the N900. When you can catch indication of incoming call with number on it, you can play your custom ring tone but i am not sure, how you can easily prevent system ringtone playing. I think the rough part wouldn't even be preventing the system ringtone from playing, but controlling it the same way - e.g. stopping it if the call stops and such. As you response readily implies a 'no', the 'not yet' means how long? I mean, PR1.2 has something for it? Is it planned for some release, or what? Wouldn't that be very very simple to code in the phone call library? WIth these methods does not mean impossible but it needs more complicated methods. The call and SMS system is based on Telepathy framework. You can check rough diagram from http://tpsession.garage.maemo.org/ . With tpsession or qtmobility you can receive events that Telepathy is sending via dbus(...) Thank you very much for the very enlightening message, Kate. Now I have some trail to follow. Might be difficult, but if there is any way to do that, I think it will eventually be figured out. Best regards, -- Cláudio Patola Sampaio IRC: ptl - Yahoo: patolaaa Campinas, SP - Brazil. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
RE: Routing SMS to another app.
From: maemo-developers-boun...@maemo.org [maemo-developers-boun...@maemo.org] On Behalf Of ext Sukhbir Singh [singheinst...@gmail.com] Sent: Saturday, April 03, 2010 2:32 PM To: maemo-developers@maemo.org Subject: Routing SMS to another app. Hi developers, I was wondering whether there is any way I can divert SMS messages from the Inbox to another app that I would be designing for this purpose. Like when a SMS comes, I just need to delete it from the Inbox, extract the sender's name and the message body and store it inside my app. Is there any way to do this? I am potential GSoC student. Easiest way is to do this with QtMobility messaging API. There QMEssagestore, you can get signal of arriving SMS and then delete it. QTmobility Messagign with Messge Store support will be there in next couple of weeks. Kate ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Routing SMS to another app.
On Sat, Apr 3, 2010 at 2:00 PM, kate.alh...@nokia.com wrote: From: maemo-developers-boun...@maemo.org [maemo-developers-boun...@maemo.org] On Behalf Of ext Sukhbir Singh [singheinst...@gmail.com] Sent: Saturday, April 03, 2010 2:32 PM To: maemo-developers@maemo.org Subject: Routing SMS to another app. Hi developers, I was wondering whether there is any way I can divert SMS messages from the Inbox to another app that I would be designing for this purpose. Like when a SMS comes, I just need to delete it from the Inbox, extract the sender's name and the message body and store it inside my app. Is there any way to do this? I am potential GSoC student. Easiest way is to do this with QtMobility messaging API. There QMEssagestore, you can get signal of arriving SMS and then delete it. QTmobility Messagign with Messge Store support will be there in next couple of weeks. In the pymaemo or the pyside stack? Sivan ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Routing SMS to another app.
Kate, can we use this to hijack voice calls also? Like the SMS thing you mentioned, that before the message comes we can trap the signal. Does the same hold for voice calls too? ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Routing SMS to another app.
Easiest way is to do this with QtMobility messaging API. There QMEssagestore, you can get signal of arriving SMS and then delete it. QTmobility Messagign with Messge Store support will be there in next couple of weeks. In the pymaemo or the pyside stack? Mobility apis haven't been wrapped yet afaik. I don't doubt for a second that someone will step up to do it sooner or later, though ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Routing SMS to another app.
Mobility apis haven't been wrapped yet afaik. I don't doubt for a second that someone will step up to do it sooner or later, though Would it be ok if I mention this in my GSoC application? Most importantly, would it be done tentatively by 24th May, i.e. when the development begins? Cause if yes, then it would be awesome. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Routing SMS to another app.
By 'hijack', I mean that if a voice calls comes, my app can control its state - that is reject it or accept it. Like a call comes, my app rejects it and then makes a note about it. We are working on a call filtering app for Maemo, I guess that should clear up everything. On Sat, Apr 3, 2010 at 6:21 PM, kate.alh...@nokia.com wrote: From: ext Sukhbir Singh [singheinst...@gmail.com] Sent: Saturday, April 03, 2010 3:27 PM To: Alhola Kate (Nokia-FNDC/Helsinki) Cc: maemo-developers@maemo.org Subject: Re: Routing SMS to another app. Kate, can we use this to hijack voice calls also? Like the SMS thing you mentioned, that before the message comes we can trap the signal. Does the same hold for voice calls too? There is not yet voice call support in QtMobility but you can get signal of incoming voice call using libtpsession. It then depends what do you mean hijack. You can Catch SMS or Voice call singal but with these methods you can't prevent other applications like Messaging Ui or Phone UI getting also notification of incoming SMS or Call. Kate ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers