分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow
也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!
一、单个按钮点击事件的监听
方法一
/** * 从网络上获取图片 * * @author 徐越 * */public class MainActivity extends Activity{ private EditText txtPath; private Button btnShowImage; private ImageView imgView; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); txtPath = (EditText) this.findViewById(R.id.txtPath); btnShowImage = (Button) this.findViewById(R.id.btnShowImage)