8

How to call activity from the items of the spinner

view full story
linux-howto

http://stackoverflow.com – I have a page which consist of a spinner and a submit button. What I want to achieve is when user selects an item in the list and click on submit, it should take him to an other layout having a webview. Each item in the spinner should open different .html page in the layout. What I have now is the item is being selected from the spinner, but I'm not sure how to perform onclick listener to it... code for main activity.java is: public class beef extends Activity { private Spinner spinner1; private ImageButton btnSubmit; @Override public void onCreate(Bundle savedInstanceState) { su (HowTos)