通过内容提供商访问的Andr​​oid电子邮件 [英] Access Android Emails through Content Provider

查看:173
本文介绍了通过内容提供商访问的Andr​​oid电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有关于Android的默认电子邮件程序四个问题。请帮我分别回答问题。 在此先感谢

1)我们如何可以访问设备数据库?

2)我们怎样才能在模拟器设置电子邮件?

3),我们可以读取邮件内容通过电子邮件内容提供商一样(AttachementProvider.java) 我发现在Git中

4)谁能告诉我正确的电子邮件URI 我发现,不工作的URI 内容://com.android.email.attachmentprovider

解决方案
  

1)我们如何可以访问设备数据库?

您不能。

  

2)我们怎样才能在模拟器设置电子邮件?

我会假设你挖掘的启动图标,并按照提示,你会设置它在普通电话的方式。请记住,这个应用程序可能无法在所有的手机都存在。

  

3),我们可以读取邮件内容通过电子邮件内容提供商一样(AttachementProvider.java)我已经找到了Git的

有没有文档和支持的API在Android SDK中的任何电子邮件客户端。

  

4)任何一个可以告诉我corret电子邮件URI我已经找到了URI不工作的内容://com.android.email.attachmentprovider

我再说一遍,没有任何的文档和支持的API在Android SDK中的任何电子邮件客户端。 你被特别告知不要使用无证内容提供商,因为他们没有警告被改变,并再次,可能不会在所有设备上存在。

I have four questions regarding Android default email program. Please help me to answer the questions respectively. Thanks in Advance

1) How can we access the Device Database?

2) How can we setup email on Emulator?

3) Can we read Email Content Through Email Content Provider like (AttachementProvider.java) I have found in Git

4) Can anyone tell me the correct Email URI I have found the URI that is not working "content://com.android.email.attachmentprovider"

解决方案

1) How can we access the Device Database ?

You can't.

2) How can we setup email on Emulator ?

I would assume that you tap on the icon in the launcher and follow the prompts, the way you would set it up on a regular phone. Bear in mind that this application may not exist on all phones.

3) Can we read Email Content Through Email Content Provider like ( AttachementProvider.java) i have found in Git

There is no documented and supported API for any email client in the Android SDK.

4) can any one tell me the corret Email URI i have found the URI that is not working "content://com.android.email.attachmentprovider"

I repeat, there is no documented and supported API for any email client in the Android SDK. You have been specifically told not to use undocumented content providers, since they will be changed without warning and, again, may not exist on all devices.

这篇关于通过内容提供商访问的Andr​​oid电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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