随笔分类 -  安卓开发

摘要:首先说一下按钮,单选按钮,复选框的监听器的实现方法可以有两种:(1)第一种: (2)第二种: 下面说一下单选按钮和复选框的监听器的实现方法: 单选按钮: RadioGroup是单选按钮的组;RadioId代表的选中组中的那个按钮 复选按钮: buttonView代表复选按钮;isChecked代表是否被选中 阅读全文
posted @ 2013-11-28 18:24 huangshuo.007 阅读(529) 评论(0) 推荐(0)
摘要:问题:The connection to adb is down, and a severe error has occured.You must restart adb and Eclipse.Please ensure that adb is correctly located at 'D:\adt-bundle-windows-x86_64-20130917\sdk\platform-tools\adb.exe' and can be executed.解决办法:(先尝试第二种,如果不可以再尝试第一种)(1)在任务管理器中关闭adb,然后重启eclipse(2)在cmd中 阅读全文
posted @ 2013-10-30 09:47 huangshuo.007 阅读(221) 评论(0) 推荐(0)