摘要: If the command line way of configuring your proxy server doesn't work, you can probably just edit .gitconfig (in the root of your profile, which may h... 阅读全文
posted @ 2015-09-12 21:21 沧海一滴 阅读(276) 评论(0) 推荐(0) 编辑
摘要: To navigate to the implementation(s) of an abstract method, position the caret at its usage or its name in the declaration and press Ctrl+Alt+B. Use C 阅读全文
posted @ 2015-09-12 20:09 沧海一滴 阅读(499) 评论(0) 推荐(0) 编辑
摘要: 用过Android系统手机的朋友们相比都知道,AndroidOS的短信和iOS一样,是以会话模式展现的,这种展现方式很容易让使用者查找以前的聊天记录。关于用代码删除短信,其实删除的也是对话,无论是最近的,还是以前的,统统都会一并删除。下面来看那代码。首先需要得到得到短信目录。view plainCo... 阅读全文
posted @ 2015-09-12 16:59 沧海一滴 阅读(915) 评论(0) 推荐(0) 编辑
摘要: public void sendNotification(Context ctx,String message) { //get the notification manager Str... 阅读全文
posted @ 2015-09-12 16:58 沧海一滴 阅读(1775) 评论(0) 推荐(0) 编辑
摘要: 方法一:调用默认的短信程序Intent intent = new Intent(Intent.ACTION_VIEW);intent.setType("vnd.android-dir/mms-sms");intent.setData(Uri.parse("content://mms-sms/conv... 阅读全文
posted @ 2015-09-12 14:20 沧海一滴 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 上回我们提到在4.0ICS之后,Google为Android平台的Notification这把“倚天剑”注入了更多新鲜的元素,使其更加实用美观。Notification的样式从此变得丰富起来,以适应于不同情景的需要。就像最近非常流行的神曲《江南style》一样,在世界各个角落出现了各种方言的... 阅读全文
posted @ 2015-09-12 13:52 沧海一滴 阅读(222) 评论(0) 推荐(0) 编辑
摘要: C++垃圾回收机制(C++人工手动回收垃圾,累死工人.....)java垃圾回收机制(java自动回收垃圾,每次回收的都不彻底)啥叫职业病?职业病就是作为一个挨踢民工,如果有一天5点钟就下班,你会很无比内疚;如果连续两天5点下班,你会无比自责;如果连续三天5点下班,你会严重怀疑公司是不是准备把你给炒... 阅读全文
posted @ 2015-09-12 13:28 沧海一滴 阅读(457) 评论(0) 推荐(0) 编辑