Android Wear的访问联系人 [英] Android Wear Access Contacts

查看:121
本文介绍了Android Wear的访问联系人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有与广泛接触接口的应用程序的ContentProvider 。我期待引入磨损部件,以我的应用程序,这将使使用联系人数据。

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.

时的穿着能​​够通过 ContentResolver的直接访问通讯录或它必须从移动设备进行手动同步?

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

推荐答案

有没有这样的API可以让你直接读您的手机联系人。您可能不得不考虑穿戴式应用从你手机端应用程序独立的应用程序。你应该使用数据层API同步联系人

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.

这篇关于Android Wear的访问联系人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆