Will B4a support Pebble watch or Ooya?
The communication with the watch is done with intents: Pebble Android SDK — Google I/O Developer Preview
I haven't tried it however you do not need any library to build an application that sends such intents or listens to intents.
You should read about intents and intent filters. It shouldn't be complicated to communicate with this watch.
Once you have access to this watch I can further help you.
You should read about intents and intent filters. It shouldn't be complicated to communicate with this watch.
Once you have access to this watch I can further help you.
Dim json As JSONGenerator
Dim data As Map
Dim alist As List
data.Initialize
alist.Initialize
data.Put("title", "MyTitle" )
data.Put("body", "whatever")
alist.Add(data)
json.Initialize2(alist)
s = json.ToString