I know how to create a vibrate pattern e.g:
Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE);
long pattern[] = new long[] {0, 200, 100, 200};
vibrator.vibrate(pattern, -1);
But I don’t know which pattern will communicate “incorrect input”. Are there any guidelines or predefined patterns?
EDIT: Seems like my question is a bit confusing. What I mean is that there are sounds that you can identify as success or fail, they are quite common. But are there any vibration patterns that can be used for success or fail that most people would understand?
Don’t. No other Android apps do this. Use a visual indication instead.