I want to call data of activity using popup. Let me explain in brief... when i click on EditText of a dialog box
when i click on EditText (Template) then it will open activity.
after i select one option and activity will finish and selected option's value will be set in EditText of Template.
Why not use a Button (perhaps with a drawable) instead of an EditText? This makes more sense because the user won't be typing anything into the EditText.
As for passing the data back and forth, just use startActivityForResult() .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.