On Mon, Mar 19, 2012 at 9:45 AM, johnlugh <[email protected]> wrote:
> I'm trying to design an app which monitors how often users check their
> email inboxes and also which has behaviour which depends on the rate
> of these checks-  i.e. punishing for overfrequent checks.
>
> As I'm new to Android programming, I'm not quite sure if this is
> possible as it would need to be dependent on another process which I'm
> not in control of (the default Email process/application that is used
> in Android). As far as I know, the email service runs in the
> background but when you check your inbox/open the application it runs
> in the foreground.
>
> Can you have behaviour dependent on a foreground process like this? Is
> there another way of doing this?
>
> Thanks.

No, this is a frequently asked question, but basically, you can't
"extend" apps you didn't write with arbitrary functionality like this.

kris

-- 
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