简体   繁体   English

我可以为Android Mail Client创建附加组件或插件吗?

[英]Can I create Add-on or Plug-in for Android Mail Client?

I'm trying to create a plugin for Android Mail App. 我正在尝试为Android Mail App创建一个插件。 this plugin will filters my e-mails and show them differently like I need to made some special e-mail shows up in green color. 该插件将过滤我的电子邮件,并以不同的方式显示它们,就像我需要使某些特殊的电子邮件以绿色显示一样。

So, can I create such plugin ? 那么,我可以创建这样的插件吗? for the Android mail client or the Gmail for example ? 例如Android邮件客户端还是Gmail?

Regards, 问候,

I am not sure that the Android Mail App has a pluggable interface for you to add in your own code/widgets. 我不确定Android Mail App是否具有可插入的界面,以供您添加自己的代码/小部件。

Your best bet is to create a new Mail App which will do what you want it to (you could even make it pluggable for others!!). 最好的选择是创建一个新的Mail App,它将执行您想要的操作(您甚至可以将其插入其他应用程序中!)。 There exists the Google-Api-Jar-Client , which I think you can use to access ones Gmail via HTTP requests. 有一个Google-Api-Jar-Client ,我认为您可以用来通过HTTP请求访问Gmail。 But if your requirements are strictly to build a plug-in for the existing Android mail client, then I do not think that is possible currently. 但是,如果您的要求严格是为现有的Android邮件客户端构建插件,那么我认为目前无法实现。

Are you sure that the existing Gmail doesn't have the function you are looking for? 您确定现有的Gmail不具备您想要的功能吗? You can create "Labels" and filter incoming email and mark them with the label. 您可以创建“标签”并过滤收到的电子邮件,并用标签标记它们。 You can make the label color green and it will show the name of the label and the color in both Gmail and the Android Mail client. 您可以将标签颜色设置为绿色,这样它将在Gmail和Android Mail客户端中同时显示标签名称和颜色。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM