tags:

views:

19

answers:

2

Hi All,

I have two activities A & b.

in A i have one button which takes me to the activity B. in Activity B i have one edit text. when user enter some values in edittext i m getting the value in some variable. and i want to pass this value back to activity A. i applied the Bundle concept bt it is force closing my app.

pls anybody can help me?

thanks in advance.

A: 

Read through Notepad Tutorial. All the info about passing values between Activities is there.

licorna
m not able to understand that. can anybody provide me the short code.
vivek_Android
A: 

you should use Intent.putExtra() to transfer the value.

Vladimir Ivanov
in activity B m doing the same Intent.putExtra(). but i have to get the value by get string in A. here it is crashing.
vivek_Android
Stacktrace.....
Select0r