bluetooth - Will Android Wear receive PutDataRequest if GoogleApiClient returns connected? -


i have wear application , phone application talks each other. phone application pushes data wear.

on phone, googleapiclient.isconnected() returning true though bluetooth off. suggests aren't connecting wear google service responsible syncing data.

however when connect wear(watch) afterwards data never received watch. there delay in data sync between wear , phone application? have information on this?

yes, when reconnected, android wear sync data items between devices. process happens wear apps , bluetooth protocol used relatively low bandwidth, can take while happen on specific app (usually still less minute if - depends on amount of data being synced).

make sure app can communicate across data layer when attached 1 another. if using wearablelistenerservice, should able idea delay noting when device reconnects (via onpeerconnected()) , measure time until ondatachanged() called, although there isn't can besides sync less data.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -