RE: [android-developers] Re: List of all instantiated Activities

2010-06-03 Thread Ted Neward
om: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Rajiv Sent: Thursday, June 03, 2010 4:05 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: List of all instantiated Activities You can implement this in your application b

Re: [android-developers] Re: List of all instantiated Activities

2010-06-03 Thread Rajiv
gt; Consulting, Teaching, Speaking, Writing > http://www.tedneward.com > > > -Original Message- > > From: android-developers@googlegroups.com [mailto:android- > > develop...@googlegroups.com] On Behalf Of Romain Guy > > Sent: Wednesday, June 02, 2010 1:26 AM > >

RE: [android-developers] Re: List of all instantiated Activities

2010-06-03 Thread Ted Neward
.com > -Original Message- > From: android-developers@googlegroups.com [mailto:android- > develop...@googlegroups.com] On Behalf Of Romain Guy > Sent: Wednesday, June 02, 2010 1:26 AM > To: android-developers@googlegroups.com > Subject: Re: [android-developers] Re: List of

Re: [android-developers] Re: List of all instantiated Activities

2010-06-02 Thread Romain Guy
Because it's implemented using finalize(). And in Froyo this will always return 0 btw. On Wed, Jun 2, 2010 at 2:25 AM, skink wrote: > > > On Jun 2, 7:16 am, Romain Guy wrote: >> getInstanceCount() is there for debugging purpose and is not reliable. >> >> > > why is it not reliable? > > pskink >

Re: [android-developers] Re: List of all instantiated Activities

2010-06-02 Thread Romain Guy
getInstanceCount() is there for debugging purpose and is not reliable. On Wed, Jun 2, 2010 at 2:14 AM, skink wrote: > > > On Jun 2, 4:35 am, "Ted Neward" wrote: >> Anybody know an easy way for an app to find all the instances of all the >> Activities currently alive in the current process? >> >

Re: [android-developers] Re: List of all instantiated Activities

2010-06-02 Thread Romain Guy
Let's step back a little bit. Ted, what is it you are trying to do? On Wed, Jun 2, 2010 at 1:24 AM, Guillaume Perrot wrote: > I already made something similar (limited to the current activity) and > I did not find another way to access the activity instance. > To limit errors, I made my modificat