Android
文章平均质量分 80
谱写那幸福
半路出家
展开
-
Intent实现跳转
1.activity_main.xmlhttp://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"原创 2013-07-02 10:11:51 · 443 阅读 · 0 评论 -
Android开发环境搭建
1.1android开发准备工作 软件下载地址: JDK http://java.sun.com Eclipse http://www.eclipse.org Android SDK http://developer.android.com/sdk/index.html ADT https://dl-ssl.google.com/abdroid/原创 2013-07-02 11:47:00 · 465 阅读 · 0 评论 -
简易计算器
1.activity_main.xmlhttp://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"原创 2013-07-02 10:54:38 · 638 阅读 · 0 评论 -
Android应用实例之有道辞典
1.共用控件EditText,Button,WebView以及查询内容为空的时候用来提示的Toast控件。我们在EditText输入查询内容,这里包括中文,英文。然后通过参数的形式,从http://dict.youdao.com/m取出数据把结果存放在WebView里。2.写程序首先是布局界面main.xml xmlns:android="http://schemas.a原创 2013-07-03 10:33:20 · 519 阅读 · 0 评论 -
imageswitcher切换图片
1.mian.xmlhttp://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > android:原创 2013-07-03 10:19:59 · 512 阅读 · 0 评论 -
tab切换的简单实现
1.main.xmlhttp://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" androi原创 2013-07-02 11:07:17 · 566 阅读 · 0 评论 -
演示事件处理的三种方式(以SayHello为例)
1.MainActivity1public class MainActivity extends Activity { private Button clickButton; private EditText nameText; @Override public void onCreate(Bundle savedInstanceState) {原创 2013-07-02 10:24:02 · 563 阅读 · 0 评论 -
SayHello
1.activity_main.xmlhttp://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"原创 2013-07-02 10:04:40 · 497 阅读 · 0 评论 -
activity的跳转
1.activity1public class MainActivity extends Activity { /** * Activity第1次创建时调用 */ @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);原创 2013-07-02 10:41:49 · 451 阅读 · 0 评论 -
GridView组件的使用
1.grid.xmlhttp://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > androi原创 2013-07-03 09:51:43 · 532 阅读 · 0 评论