Reputation: 11
I have a requirement in my program to make the Pebble watch vibrate on an event say when I send a particular string from Android App to my watchapp which is running on Pebble. Is there any function or command I can invoke in my program to make Pebble vibrate?
Thanks in advance.
Upvotes: 0
Views: 3832
Reputation: 10003
Yes, you can. The Pebble SDK provides a Vibes module. You'll need to send an AppMessage
from your Android app to your "watchapp". You cannot make the watch vibrate without both interfaces. (You cannot simply pair the devices and issue a command "vibrate!" from your Android app.)
Take a look at "Integrating Pebble Watchapps with Phone Apps". You can also get an idea of how transmitting data works in their sample Android app.
Upvotes: 6