会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
DN
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
109
110
111
112
113
114
115
116
下一页
2012年7月2日
Log 开关
摘要: /** * @param type * 1.Log.i 2.Log.e 3.Log.d * @param tag * @param msg * Log.i(tag, msg); */ static void sLog(int type ,String tag, String ...
阅读全文
posted @ 2012-07-02 17:23 aiplus
阅读(415)
评论(0)
推荐(0)
2012年4月23日
SQLiteDatabase
摘要: package com.demo.database;import java.io.File;import android.app.Activity; import android.app.AlertDialog; import android.content.ContentValues; ...
阅读全文
posted @ 2012-04-23 15:14 aiplus
阅读(199)
评论(0)
推荐(0)
2012年4月20日
no
摘要: File f=new File(“路径”)if(f.exist()){f.delete();}///权限
阅读全文
posted @ 2012-04-20 17:14 aiplus
阅读(139)
评论(0)
推荐(0)
2012年4月19日
Ubuntu Install Method
摘要: 1. 主分区 挂载点 选择 / (最大空间分配,Ext4,Ext3皆可)2. 逻辑分区 home分区 挂载点 /home3. 交换分区 最小Ext3与Ext4的区别Linuxkernel 自 2.6.28 开始正式支持新的文件系统 Ext4。 Ext4 是 Ext3 的改进版,修改了 Ext3中部分...
阅读全文
posted @ 2012-04-19 09:55 aiplus
阅读(184)
评论(0)
推荐(0)
2012年4月9日
9 Reasons to Travel the World
摘要: “Twenty years from now you will be more disappointed by the things you didn’t do than by the ones you did do. So throw off the bowlines, sail away fro...
阅读全文
posted @ 2012-04-09 09:44 aiplus
阅读(203)
评论(0)
推荐(0)
2012年4月1日
android 异步图片处理 工具类
摘要: 工具代码 public class AsyncUploadImage extends AsyncTask { private static final String TAG = "AsyncUploadImage "; ImageView iv; private HttpURLConnection ...
阅读全文
posted @ 2012-04-01 15:37 aiplus
阅读(186)
评论(0)
推荐(0)
android 跨应用跳转 启动其他应用指定界面
摘要: //应用 A 跳转到应用B指定界面//应用A调转的intent代码Intent intent = new Intent(); ComponentName comp = new ComponentName("com.xxx.xxxx", "com.xxx.xxx.BActivity"); ...
阅读全文
posted @ 2012-04-01 10:42 aiplus
阅读(2540)
评论(0)
推荐(0)
2012年3月28日
常用正则表达式
摘要: 正则表达式用于字符串处理、表单验证等场合,实用高效。现将一些常用的表达式收集于此,以备不时之需。注:以下内容来自网络,因正则表达库不同可能部分不适用匹配HTML标记的正则表达式:]*>.*?|评注:网上流传的版本太糟糕,上面这个也仅仅能匹配部分,对于复杂的嵌套标记依旧无能为力匹配首尾空白字符的正则表...
阅读全文
posted @ 2012-03-28 11:16 aiplus
阅读(117)
评论(0)
推荐(0)
2012年3月15日
Android 中 Base64的操作应用
摘要: /** * <p>将文件转成base64 字符串</p> * @param path 文件路径 * @return * @throws Exception */ public static String encodeBase64File(String path) throws Exception { File file = new File(path); FileInputStream inputFile = new FileInputStream(file); byte[] buffer = n...
阅读全文
posted @ 2012-03-15 11:16 aiplus
阅读(4357)
评论(0)
推荐(0)
Android 中Base64的操作
摘要: /** * 将文件转成base64 字符串 * @param path 文件路径 * @return * @throws Exception */ public static String encodeBase64File(String path) throws Exception { ...
阅读全文
posted @ 2012-03-15 10:56 aiplus
阅读(606)
评论(0)
推荐(0)
上一页
1
···
109
110
111
112
113
114
115
116
下一页
公告
悬浮按钮示例
↑
↓