Advertisement
Festelo

Untitled

Sep 26th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.58 KB | None | 0 0
  1. final EditText IPtxt = new EditText(this);
  2. final EditText LOGtxt = new EditText(this);
  3. new AlertDialog.Builder(this)
  4.                 .setTitle("Connect settings")
  5.                 .setView(ly)
  6.                 .setPositiveButton("OKEY", new DialogInterface.OnClickListener() {
  7.                     public void onClick(DialogInterface dialog, int whichButton) {
  8.                         text[0] = IPtxt.getText().toString();
  9.                         text[1] = LOGtxt.getText().toString();
  10.                         Start(text);
  11.                     }
  12.                 })
  13.                 .show();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement