How to start an Intent by passing some parameters to it?

Posted by Pentium10 on Stack Overflow See other posts from Stack Overflow or by Pentium10
Published on 2010-03-08T22:01:31Z Indexed on 2010/03/27 19:13 UTC
Read the original article Hit count: 125

I would like to pass some variables in the constructor of my ListActivity

I start activity via this code:

startActivity(new Intent (this, viewContacts.class));

I would like to use similar code, but to pass two strings to the constructor. How is possible?

© Stack Overflow or respective owner

Related posts about android

Related posts about android-sdk