How to pass a variable to a new activity via intent ?

by Mark Murphy » Thu, 17 Sep 2009 06:46:01 GMT


Sponsored Links
 


Call getIntent().

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Warescription: Three Android Books, Plus Updates, $35/Year

--~--~---------~--~----~------------~-------~--~----~



How to pass a variable to a new activity via intent ?

by Emre A. Yavuz » Thu, 17 Sep 2009 07:36:14 GMT


 Problem solved. Thanks Mark.

 

Emre
 


_________________________________________________________________
Click less, chat more: Messenger on MSN.ca
 http://go.microsoft.com/?linkid=9677404 
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. how to relaunch the activity..

Hi..
How do I make sure if he existing foreground activity needs to be refreshed,
where it starts executing from the beginning?

I wanted to do that on change in the content observer..

Regards,
Manjunatha

--~--~---------~--~----~------------~-------~--~----~

2. how to cancel an onItemSelected upon startup

I have two questions;

1) I have a Spinner with several options provided by an ArrayAdapter
and have an onItemSelected listener on this Spinner. When selecting an
item from the spinner, I want to display another view (list-view) but
this method is unintentionally invoked upon initially displaying the
view. The list-view is therefore displayed upon startup of the
application.

It is possible to add a spinner-on-item-select listener that won't
fire upon initially displaying the view but only by the user selecting
an item?

2) is it possible to display a custom text upon initially displaying
the spinner (for example: "Select an item") without this text being
part of the itemlist?

regards,
Juan

--~--~---------~--~----~------------~-------~--~----~

3. Create Android background Service

4. Overlay events not go to MapView

5. Less than beginner ... completely clueless questions :)

6. Solution Related to emulator

7. receive post using a DefaultHttpServerConnection object