- 博客(10)
- 资源 (1)
- 收藏
- 关注
原创 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 502
原创 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 501
原创 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 518
原创 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 454
原创 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 556
原创 简易计算器
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 591
原创 activity的跳转
1.activity1public class MainActivity extends Activity { /** * Activity第1次创建时调用 */ @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
2013-07-02 10:41:49 438
原创 演示事件处理的三种方式(以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 548
原创 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 430
原创 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 466
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人