安卓技巧
文章平均质量分 68
feilong1105
心中无敌,无敌于天下.
展开
-
Android常用意图
以下是常用到的Intent的URI及其示例,包含了大部分应用中用到的共用Intent。 一、打开一个网页,类别是Intent.ACTION_VIEW Uri uri = Uri.parse(“http://blog.3gstdy.com/”); Inte转载 2011-07-03 11:24:17 · 1130 阅读 · 0 评论 -
android在文本中添加超链接
在TextView中使用超级连接有几种方式:1.在属性中设置:TextView android:id="@+id/testweb" android:layout_width="fill_parent" android:layout_height="wrap_content" android:autoLink="web" //是将文本的web网址解释成超链原创 2012-02-05 20:43:09 · 1893 阅读 · 0 评论 -
Android数据存储详解
1.SQLite简介SQLite是一种流行的关系数据库管理系统(Relational Database Managerment System RDBMS).2.SQLite数据类型SQLite,SQLite3支持NULL、INTEGER、REAL(浮点数字原创 2011-05-18 21:43:00 · 2031 阅读 · 0 评论 -
Menu菜单设计技巧
代码如下: public class MenuActivity extends Activity { private static final int ADD_ID = Menu.FIRST; private static final int DELETE_ID =原创 2011-08-19 15:58:02 · 1469 阅读 · 0 评论 -
如何运用相对布局(Relative Layout)
list.xml代码android:orientation="vertical" android:layout_width="fill_parent"android:layout_height="fill_parent">原创 2011-08-30 16:37:50 · 1791 阅读 · 0 评论 -
ListView列表的用法
1、MainActivity.java:public class MainActivity extends Activity implements OnItemClickListener { public static final int RELOAD_ID = Menu.F原创 2011-08-20 13:49:38 · 1381 阅读 · 0 评论 -
Button按钮的用法
1、代码如下:/res/layout/main.xmlandroid:orientation="vertical"android:layout_width="fill_parent"android:layout_height="fill_p原创 2011-08-20 10:00:47 · 7138 阅读 · 0 评论 -
android中TextView文本中超链接、E-mail、电话的触发
Xml代码?xml version="1.0" encoding="utf-8"?> 我的博客地址是:http://flysnow.iteye.com \n我的电话是:400-34534-500\n我的email是12235@163.com原创 2011-09-14 13:40:07 · 6694 阅读 · 0 评论 -
Menu菜单用法!
public class Ex01 extends Activity { public static final int ADD_ID = Menu.FIRST; public static final int DELETE_ID = Menu.FIRST + 1;原创 2011-07-24 13:38:55 · 1780 阅读 · 0 评论 -
如何在android手机项目中加入广告
对于很多个人或者小组android程序开发人员来说,他们更愿意选择Free来让他们的产品更加吸引人。而与此同时赚钱的需求,让们寻找第三方广告商的介入,AdMob就是最近蹿红的,手持移动设备广告中介商。 这篇文章就是阐述,如何在你的Project中加入广告源代码,使AdMo转载 2011-07-08 21:11:27 · 1974 阅读 · 0 评论 -
改变Eclipse背景色
1、windows->peferences->General->Editors->Text EditorAppearance color options:2、选择Background color3、去掉System default 在color里选择颜色4、然后apply原创 2012-02-16 07:56:48 · 1002 阅读 · 0 评论