android
jun471537173
这个作者很懒,什么都没留下…
展开
-
【android基础】通过线程更新主UI
activity_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_原创 2013-06-20 10:55:19 · 594 阅读 · 0 评论 -
[翻译]实例:在Android调用WCF服务
转自:http://www.cnblogs.com/yiway/archive/2011/12/16/Consuming_WCF_Serveric_With_Android.html 原文:http://fszlin.dymetis.com/post/2010/05/10/Comsuming-WCF-Services-With-Android.aspx 在移动设备中,使用XML传转载 2013-06-21 17:12:43 · 1031 阅读 · 0 评论 -
【android基础】android preferences
Preferences是一种应用程序内部轻量级的数据存储方案。 通过Context对象的getSharedPreferences方法获得的对象可以被同一应用程序下其他组件共享,而使用Activity对象的getPreferences方法获得的对象只能被调用该方法所在的Activity使用。 activity_preferences.xml <RelativeLayout xmlns:原创 2013-06-21 16:14:00 · 643 阅读 · 0 评论 -
【android基础】android文件操作
activity_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:lay原创 2013-06-21 14:37:46 · 516 阅读 · 0 评论 -
android GridView 用法
转自:http://blog.sina.com.cn/s/blog_55afbecd0100zlv7.html 1. GridView的xml描述 <GridView android:id="@+id/gridView1" android:layout_width="match_parent" android:layout_height="match_parent" andro转载 2013-06-20 16:15:17 · 728 阅读 · 0 评论 -
【Android基础】页面布局
线性布局 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content">原创 2013-06-20 09:30:44 · 549 阅读 · 0 评论 -
Android ListView的使用
转自:http://www.pin5i.com/showtopic-use-android-listview.html 首先在xml里面定义一个ListView Xml代码 <LinearLayout android:id="@+id/LinearLayout01" android:layout_width="fill_parent"转载 2013-06-20 16:04:13 · 463 阅读 · 0 评论 -
Android的AlertDialog详解
转自:http://www.2cto.com/kf/201205/131876.html AlertDialog的构造方法全部是Protected的,所以不能直接通过new一个AlertDialog来创建出一个AlertDialog。 要创建一个AlertDialog,就要用到AlertDialog.Builder中的create()方法。 使用AlertDialog.Builder创建转载 2013-06-20 09:04:52 · 453 阅读 · 0 评论 -
【Android基础】页面跳转与传值(Activity跳转与传值)
转自:http://www.cnblogs.com/feng88724/archive/2011/02/10/1961225.html 一个Android应用程序很少会只有一个Activity对象,如何在多个Activity之间进行跳转,而且能够互相传值是一个很基本的要求。 本次我们就讲一下,Android中页面跳转以及传值的几种方式! Activity跳转与传值,主要是通过Inte转载 2013-06-20 08:49:51 · 749 阅读 · 0 评论 -
【android基础】android sqllite操作
activity_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:lay原创 2013-06-21 14:48:51 · 646 阅读 · 0 评论