Include this script into your page along with the iframe for a responsive media embed
The entered code (so you can copy and paste):n1. npublic void button(View v) {n// do something when the button is clickedn}n2.nButton button=(Button) v;n3.nThen I typed v.settext and hit Tab to autocomplete the line ((Button) v).setText("clicked");nnSee supplemental information at www.i-programmer.info/programming/android/5914-android-adventures-activity-and-ui.html?start=1