Back to project page ramp_up_android.
The source code is released under:
Apache License
If you think the Android project ramp_up_android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.macadamian; //from w w w.j a va 2 s .c o m import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import android.util.Log; import android.view.View; public class BasicUserInterfaceActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.basic_user_interface); connect(); } private void connect() { findViewById(R.id.basic_user_interface_confirm).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { update_result(); } }); } private void update_result() { TextView content = (TextView) findViewById(R.id.basic_user_interface_edit_content); TextView result = (TextView) findViewById(R.id.basic_user_interface_result); result.setText(content.getText()); } }