I'm doing application, I have mainscreen and calling next screen by main screen. In nextscreen by selecting image in gallery I wanted to go back main sc开发者_开发技巧reen by getting image url. How to do this?
You should call the second Activity by startActivityForResult()
. Then there you return the image url as the result of the second acitivty to the first activity. The result of the second activity you can get in the first activity in the method onActivityResult()
精彩评论