@Emre: do not hijack threads! Have a question? Then make your own thread! On Nov 3, 12:58 pm, TreKing <[email protected]> wrote: > On Tue, Nov 2, 2010 at 7:06 PM, Emre A. Yavuz <[email protected]> wrote: > > > Let's assume I'd like to pass a Context variable in my MainActivity to > > either Activity "A" or "B. > > Why would you want to pass a Context variable to either of two instances of > objects that themselves derive from Context? > > > How should I do it, what is the most efficient approach ? Any suggestions ? > > Uh ... don't. Just use the Activity itself as the Context. > > Why do you think you need to pass a Context instance around? > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices
-- 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

