How to construct a json object when onclick of a button in android
<p>I have 2 activities. I am switching to SecondActivity from FirstActivity. In SecondActivity I can able to add some rows, those rows contains 3 textviews &amp; their values and images. In SecondActivity there is a button called "Done". Onclick of this button I want to create JSONObject that contains textviews values &amp; images. Is it possible?</p>

<p>Please any one help me...</p>
