There should be API that will allow to send messages from Phone app to Glass
app.
Something like pebble SDK has
https://developer.getpebble.com/2/mobile-app-guide/android-guide.html.
PebbleKit.sendDataToPebble(getApplicationContext(), PEBBLE_APP_UUID, data);
PebbleKit.registerReceivedDataHandler(this, new
PebbleKit.PebbleDataReceiver(PEBBLE_APP_UUID) {
@Override
public void receiveData(final Context context, final int transactionId, final PebbleDictionary data) {
Log.i(getLocalClassName(), "Received value=" + data.getUnsignedInteger(0) + " for key: 0");
}
});
Original issue reported on code.google.com by alexey.v...@gmail.com on 8 Dec 2013 at 2:32
Original issue reported on code.google.com by
alexey.v...@gmail.com
on 8 Dec 2013 at 2:32