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".
--~
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 wrote:
>
> Hi
>
> I have a newbie question wh
2 matches
Mail list logo