摘要: 使用演练代码可以了解以下内容: ASP.NET MVC2 EntityFramework Castle 邮件验证 图片上传 路由监视 单元测试数据翻页 分层架构 ....... 等 ^_^ 其实都是一些开发常用居家过日子基础功能啊。阅读代码是掌握新技术的就快捷径。由于代码写的时间比较早了,EntityFramework已经经过数次改版,有些概念可能已经发生变化。也许程序执行的时候会发生爆炸!请带好安全帽!功能介绍: 实现了用户根据分类发布房屋信息,系统根据用户的邮箱来判断是否是已经存在的用户。每条信息发送后会给发信人的邮箱发送验证代码。验证过的信息不会显示问号(表示信息未经过验证)。主界面:列 阅读全文
posted @ 2011-03-25 20:19 敏捷学院 阅读(680) 评论(1) 推荐(0) 编辑
摘要: 在Android模拟SD卡环境 本演练以 2. 搭建Android开发环境 为前提 (需要预先将你放置android sdk所在目录下的tools设置到环境变量path中) 1. 创建 sd文件 命令行运行: mksdcard -l sdlabel 512M mysd.img 2. 加载sd文件 eclipse IDE 运行 run configurations 在Target的 Additonal Emulator Command Line Options 里填写具体的sd路径,注意路径分割符号,文件夹名称不要有空格。 -sdcard E:/Z/mySDCards/mysd.img 使用命令 阅读全文
posted @ 2011-03-25 17:29 敏捷学院 阅读(273) 评论(0) 推荐(0) 编辑
摘要: <<BroadcastReceiverDemo.zip>> Intnet & Broadcast 示例演示 新建项目BroadcastReceiverDemo项目,编辑AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.tutorial" 阅读全文
posted @ 2011-03-25 17:28 敏捷学院 阅读(280) 评论(0) 推荐(0) 编辑
摘要: <<SQLiteDemo2.zip>> SQLite Demo 2 本演练演示一个日记本程序 新建项目SQLiteDemo2, 编辑res/layout/main.xml 文件 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk /res/android" android:layout_width="wrap_content" a 阅读全文
posted @ 2011-03-25 17:27 敏捷学院 阅读(400) 评论(0) 推荐(0) 编辑
摘要: <<SQLiteDemo1.zip>> SQLite Demo1 演示 演示操作SQLite数据库 新建项目SQLiteDemo1,编辑res/layout/main.xml 布局文件: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" an 阅读全文
posted @ 2011-03-25 17:25 敏捷学院 阅读(536) 评论(1) 推荐(0) 编辑
摘要: <<PrefsDemo_Dialog.zip>> Dialog(使用对话框的Preferences) 新建项目 PrefsDemo_Dialog 编辑res/layout/main.xml文件 <?xml version="1.0" encoding="utf-8"?> <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent&qu 阅读全文
posted @ 2011-03-25 17:24 敏捷学院 阅读(685) 评论(0) 推荐(0) 编辑
摘要: <<PrefsDemo_Structured.zip>> Structured(分组的Prefereces) 新建项目 ProfsDemo_Structured. 编辑res/layout/main.xml布局文件 <?xml version="1.0" encoding="utf-8"?> <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fil 阅读全文
posted @ 2011-03-25 17:21 敏捷学院 阅读(257) 评论(0) 推荐(0) 编辑
摘要: <<PrefsDemo_Simple.zip>> 使用Xml布局文件描述 Preferences 新建项目 Prefs_Simple 编辑 res/layout/main.xml 配置文件 <?xml version="1.0" encoding="utf-8"?> <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" 阅读全文
posted @ 2011-03-25 17:20 敏捷学院 阅读(547) 评论(0) 推荐(0) 编辑
摘要: Source codeSharePreferences Demo2 新建项目PreferDemo, 编辑res/layout/main.xml布局文件: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill 阅读全文
posted @ 2011-03-25 17:18 敏捷学院 阅读(191) 评论(0) 推荐(0) 编辑
摘要: <<SharedPreferencesDemo.zip>> SharedPreferences 存储方式 SharedPreferences 用来存储一些简单的配置信息。 新建项目SharedPreferencesDemo,编辑res/layout/main.xml文件 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" a 阅读全文
posted @ 2011-03-25 17:17 敏捷学院 阅读(363) 评论(0) 推荐(0) 编辑
摘要: <<ToastNotificationDemo.zip>> Notificaton和Toast演示 新建项目 ToastNotificationDemo,修改res/layout/main.xml布局文件: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertica 阅读全文
posted @ 2011-03-25 17:10 敏捷学院 阅读(400) 评论(0) 推荐(0) 编辑
摘要: <<DialogDemo.zip>> Dialog 演示 新建项目DialogDemo. 编辑res/layout/main.xml 布局文件: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width=&q 阅读全文
posted @ 2011-03-25 17:07 敏捷学院 阅读(395) 评论(0) 推荐(0) 编辑
摘要: <<ListViewDemo.zip>> ListView演示 新建项目ListViewDemo,编辑res/layout/main.xml 布局文件如下: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_wi 阅读全文
posted @ 2011-03-25 17:05 敏捷学院 阅读(699) 评论(1) 推荐(1) 编辑
摘要: Download Source Code <<ActivityIntentDemo.zip>> Activity 和 Intent 演示 使用startActivity()方法在Activity之间切换 使用Intent.putExtra()、Intent.putExtras()方法保存需要传递的数据 使用startActivityForResult()方法在Activity之间传递参数 重载onActivityResult()方法处理回传数据 使用Intent.getExtra()、Intent.getExtras()方法获取传递的数据 新建项目ActivityInt 阅读全文
posted @ 2011-03-25 17:02 敏捷学院 阅读(406) 评论(0) 推荐(0) 编辑
摘要: Download Source Code Menu 演示 重载onCreateOptionsMenuMenu创建菜单 重写 onOptionsItemSelected()方法,处理菜单项的选中 新建项目MenuDemo,修改res/layout/main.xml布局文件: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orie 阅读全文
posted @ 2011-03-25 16:58 敏捷学院 阅读(333) 评论(0) 推荐(0) 编辑
摘要: WidgetDemo主界面 创建项目WidgetDemo 编辑main.xml <?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" > <LinearLayo 阅读全文
posted @ 2011-03-25 16:49 敏捷学院 阅读(545) 评论(0) 推荐(0) 编辑
摘要: UI布局 如何使用FrameLayout布局 如何单独使用LinearLayout布局 如何单独使用RelativeLayout布局 结合LinearLayout和RelativeLayout布局 如何使用TableLayout布局 FrameLayout 创建项目 Layouts,用于布局的演示。 打开res/layout/main.xml 如下编辑 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.andro 阅读全文
posted @ 2011-03-25 16:39 敏捷学院 阅读(846) 评论(0) 推荐(0) 编辑
摘要: QuickStart 代码下载! 阅读全文
posted @ 2011-03-25 16:36 敏捷学院 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Google Map View 本演练演示Google Maps library, 你可以创建自己的google地图。 注意本演练需要使用扩展了Google Maps library的 Android SDK 。 Part1 Create a map Activity 新建项目 HelloGoogleMaps。 Maps library 不是标准的Android library. 必须在 Android Manifest 中声明。打开AndroidManifest.xml 为<application>节增加下面的配置节。 <uses-library android:name= 阅读全文
posted @ 2011-03-25 16:30 敏捷学院 阅读(327) 评论(0) 推荐(0) 编辑
摘要: Gallery Gallery是一个水平滚动项的布局控件。 本演练将创建一个相册走廊,同时显示选中的图片信息。 新建项目HelloGallery。 将使用的图片放入res/drawable目录。 3. 打开res/layout/main.xml文件编辑如下。 <?xml version="1.0" encoding="utf-8"?> <FrameLayout android:id="@+id/FrameLayout01" android:layout_width="fill_parent" an 阅读全文
posted @ 2011-03-25 16:29 敏捷学院 阅读(284) 评论(0) 推荐(0) 编辑