On Mon, Mar 19, 2012 at 8:45 AM, johnlugh <[email protected]> wrote:

> Can you have behaviour dependent on a foreground process like this?
>

Not really.


>  Is there another way of doing this?
>

Not really. You're running on the assumption that the user would be using
the default email client. Such a thing may not exist, or be used, as the
user can install any Email client they want.

Regardless of that, being able to detect that a user is opening an email
client, and specifically viewing their Inbox, would be quite a specific
action to detect and considered to be a pretty serious security flaw, I
think. This should not be possible under normal circumstances.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to