Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 19:43, 14 October 2007.

How to make vibration

From Forum Nokia Wiki

Python does not provide a vibrate module, but an Open Source project from PDIS has developed a miso module which provides this feature.

Nokia provides the DLL on device from S60 2nd Edition FP2 (Nokia 6630, Nokia 6680) onwards, so Nokia 6600 (S60 2nd Edition device) cannot vibrate.

Example :

import appuifw, miso, e32
 
# run-and-break type of app
running = 1
def set_exit():
    global running
    running = 0
appuifw.app.exit_key_handler= set_exit
 
# main loop
while running:
    miso.vibrate(500, 100)  # vibrate for 500 millisec, at full speed
    e32.ao_sleep(10)   # vibrate every 10 seconds
Related Discussions
Thread Thread Starter Forum Replies Last Post
compiling vibration and sound sendoh11 Mobile Java General 0 2003-12-08 03:24
basic 9300 functions sambhav General Discussion 0 2005-01-22 13:30
Change profile tangxj General Symbian C++ 6 2003-10-31 17:13
SMS Reminder baallrog Symbian Networking & Messaging 26 2007-02-19 12:58
Tones implemetation on NOKIA 3650 s01200994 Mobile Java General 2 2003-11-27 08:43
 
Powered by MediaWiki