Hi
in second secondActivity's onCreate()
try
Bundle extras = getIntent().getExtras();
int value = extras.getInt(com.foo.bar.android.app.rowid);
you can get value of first intent in variable value
On Thu, Feb 19, 2009 at 4:52 PM, Graeme graeme.br...@btinternet.com wrote:
Hi
I
Hi,
The intent will be received in onCreate of SecondActivity
To obtain the extra data u sent from firstActivity, use the following
code:
int rowid = getIntent().getIntExtra(com.foo.bar.android.app.rowid,
0);
To obtain string values, there is a similar function called
getStringExtra.
2 matches
Mail list logo