10 Jun 2015

Notes on Wearable development

  • Apparently, DataItem is persistent but doesn't work like database. When you send 2 DataItem objects to a same node via same Uri, the second one will replace the first one instead of update field by field. I thought it would work like update statement of database ;(
  • If you send multiple DataItem to wearable while it's out of your handheld's range, the DataApi.DataListener you register on wearable side will only get called ONCE for the last DataItem you sent.