I have created a button in my Android app, but when I click on that button, nothing happens.
Creating a Protected Zero (Bundle Saved InstantState) {super.onCreate (SavedInstanceState); SetContentView (R.layout.activity_search_data); Search = (Button) ViewById (R.id.Search); Search.setOnClickListener (New View.OnClickListener () {public void onClick (see v) {try {new retrievedata (.) Execute ();} catch (exception e) {e.printStackTrace ();}}}); }
try initializing the button in ();
No comments:
Post a Comment