摘要: package com.smarttpapers.reader.dialog;import android.app.Activity;import android.app.Dialog;import android.content.ContentResolver;import android.content.Context;import android.net.Uri;import android.provider.Settings;import android.provider.Settings.SettingNotFoundException;import android.view.Win 阅读全文
posted @ 2012-05-15 10:26 Qiengo 阅读(961) 评论(0) 推荐(0) 编辑
摘要: <resources> <style name="dialog" parent="@android:style/Theme.Dialog"> <item name="android:backgroundDimEnabled">false</item><!--activity不变暗--> </style></resources>Dialog = new Dialog(Activity, R.style.dialog); 阅读全文
posted @ 2012-05-14 15:20 Qiengo 阅读(388) 评论(0) 推荐(0) 编辑
摘要: space-------"%20""\n"-------"%0D%0A""%"-------"%25""+"-------"%2B""/"-------"%2F""?"-------"%3F""="-------"%3D""&"-------"%26""#"------- 阅读全文
posted @ 2012-05-14 14:23 Qiengo 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 1.今天已开机就打不开网页,总是崩溃,查了查百度,有人提出金山词霸取词的原因,关掉金山词霸后,一切正常!!!!! 阅读全文
posted @ 2012-05-14 09:33 Qiengo 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 1、文本标签(命令)<pre></pre> 创建预格式化文本<h1></h1> 创建最大的标题<h6></h6> 创建最小的标题<b></b> 创建黑体字<i></i> 创建斜体字<tt></tt> 创建打字机风格的字体<cite></cite> 创建一个引用,通常是斜体<em></em> 加重一个单词(通常是斜体加黑体)<strong></strong> 加重一个单词(通常是斜体 阅读全文
posted @ 2012-05-10 16:37 Qiengo 阅读(873) 评论(0) 推荐(0) 编辑
摘要: package Android.HelloAndroid; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.os.Bundle; import android.widget.TextView; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net.NetworkInfo.State; public cl 阅读全文
posted @ 2012-05-10 10:17 Qiengo 阅读(571) 评论(0) 推荐(0) 编辑
摘要: SharedPreferences 在具体介绍Android的设置界面的实现之前,我们先来介绍一下预备知识,就是Android数据持久化方法中最简单的一种,即使用Preferences的键值对存储方式。这种方式主要用来存储比较简单的一些数据,而且是标准的Boolean、Int、Float、Long、String等类型。android.content.SharedPreferences是一个接口,用来获取和修改持久化存储的数据。有三种获取系统中保存的持久化数据的方式:1.publicSharedPreferencesgetPreferences(intmode) 通过Activity对象获取,获 阅读全文
posted @ 2012-05-09 14:53 Qiengo 阅读(303) 评论(0) 推荐(0) 编辑
摘要: PreferenceActivity是如何保存的数据。对Android系统了解的都知道,Android系统有四种基本的数据保存方法,一是SharedPreference,二是文件,三是SQLite,四是ContentProvider。看出来了吧,Preference,对就是使用SharedPreferneces以键值对的形式进行保存的,当然,我们也可以通过SharedPreferences来获取PreferenceActivity设置的值。创建Android项目,并添加一个Android xml文件。注意,这次选择的不是Layout,而是Preference,而且注意Folder路径是 r.. 阅读全文
posted @ 2012-05-09 11:37 Qiengo 阅读(646) 评论(0) 推荐(0) 编辑
摘要: 1.manifest中声明处理搜索的Activity(仅此声明后就可以调用)<meta-data android:name="android.app.default_searchable" android:value=".OnSearchAppsList" />2.Activity定义<activity android:name=".OnSearchAppsList"android:configChanges="orientation|keyboardHidden|navigation"andro 阅读全文
posted @ 2012-05-08 15:56 Qiengo 阅读(1549) 评论(0) 推荐(0) 编辑
摘要: 1. 超清晰MV音悦台 这里不只有高清MVwww.yinyuetai.com2. 收藏优美图片网www.topit.me3. 搭配网 解决穿衣问题www.dapeiwang.com4. songtaste 用音乐倾听彼此 每天你都会发现新的朋友,你们听着同样的音乐,甚至喝着同样的咖啡www.songtaste.com5. 煎蛋网 地球上没有新鲜事http://jandan.net6.时光网 所有电影资讯www.mtime.com8.俩个人 专为恋爱的人设置的网站www.liageren.com13.普及社 潮流地www.pkpop.com14.永远在变的video 它会读取你的IP 地址,以. 阅读全文
posted @ 2012-05-07 18:22 Qiengo 阅读(4424) 评论(0) 推荐(0) 编辑