• 安卓总结的文档

    安卓基本语句有public boolean onOptionsItemSelected(MenuItem item) { // Handle action bar item clicks here. The action bar will // automatically handle clicks on the Home/Up button, so long // as you specify a parent activity in AndroidManifest.xml. int id = item.getItemId(); if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } //1实力化 private void m1() { etUserName=(EditText) this.findViewById(R.id.etUserName); etPassword=(EditText) this.findViewById(R.id.etPassword); btnLogin=(Button) this.findViewById(R.id.btnLogin); btnReset=(Button) this.findViewById(R.id.btnReset); myIntent=new Intent(getApplicationContext(), FrmMain.class); } //2监听器

    0
    69
    3KB
    2014-10-18
    9
  • 安卓文档的文件

    安卓资源资料:android的创建,第一个android程序 1重点:四层架构 2.按钮的单机事件: 1:匿名类:    实例化接口OnClickListener,产生了一个匿名的内部方法。

    0
    79
    27KB
    2014-06-18
    0
关注 私信
上传资源赚积分or赚钱