Notepad++是windows下的一个强大的文本编辑器;
它免费,开源,
比windows自带的记事本强大百倍; 我自己的感觉:
1.打开超大的文本文件,比如100M大小的文本格式的数据,记事本会罢工,Notepad++毫无压力;
2.支持种类繁多的代码的scheme, 比某些收费软件支持的还好, 比如EditPad pro居然不支持matlab/octave脚本的;
3.编辑方面,...
分类:
其他好文 时间:
2014-06-19 11:08:45
阅读次数:
282
什么是Data Url呢?Data URI scheme是在RFC2397中定义的,目的是将一些小的数据,直接嵌入到网页中,从而不用再从外部文件载入。那么如何才能生成Data Url呢?今天我就教大家自己用Visual Studio 2010打造一款Data Url生成工具的方法。...
分类:
其他好文 时间:
2014-06-16 12:18:27
阅读次数:
312
一、所需素材
很有必要整理一下,里面附带友盟的社会化分享组件,我就不去掉了。二、代码import
com.umeng.update.UmengUpdateAgent;import android.app.Activity;import
android.content.Intent;import an...
分类:
移动开发 时间:
2014-06-16 10:52:56
阅读次数:
538
AnIntentis an object that provides runtime
binding between separate components (such as two activities).
Theintentrepresents an app’s "intent to do so...
分类:
移动开发 时间:
2014-06-16 10:00:27
阅读次数:
248
Intent resultIntent = null; if
(!TextUtils.isEmpty(tid)){ resultIntent = new Intent("com.shijiebang.notify");
resultIntent.putExtra("_notify_url...
分类:
其他好文 时间:
2014-06-16 00:29:55
阅读次数:
297
简单的广播与( Intent )接收.在Android中很多很多地方都会使用到广播,操作系统使用广播讲信息传递到其他的应用程序中去,也会产生很多设备状态的广播......唉,算了算了,嘿嘿一.广播Android框架支持的广播有两种类型:普通广播( normal broadcast )和有序广播( o...
分类:
移动开发 时间:
2014-06-15 23:10:20
阅读次数:
320
Android开发中,通常会使用BroadcastReceiver来接受Push推送消息。当APP收到推送通知时,我们需要在通知的点击事件中加入自己的逻辑。比如跳转到MainActivity。比如下面的代码(注意红色部分):public void onReceive(Context context, Intent intent) {
Bundle bundle = intent.g...
分类:
移动开发 时间:
2014-06-15 19:54:15
阅读次数:
251
///// 第一步:获取NotificationManager
NotificationManager nm = (NotificationManager)
getSystemService(Context.NOTIFICATION_SERVICE);
///// 第二步:定义Notification
Intent intent = new Intent(this, Oth...
分类:
移动开发 时间:
2014-06-15 16:16:47
阅读次数:
182
使用Intent和IntentFilter通信Android应用的资源
分类:
移动开发 时间:
2014-06-15 07:41:44
阅读次数:
202