开发者

Android Actvities problem for getting result

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 开发者_C百科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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜