Is there any way by which I can set toast on when a new email comes in my gmail inbox of default android app.
I need to generate alert on my widget whenever a new email comes in my gmail inbox. "
Any help would be appreciated!?
Is there any way by which I can set toast on when a new email comes in my gmail inbox of default android app.
I need to generate alert on my widget whenever a new email comes in my gmail inbox. "
Any help would be appreciated!?
Sorry there is no general concept of "new email." Gmail has its own email database and management, the email app has another, and other email apps may have their own.
And there is certainly no "email server" associated with the telephony subsystem
refer to : https://stackoverflow.com/a/2254426/2771869
ok would recommend you to use a JavaMail to keep track of unreaded mails in your account ... then i would create AlarmManager with custom broadcast receiver for displaying your toast/notification ...