2012年11月24日

Android 控件练习 (2)

摘要: 简易的按钮事件Button 事件处理activity_main.xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation=&quo 阅读全文

posted @ 2012-11-24 14:37 每天进步1% 阅读(261) 评论(0) 推荐(0) 编辑

Android java.io.IOException: Unable to open sync connection!

摘要: 在使用手机调试程序的时候出现了java.io.IOException: Unable to open sync connection!这样的异常,我尝试使用拔掉USB然后重新,插入,结果失败。再尝试,关掉USB调试,再重新开启USB调试,结果发现有驱动自动开始安装,安装完成之后,eclipse中device试图出现手机,调试完成,运行测试工程,正确通过。所以,解决java.io.IOException: Unable to open sync connection!方案:关掉USB调试,然后重新开启。 阅读全文

posted @ 2012-11-24 13:51 每天进步1% 阅读(165) 评论(0) 推荐(0) 编辑

Android 控件练习

摘要: 更改与显示文字标签:TextView 标签的使用activity_main.xml<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" > <TextView and 阅读全文

posted @ 2012-11-24 11:34 每天进步1% 阅读(921) 评论(0) 推荐(0) 编辑

导航