我们怎样才能在android中收到电子邮件接收通知
There is no such thing as "E-mail receiving notification in android", any more than there is "E-mail receiving notification" in Windows. Email is received by applications, not by the operating system. Individual email applications may or may not send out broadcast Intents advertising the receipt of email -- you would have to contact the developers of those applications to find out.
same with me also can we get info by registering a content observer like this
ContentResolver contentResolver = getContentResolver();
m_EmailObserver = new EmailObserver(this); contentResolver.registerContentObserver(ContactsContract.CommonDataKinds.Email.CONTENT_URI, true, m_EmailObserver);
in email observer we can read email recieved is it not correct way to get email notifiactions
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.