1. Download our Official Android App: Forums for Android!

Apps How do I check if one of my activities is on the foreground from service?

Discussion in 'Android Development' started by ralphz, Mar 12, 2010.

  1. ralphz

    ralphz Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Mar 12, 2010

    Mar 12, 2010
    1
    0
    5
    I have a service and few activities in my application. I wonder if there is a way to check from the service if one of the activities in my application are on the foreground?

    Thanks
    Ralph
     

    Advertisement

Share This Page

Loading...