You Are Here:

Community: Developer Discussion Boards

#1 Old Smile MISS CALL - 2008-10-02, 17:02

Join Date: Apr 2008
Posts: 22
Location: Bhavnagar,Gujrat,India
AMIT_GOHEL's Avatar
AMIT_GOHEL
Offline
Registered User
Hello,

please tell me error in following coad.


import e32
import telephone
import appuifw

A=appuifw.query(u"Enter time(in sec)","number")

def a():
e32.ao_sleep(A,a)
telephone.hang_up()
a()


many persons are misscaling me so i've made this coad.
but it doesn't work.What to do ?

please help me as soon as possible.
Reply With Quote

#2 Old Re: MISS CALL - 2008-10-02, 17:09

Join Date: May 2007
Posts: 2,735
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by AMIT_GOHEL View Post
please tell me error in following coad.

Well, what do you want the code to do ?

Then only we can figure out the mistake. And please post the code using CODE (#) tags. This maintains indentations.

Best Regards,
Croozeus
Reply With Quote

#3 Old Re: MISS CALL - 2008-10-02, 17:11

Join Date: Feb 2008
Posts: 2,533
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
hi amit

you can use the code tags provided so that we can have a good view of the code.
Moreover the ao_sleep function takes only one argument.

so try :
Code:
e32.ao_sleep(A)


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

Forum Nokia Python Wiki


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

#4 Old Re: MISS CALL - 2008-10-05, 08:42

Join Date: Apr 2008
Posts: 22
Location: Bhavnagar,Gujrat,India
AMIT_GOHEL's Avatar
AMIT_GOHEL
Offline
Registered User
Quote:
Originally Posted by gaba88 View Post
hi amit

you can use the code tags provided so that we can have a good view of the code.
Moreover the ao_sleep function takes only one argument.

so try :
Code:
e32.ao_sleep(A)
In my callback query Mr.bogdan give me this syntex
Quote:
e32.ao_sleep(5,a)# it'll callback after 5 sec
and it works but when i run program in phone it shows "no call to hang up".it is not problem but when i call from another phone then my phone can't hang up oter phone .
so plz give me solution.
Reply With Quote

#5 Old Re: MISS CALL - 2008-10-05, 08:45

Join Date: Apr 2008
Posts: 22
Location: Bhavnagar,Gujrat,India
AMIT_GOHEL's Avatar
AMIT_GOHEL
Offline
Registered User
when any one call me then call has been hanged up in 2 or 5 sec whatever i define.
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
initiate a call and hang up call in s60 2nd edition... mayudada General Symbian C++ 0 2007-08-23 12:30
New call problem Bill_Murray General Symbian C++ 4 2007-05-27 16:30
End call and DialNewCall problems halimz General Symbian C++ 5 2007-05-19 06:40
Problem in makeing Phone Call in 2nd edition yogesh.bhople General Symbian C++ 4 2006-11-18 09:47
Nokia 7160 auto receive next call as datal call jackal_jr General Messaging 0 2002-08-19 14:05

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