Android Wear Access Contacts

2019-08-05 13:06发布

I have an app that interfaces extensively with the contacts ContentProvider. I am looking to introduce a Wear component to my app that will make use of contact data.

Is Wear able to directly access the contacts through a ContentResolver or does it have to be manually synced from the mobile device?

1条回答
等我变得足够好
2楼-- · 2019-08-05 13:54

There is no such an API allows you to directly read contacts of your phone. You may have to consider the wearable app as a separate app from you phone side app. You should sync the contacts using the Data Layer Api.

查看更多
登录 后发表回答