我在Android的是新。
I am new in Android.
我怎么能执行一些code,当新邮件在到达的Android(Gmail的)?有没有办法做到这一点?
How can I execute some code when new email arrives (gmail) in Android? Is there a way to do that?
我能得到它自己的工作与搜索某些源$ C $ CS不同的程序。但它是真的哈克。由于没有关于它没有形成文件播放,我不会分享任何code。如果有人有兴趣,可以看看 GmailNotifier源$ C $ C 在github上。
I could get it work on myself with searching some source codes of different programs. But it is really hacky. Since there is no documented broadcast about it, I won't share any code. If anyone interested, can take a look at GmailNotifier source code at github.
GmailNotifier通知用户,当收到新的Gmail。
GmailNotifier notifies user when receive new GMail.
P.S:而且请注意,这只是GMAIL。并不是所有的电子邮件作为标题说。 (主持人先后编辑了,IDK的为什么。)
P.S: And please note that, it is only for GMAIL. Not all email as title says. (A moderator has edited it, idk why.)