Thanks for the reply.
I will try using that.
But this is a new concept for me.

Thanks again.

On Dec 6, 8:35 am, "Lawrence Samantha" <[EMAIL PROTECTED]> wrote:
> Might not be the best solution but how about using singleton ?
>
> 2008/12/6 [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>
>
>
>
>
>
>
> > Hi,
> > I have 2 activity which are using RadioButtons. I am getting some int
> > value by the buttons. Now I want to pass these 2 values to some other
> > class (not activity). The class is the game loop and I want to use
> > this 2 values for diffrent level changes and other stuff.
>
> > I am confused about that how can I do it.
>
> > I tried to use object of that Activity class in the class file of
> > game. The problem is that Activity is no longer in use when this game
> > class comes into existance. So I can't pass the value even by creating
> > the object of activity class.
>
> > Is there any way I can solve this?
>
> > Thanks,
> > Mitul
>
> --
> Lawrence Samantha
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to