Advertisement
here2share

# phone_demo.py

May 17th, 2015
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # phone_demo.py
  2.  
  3. import telephone, appuifw, e32
  4.  
  5. #Ask the user for the number to call
  6. num=appuifw.query(u"Enter Number: ", "number")
  7.  
  8. #Wait a while
  9. e32.ao_sleep(10)
  10.  
  11. #Now hang up
  12. telephone.hang_up()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement