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. AndroidManifest.xml file missing!

Hi all,

I created a project for Android development in eclipse according to
http://source.android.com/using-eclipse:

   1. If Eclipse asks you for a workspace location, choose the default.
   2. If you have a "Welcome" screen, close it to reveal the Java
   perspective.
   3. File > New > Java Project
   4. Pick a project name, "android" or anything you like.
   5. Select "Create project from existing source", enter the path to your
   Android root directory, and click Finish.
   6. Wait while it sets up the project. (You'll see a subtle progress meter
   in the lower right corner.)

After the build finished, I got two errors:
AndroidManifest.xml file missing!
The type IGearsDialogService is already defined

I am sure I followed the instructions. Is there anything I missed?

Thanks in advance.

Bill

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

2. Android developer site not Android friendly...

Why don't you (lbcoder) open for example "Application Fundamentals"
from "Dev Guides" and try scrolling past "Application Components"?






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

3. so we can access the paid app market now?

4. 3D Rendering Library

5. Intercepting web browser clicks

6. Conditionally process AndroidManifest.xml?

7. I can't use my Google account to post question at Android Developers