Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android mail application(how to)

Dear StackOverflowers, first of all i'm not exactly sure if this is a true question for stackoverflow community so please try to forward me to a true destination before down voting..

I want to develop a domain based android mail application. For example, if a mail containing some words like "bla bla bla" received from a domain like xyz.com, i will try to push an alarm. I also want to be able to activate voice alarm even tough the phone is in silent(or vibration) mode.. Now my questions are:

1. Is it possible to catch(get) mail delegate methods to activate some other functionality

2. Will Android let me activate the voice alarm in silent mode?

Aditional note: my mail server will be Microsoft Exchange..

like image 696
ilhnctn Avatar asked May 15 '26 22:05

ilhnctn


1 Answers

Is it possible to catch(get) mail delegate methods to activate some other functionality

Yes, to an extent. You can have your users sign into the mail app with their email accounts and receive the emails as they come. AFAIK, you cannot access incoming email unless your own app is the receiving one. So while you will be able to receive email if the user logs in with your app, you will not be able to read the ones in the Gmail app.

Will Android let me activate the voice alarm in silent mode?

You can have your app adjust the volume to high if its on silent, play your notification sound, and then put it back on silent. This is pretty easy to do.

like image 153
Raghav Sood Avatar answered May 18 '26 11:05

Raghav Sood