Hi Simon,
You suggested to make activity singleton.
But is 'making activity' singleton not equal to single instance.
At a time I'll be having a single instance. and I dont want to do that.
Moreover mainly, I want a way which is acceptable according to android
concepts.
and if that is not possible then only I will have to do some trick.
But in any case I dont want my activity to be singleinstance or singletask.

That's why I want something android specific.

If I got you wrong then please explain your solution.


On Fri, May 20, 2011 at 10:45 AM, Simon Jackson <[email protected]>wrote:

> how about to singleton something
>
> static Activity me;
>
> oncreate()
> if(me==null)
> me = this
> <docreate>
> else
> me.<focus>
> finish();
>
> or such
>
> Cheers Jacko
>
> --
> 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




-- 

Best Wishes,



Suresh Pal



*Skype:               *suresh.pal

*Gtalk:*                sapient.suresh

*Facebook:*
http://www.facebook.com/people/Suresh-Chandra-Pal/676583036

*LinkedIn: *         http://www.linkedin.com/in/sapientsuresh

*Blogs:  *              http://www.sapientsuresh.blogspot.com

*Twitter: *            http://twitter.com/sapientsuresh

*Google Profile:  *http://www.google.com/profiles/sapient.suresh

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