¤¤¤ Vibrator work on series 6.0 phones ¤¤¤

It seems like Nokia finally implemented the vibrator API on the phones.

I have tested it on the 6680, but it should also work on 6630 and I guess it will be standard on all the future series 60 phones from Nokia.

Here is the code that does the trick:

CVibraControl* vibra = VibraFactory::NewL();
vibra->StartVibraL(10000);

Remember that the vibrator function has to be switched on in the current selected profile for this to work. E.g. Tools/Profiles/Vibrator On.

# posted by Thomas @ 3:32 PM  



Comments: Hi Thomas. I've tried and included "vibractrl.h" & "vibractrl.lib" but I only get a "fatal error: 1 unresolved externals". Can You help Me. Thanks.
# posted by lucas : 8:41 AM   If you still have the problem, please send me a mail - normally unresolved externals is because you didn't include the lib file in your project or because your phone and SDK doesn't support the vibrator functionality.
# posted by Thomas : 4:34 PM   Post a Comment

<< Home