I am able to make my android device vibrate using
v.vibrate(pattern, -1);
However, the android page describes another link to insert an AudioAttribute.
However, the following line gives me an error.
cannot resolve symbol USAGE_NOTIFICATION_RINGTONE:
v.vibrate(pattern, -1, USAGE_NOTIFICATION_RINGTONE);
What should I do?
try this: