projects/vango/app/src/main/java/com/example/suharshs/vango/MainActivity.java
/** Called when the user clicks the the Run button */
Called when the user clicks the the Run button
Called when the user clicks the the Run button
public void runKey(View view){
        Intent intent = new Intent(this, RunKeyActivity.class);
        EditText editText = (EditText) findViewById(R.id.key);
        String key = editText.getText().toString();
        intent.putExtra(EXTRA_KEY, key);
        startActivity(intent);
    }
public void runKey ( View view ) { Intent intent = new Intent ( this , RunKeyActivity . class ) ; EditText editText = ( EditText ) findViewById ( R . id . key ) ; String key = editText . getText ( ) . toString ( ) ; intent . putExtra ( EXTRA_KEY , key ) ; startActivity ( intent ) ; }
Called when the user clicks the the Run button
Called when the user clicks the the Run button