gt; --
> Date: Wed, 3 Nov 2010 14:44:22 +0530
> Subject: Re: [android-developers] How to pass a Context variable from one
> Activity to another ?
> From: vinayju...@gmail.com
> To: android-developers@googlegroups.com
>
>
> Not sure what you mean b
d out whether there is a better
alternative or not. Thanks for your comments.
TreKing, thanks for your reply as well.
Cheers,
Emre
Date: Wed, 3 Nov 2010 14:44:22 +0530
Subject: Re: [android-developers] How to pass a Context variable from one
Activity to another ?
From: vinayju...@gmail.c
Not sure what you mean by context variables
Activity itself is a context... so while starting an activity you can pass
"this" (wild guess) in the bundle. But why would to want to pass it to
another activity?
Or do u mean some data of present activity would be required in the next
activity. We
On Tue, Nov 2, 2010 at 7:06 PM, Emre A. Yavuz 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
Hi,
I have a Tab Layout which has two tabs that correspond to one Activity each
("A" and "B") . When I run my application, let's say by running MainActivity(),
I expect it to display the first Tab and thus run Activity "A" by default and
switch to Activity "B" when the second Tab is selected.
5 matches
Mail list logo