自定义的Toast类布局文件 自定义toast的布局界面toast.xml myToast.javapackage com.kale.toast;import android.content.Contex...
分类:
编程语言 时间:
2014-07-22 22:50:54
阅读次数:
317
下面代码就是获取到用户通讯录头像的代码: ContentResolver?cr?=?view.getContext().getContentResolver();
Uri?uri?=?ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI,
Long.parseLon...
分类:
其他好文 时间:
2014-07-22 09:13:35
阅读次数:
175
jap:
<%@?page?language="java"?contentType="text/html;?charset=UTF-8"?pageEncoding="UTF-8"%>//都改为utf-8
<meta?http-equiv="Content-Type"?content="text/html;?charset=UTF-8">//utf-8
tomcat...
分类:
其他好文 时间:
2014-07-22 09:10:34
阅读次数:
241
### 1. 首先需要在 pom.xml 中配置如下的 snapshots 仓库 oss-snapshots https://oss.sonatype.org/content/repositories/snapshots false true ### 2. 然后加入 snapshots 依赖 com.github.subchen jetbrick-al...
分类:
其他好文 时间:
2014-07-21 10:38:28
阅读次数:
477
服务端如何暴露IBinder接口对象:
package com.example.mydownload;
import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
public class MyService extends Se...
分类:
其他好文 时间:
2014-07-20 09:34:28
阅读次数:
201
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><metahttp-equiv="Content-Type"content="text/html;charset=UTF-8"><title>你爸爸</title><!--CSS样式--><style..
分类:
Web程序 时间:
2014-07-20 03:24:36
阅读次数:
251
package com.example.sharepreferen;import android.content.Context;import android.content.SharedPreferences;import android.content.SharedPreferences.Edi...
分类:
移动开发 时间:
2014-07-19 22:38:25
阅读次数:
277
package com.kale.utils;import android.content.Context;import android.graphics.Bitmap;import android.graphics.BitmapFactory;import android.graphics.Can...
分类:
其他好文 时间:
2014-07-19 22:38:10
阅读次数:
285
在实际的开发当中,编译器没有智能提示,确实是效率很低,下面我就给大家讲一下在MyEclipse中设置智能提示,方便大家的开发,希望能帮到大家。方法一:首先,在MyEclipse的菜单栏中找到window→Preferences→Java→Editor→Content Assist,然后将Auto a...
分类:
系统相关 时间:
2014-07-19 22:19:14
阅读次数:
242
前言:相比基于查询的SQL注入,使用insert、update和delete进行SQL注入显得略显另类 参考自:http://www.exploit-db.com/wp-content/themes/exploit/docs/33253.pdf0x1 准备条件 a. mysql数据库 b....
分类:
数据库 时间:
2014-07-19 14:18:29
阅读次数:
333