Open thoughtcastdavid opened 5 years ago
try add :
pointz[2] = System.currentTimeMillis();
Source
Still no.
Update:
I changed my Wear app to this:
rxWear.data().listen("/dataMap", DataApi.FILTER_PREFIX).subscribe(dataEvent -> { Log.d("MEx", " test tt");});
and my Mobile app to this:
long[] pointz = new long[3];
pointz[0] = b.x;
pointz[1] = b.y;
pointz[2] = System.currentTimeMillis();
rxWear.data().putDataMap().to("/dataMap").putLongArray("point", pointz);
I think im getting close...
I tried making a basic app that sends small data to my wear app, and my wear app should just Log.d "ok..." to see if the data was received.
It does not:
here is my wear app;
That is the relevant code.
Here is what I do in my mobile app:
What am I doing wrong?!!