随笔分类 -  Android推荐资源

Android Manifest.permission
摘要:<uses-sdk android:minSdkVersion="8" /> <!-- Allows an application to get information about the currently or recently running tasks --> <uses-permission android:name="android.permission.GET_TASKS" /> <uses-permission android:name="android.permission.RECEI 阅读全文

posted @ 2012-11-28 11:18 每天进步1% 阅读(748) 评论(0) 推荐(0)

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% 阅读(269) 评论(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% 阅读(172) 评论(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% 阅读(931) 评论(0) 推荐(0)

Android 各种布局技术-五大布局对象
摘要:android:layout_width只能设置fill_parent(横向填充整个屏幕)或wrap_content(横向填充控件本身大小)android:width设置具体控件的横向大小 单位是像素FrameLayout, LinearLayout ,RelativeLayout,AbsoluteLayout, TableLayout.AbsoluteLayout这个不长用,FrameLayout,TableLayout.比较少用LinearLayout,RelativeLayout这两个经常用,几乎每个文件里都会用到----- FrameLayout-----FrameLayout是最简单 阅读全文

posted @ 2012-11-22 23:10 每天进步1% 阅读(220) 评论(0) 推荐(0)

导航