Hello everyone,
First post on here I do believe! I'm not new to java but I am new to the S40 API. I noted the method 'startVibra(frequency, duration)' which can be called from the 'DeviceControl' class. I have written a very simple MIDlet to test the method, which allows me to enter a number into a text field and click a "Vibrate" button. The number represents the 'frequency' parameter of the 'startVibra()' method, while the duration is hard coded to a value of 2000 (2 seconds). There seems to be no difference in vibration frequency no matter what the value is; a value of 1 or 100 vibrates the phone in the same way.
Is this a restriction on the device itself or is there something i can add to the MIDlet to enable this type of behaviour? If it is a device restriction, could anyone tell me which devices support the frequency parameter?
Many thanks,
P.M

Reply With Quote

