The Pebble Docs clearly describe how to start a watchapp on the Pebble from an Android app, but I cannot find instructions on how to start an Android app from a watchapp. Is that possible, and how?
Asked
Active
Viewed 187 times
3
-
1Could you clarify your question? It seems like you answered the question in the first sentence. Are you looking to start an Android app from a watch app perhaps? – Damian Oct 28 '15 at 07:26
-
So, is there a way, to start an android app from a pebble watchapp? – cs04iz1 Feb 24 '16 at 10:34
-
I posted the answer. – Eir Feb 28 '16 at 23:58
1 Answers
0
It's possible by registering a broadcast receiver for the pebble events, here's the code:
<receiver android:exported="true" android:name=".MyBroadcastReceiver">
<intent-filter>
<action android:name="com.getpebble.action.app.RECEIVE"/>
<action android:name="com.getpebble.action.app.RECEIVE_ACK"/>
<action android:name="com.getpebble.action.app.RECEIVE_NACK"/>
</intent-filter>
</receiver>

Eir
- 1,003
- 9
- 24