My question is simple: how to delete data from DataAPI?
I have some data in the path "/ model / model_id" and you want to delete ALL the data in "/ model".
I am using the code:
uri = new Uri.Builder().scheme(PutDataRequest.WEAR_URI_SCHEME).path("model"); PendingResult<DataApi.DeleteDataItemsResult> deleteDataItemsResultPendingResult = Wearable.DataApi.deleteDataItems(mGoogleApiClient, uri); deleteDataItemsResultPendingResult.await();
Nothing passes on the wear side (the onDataChanged method is never called in the WearableListenerService)
The current documentation for Android Wear is probably the WROST documentation ever made in the history of the universe. Can anybody help me?
source share