You Are Here:

Community: Developer Discussion Boards

#1 Old How to detect incoming call in 2nd edition? - 2008-09-29, 19:21

Join Date: Mar 2003
Posts: 564
cassioli's Avatar
cassioli
Offline
Super Contributor
I think sysagent does not provide event binding, so how can my program be informed as soon as an incoming call arrives?
Reply With Quote

#2 Old Re: How to detect incoming call in 2nd edition? - 2008-09-29, 19:38

Join Date: Feb 2008
Posts: 2,543
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Online
Forum Nokia Champion
Quote:
Originally Posted by cassioli View Post
I think sysagent does not provide event binding, so how can my program be informed as soon as an incoming call arrives?
hi cassioli

i was searching on a simillar kind of thing but really sad got nothing. The traditional PyS60 telephone module doesnt contain anything for incoming calls.
But ya you can do one thing keep checking the logs using the logs module if there is change in the incoming logs then you can detect that.

Just a hint.

Enjoy Pythoning
Gaba88


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#3 Old Re: How to detect incoming call in 2nd edition? - 2008-09-29, 19:41

Join Date: Jul 2008
Posts: 103
ck.umraliya's Avatar
ck.umraliya
Offline
Forum Nokia Champion
Quote:
Originally Posted by cassioli View Post
I think sysagent does not provide event binding, so how can my program be informed as soon as an incoming call arrives?
hi cassioli
i think this thread may help you to detect incoming call event.

Regards,
Chintan Umraliya
Reply With Quote

#4 Old Re: How to detect incoming call in 2nd edition? - 2008-09-29, 19:42

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Online
Forum Nokia Champion
Quote:
Originally Posted by cassioli View Post
I think sysagent does not provide event binding, so how can my program be informed as soon as an incoming call arrives?
Use sysagent in a loop ? Doesn't that work ?

You will need to check in each iteration - the call status - as there are no event binding functions in it.

Best Regards,
Croozeus
Reply With Quote

#5 Old Re: How to detect incoming call in 2nd edition? - 2008-09-29, 20:55

Join Date: Mar 2003
Posts: 564
cassioli's Avatar
cassioli
Offline
Super Contributor
Quote:
Originally Posted by croozeus View Post
Use sysagent in a loop ? Doesn't that work ?

You will need to check in each iteration - the call status - as there are no event binding functions in it.

Best Regards,
Croozeus
of course, but this is a very power-consuming method...
Reply With Quote

#6 Old Re: How to detect incoming call in 2nd edition? - 2008-09-30, 03:39

Join Date: Jul 2008
Posts: 103
ck.umraliya's Avatar
ck.umraliya
Offline
Forum Nokia Champion
Quote:
Originally Posted by cassioli View Post
of course, but this is a very power-consuming method...
hi cassioli,
You are correct that many times in absence of proper event binding conditions we have to use loopings, which is very power consuming.
I think we really need some extension to provide various event bindings without rigid loops.

Regards,
Chintan Umraliya
Reply With Quote

#7 Old Re: How to detect incoming call in 2nd edition? - 2008-10-20, 15:54

Join Date: Mar 2003
Posts: 564
cassioli's Avatar
cassioli
Offline
Super Contributor
looks like power consumption is not the only issue... My python program completely locks up after detecting first incoming call, I can't even close the shell!
Reply With Quote

#8 Old Re: How to detect incoming call in 2nd edition? - 2008-10-20, 16:01

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
Does it lock up when you're using a loop? Have you checked the thread from post #3?
Reply With Quote

#9 Old Re: How to detect incoming call in 2nd edition? - 2008-10-20, 16:07

Join Date: Mar 2003
Posts: 564
cassioli's Avatar
cassioli
Offline
Super Contributor
Quote:
Originally Posted by bogdan.galiceanu View Post
Does it lock up when you're using a loop? Have you checked the thread from post #3?
I have a 2nd edition phone....
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Notification for 2nd incoming call...doesnt work..!!! mayankkedia General Symbian C++ 2 2007-08-07 13:23
how to simulate incoming call by Emulator?? test pragram listening call! wjcrr General Symbian C++ 2 2007-05-12 00:11
how to simulate incoming call event in Emulator?? egent !! wjcrr Series 40 & S60 Platform Feedback 0 2007-05-11 04:58
Problem in Call handling in 3rd edition kis_spn General Symbian C++ 7 2007-04-12 14:52
detect incoming data call kargy General Discussion 0 2003-06-02 13:55

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia