摘要: 03-09-2012 09:20 BJTThis year's London Book Fair is set to shine a spotlight on China. Running from April 16th to 18th, the fair is a global marketpla... 阅读全文
posted @ 2012-03-09 17:52 freedragon 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Database Editor - Get access to the offline or online databasehttp://download.exdat.com/file/ode.msi/index-12856.htmlhttp://www.download25.com/install... 阅读全文
posted @ 2012-03-09 16:30 freedragon 阅读(186) 评论(0) 推荐(0) 编辑
摘要: //获取通知管理器 NotificationManager mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); int icon = android.R.draw... 阅读全文
posted @ 2012-03-08 15:31 freedragon 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 03-08 10:39:43.240: W/System.err(3449): java.net.SocketException: No route to host03-08 10:39:43.240: W/System.err(3449): at org.apache.harmony.luni.p... 阅读全文
posted @ 2012-03-08 10:40 freedragon 阅读(114) 评论(0) 推荐(0) 编辑
摘要: //手机屏幕的密度分为低密度(240*320)/中密度(320*480)和高密度(480*800).通过//window.devicePixelRatio属性可以获得当前手机屏幕的密度类型.//如果该属性值为1.5表示高密度;1为中密度;075表示低密度. if (window.devicePixelRatio == 1.5) { alert("高密度屏幕"); } else if (window.devicePixelRatio == 1) { alert("中密度屏幕"); } else if (window.devicePixelRatio == 阅读全文
posted @ 2012-01-03 16:05 freedragon 阅读(529) 评论(0) 推荐(0) 编辑
摘要: UTF-8:Unicode TransformationFormat-8bit,允许含BOM,但通常不含BOM。是用以解决国际上字符的一种多字节编码,它对英文使用8位(即一个字节),中文使用24为(三个字节)来编码。UTF-8包含全世界所有国家需要用到的字符,是国际编码,通用性强。UTF-8编码的文字可以在各国支持UTF8字符集的浏览器上显示。如,如果是UTF8编码,则在外国人的英文IE上也能显示中文,他们无需下载IE的中文语言支持包。 GBK是国家标准GB2312基础上扩容后兼容GB2312的标准。GBK的文字编码是用双字节来表示的,即不论中、英文字符均使用双字节来表示,为了区分中文,将其最 阅读全文
posted @ 2012-01-03 15:11 freedragon 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 在传输数据的时候会用到base64 貌似android 没有提供这个的接口发现以前收集的 base64编解码方法private static final char[] legalChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".toCharArray();/** Base64 encode the given data */ public static String encode(byte[] data) { int start = 0; int len = d... 阅读全文
posted @ 2012-01-03 14:04 freedragon 阅读(499) 评论(2) 推荐(0) 编辑
摘要: 12-26 06:29:17.351: E/AndroidRuntime(911): FATAL EXCEPTION: main12-26 06:29:17.351: E/AndroidRuntime(911): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.hjx.sns.android.activity/com.hjx.sns.android.activity.InterestClassGroupGridView}; have you declared this 阅读全文
posted @ 2011-12-26 14:31 freedragon 阅读(1058) 评论(0) 推荐(0) 编辑
摘要: 怎么Office2003打不开2007版的文件 微软已经提供一个补丁程序,用于office 2003打开2007版文件.附compatibility pack for the 2007 office system下载地址:下载地址一(本地):http://u.monle.com/blog/detail/176.html下载地址二(远程):http://download.microsoft.com/download/9/2/2/9222d67f-7630-4f49-bd26-476b51517fc1/FileFormatConverters.exe在遇到问题的时候既要果断,又要细心。对于不... 阅读全文
posted @ 2011-12-25 12:49 freedragon 阅读(1844) 评论(0) 推荐(0) 编辑
摘要: ADB是一个 客户端-服务器端 程序, 其中客户端是你用来操作的电脑, 服务器端是android设备. 先说安装方法, 电脑上需要安装客户端. 客户端包含在sdk里. 设备上不需要安装, 只需要在手机上打开选项settings-applications-development-USBdebugging. 对于Mac和Linux用户, 下载好的sdk解压后, 可以放~或者任意目录. 然后修改~/.bash_profile文件, 设置运行环境指向sdk的tools目录. 具体是打开~/.bash_profile文件(如果没有此文件也可以自行添加), 在里面加入一行: export PATH... 阅读全文
posted @ 2011-12-24 14:54 freedragon 阅读(394) 评论(0) 推荐(0) 编辑