On Wed, Jun 27, 2012 at 10:31 AM, jagruti sangani <[email protected]>wrote:

> Hi,
>
> you can use the thread for periodically checking whether any new
> application is launch or not.If any found then compare with that and and if
> it is match then insert data in database or whatever you want to do on that
> found.
>

Sorry to say, but its not the perfect solution I need, coz I want
information to be saved/stored only when any application starts or closes,
(say browser app: started 1 time, closed 1 time), which should only be
updated on launch or termination of app. The updation should not happen
periodically, as it may create problem as well as may be called multiple
times on a single time execution of app.
Hope, you are getting my idea.

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