Problem solved. Thanks Mark.

 

Emre
 
> Date: Wed, 16 Sep 2009 18:44:45 -0400
> From: [email protected]
> To: [email protected]
> Subject: [android-developers] Re: How to pass a variable to a new activity 
> via intent ?
> 
> 
> Emre A. Yavuz wrote:
> > 
> > Hi,
> > 
> > I'd like to pass a variable to a new activity which I start using
> > an Intent. I know that I need to use the putExtra() method on the intent
> > which I create in the old Activity. I also know that I need to use the
> > getIntExtra() method (assuming that the variable I am trying to pass is
> > an Integer) to grab it in the new Activity.
> > 
> > Here comes the problem;
> > 
> > I have to call the method getIntExtra() on an Intent in the new
> > Activity, yet I am not sure what that Intent would be. How can I get a
> > hold of the Intent which I created in the old Activity ? Any suggestions ?
> 
> Call getIntent().
> 
> -- 
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
> 
> Warescription: Three Android Books, Plus Updates, $35/Year
> 
> > 

_________________________________________________________________
Click less, chat more: Messenger on MSN.ca
http://go.microsoft.com/?linkid=9677404
--~--~---------~--~----~------------~-------~--~----~
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