Advertisement
matejdro

Testing AppMessage delay, Android side

May 28th, 2013
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.39 KB | None | 0 0
  1. public void receiveData(final Context context, final int transactionId, final PebbleDictionary data)
  2.     {
  3.         PebbleKit.sendAckToPebble(context, transactionId);
  4.        
  5.         PebbleDictionary out = new PebbleDictionary();
  6.         out.addInt8(0, (byte) 0); //I can't send empty dictionary from Android for some reason so I need to include this.
  7.        
  8.         PebbleKit.sendDataToPebble(context, myUUID, out);
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement