??
这年头用gallery的已经很少了,此文提供一个一次滑动只滑动到下一页的方法(包括快速滑动)。
import android.content.Context;
import android.util.AttributeSet;
import android.view.KeyEvent;
import android.view.MotionEvent;
import and...
分类:
其他好文 时间:
2014-07-26 02:48:06
阅读次数:
236
收集了很多bitmap相关的处理方法,几乎全部应用在项目中,所以特记录下!
package com.tmacsky.utils;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import android.content.Context;
import android.content.res.Resourc...
分类:
移动开发 时间:
2014-07-26 02:30:06
阅读次数:
348
I would like to know what would be the best way to save contents from a web page. I mean to force save-as option by clicking a link or button. I often found that javascript would not be an option beca...
分类:
Web程序 时间:
2014-07-26 02:29:06
阅读次数:
297
DBAdapter数据库辅助类package com.databses; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; impor...
分类:
数据库 时间:
2014-07-26 00:19:26
阅读次数:
335
package com.broadcasttest; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android...
分类:
移动开发 时间:
2014-07-26 00:15:26
阅读次数:
365
meta是什么?meta其实是html语言head区的一个辅助性标签。在几乎所有的网页里,我们都可以看到类似下面这段html代码:有人要说,这段代码好象可有可无,没有多大实际作用嘛!其实不是没用,而是你没有用好meta标签。为什么这样说呢?这是因为meta标签有许多参数,使用不同的参数就可以使主页实...
分类:
Web程序 时间:
2014-07-25 19:07:01
阅读次数:
293
1. [代码]javascript 简单的search ?2. [代码][JavaScript]代码 var fs=require('fs');var path=require('path');function quick_cloud(page_path){ var content=fs.rea.....
分类:
编程语言 时间:
2014-07-25 19:02:32
阅读次数:
538
android开发3:四大基本组件的介绍与生命周期Android四大基本组件分别是Activity,Service服务,Content Provider内容提供者,BroadcastReceiver广播接收器,。生命周期是指进程周期 – 创建到结束的过程进程类别前台进程:当前正在前台运行的进程可见进...
分类:
移动开发 时间:
2014-07-25 13:55:41
阅读次数:
222
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.Uri;
import android.net.NetworkInfo.State;
import android.telephony.Telephony...
分类:
移动开发 时间:
2014-07-25 11:20:01
阅读次数:
269
A method of transmitting a content reply packet from a content owner in content-centric networking (CCN) includes determining a caching capability val...
分类:
Web程序 时间:
2014-07-25 03:46:36
阅读次数:
381