Guest User

Untitled

a guest
Jul 17th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Button btnSave = (Button) findViewById(R.id.Button01);
  2. btnSave.setOnClickListener(new View.OnClickListener()
  3. {
  4. EditText mUserText = (EditText) findViewById(R.id.EditText01);
  5. Editable oldText = mUserText.getText();
  6.  
  7. public void onClick(View v) {
  8. First T=new First();
  9. String re = T.run(String.valueOf(oldText));
  10. DisplayToast("The postfix and result of " + mUserText.getText() + " is "+ re);
  11. T = null;
  12. }
  13. });
Add Comment
Please, Sign In to add comment