If you make a new class MyActivity extending Activity, then you make
all of your activites extend MyActivity instead, then you can
implement whatever instance tracking you'd like to do.  But Java (and
thus Dalvik) have no way to reflect and iterate all object instances
of a class, extended class, or interface implementors.

I don't think the android stack is exposed for inspection either.

On Jan 17, 3:54 pm, Sudhakar Chavali <sudhakar.koundi...@gmail.com>
wrote:
> Hello All
>
> Is there a way to know the count of activities exists in Application
> stack?
>
> Thanks & Regards
> Sudhakar Chavali

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

Reply via email to