[英]Searching gmail using android api
I want to search inside gmail label based on emailid. 我想根据emailid搜索gmail标签。 I have found a example https://developers.google.com/gmail/android/ it fetches all the labels with count.
我找到了一个示例https://developers.google.com/gmail/android/ ,该示例可获取带有count的所有标签。 I want to search email based on email id.
我想根据电子邮件ID搜索电子邮件。 Is it even possible to do it based on some contentprovider?
甚至有可能基于某些contentprovider来做到这一点? Any help is appreciated.
任何帮助表示赞赏。
Searching after a long time i found out that you need to give permission to your app in https://console.developers.google.com . 经过长时间的搜索,我发现您需要在https://console.developers.google.com中为您的应用程序授予权限。
Then follow steps mentioned in the link 然后按照链接中提到的步骤进行操作
http://developer.android.com/google/auth/http-auth.html . http://developer.android.com/google/auth/http-auth.html 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.