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
contentSize:The size of the content view. 其实就是scrollview可以滚动的区域,比如frame = (0 ,0 ,320 ,480) contentSize = (320 ,960),代表你的scrollview可以上下滚动,滚动区域为frame大小的...
分类:
其他好文 时间:
2014-07-19 09:03:08
阅读次数:
203
package com.example.helloworld; import android.os.Bundle;import android.app.Activity;import android.content.Intent;import android.view.Menu;import and...
分类:
移动开发 时间:
2014-07-19 00:39:34
阅读次数:
207
function trimUTF8BOM($file){ $content = file_get_contents($file); if(substr($content, 0, 3) == pack('CCC', 239, 187, 191)) { $content = s...
分类:
Web程序 时间:
2014-07-19 00:32:06
阅读次数:
266
第一个方法:append()方法 【1】$(selector).append(content)//向匹配的所有标签中的内容末尾处添加Html代码,会编译成页面显示。 1 2 3 4 11 12 13 This is a paragraph.14 This is another para...
分类:
Web程序 时间:
2014-07-18 22:11:16
阅读次数:
329
HTML: 得到网页源代码 得到任意网页源代码 http://dotnet.aspx.cc/content.aspx ASPX:using System;using Syste...
分类:
Web程序 时间:
2014-07-18 17:38:25
阅读次数:
279
字符截取显示var text = $(".content").text();var textNum = text.length;var textInt = text.slice(0,140);$(".content").each(function () {if (textNum >= 160) {$...
分类:
Web程序 时间:
2014-07-18 15:02:55
阅读次数:
379