原创 Andorid Service and WakeLock

http://stackoverflow.com/questions/14128126/service-wakelock What I am hearing from this forum, the service might tu

原创 how to put the text on the left of a radio button in android

http://stackoverflow.com/questions/18914792/how-to-put-the-text-on-the-left-of-a-radio-button-in-android Add android:g

原创 ie下碰到的一個問題console.log

http://huangyunbin.iteye.com/blog/1630689 在js中爲了調試a變量,在js中加入了console.log(a);,然後在ie中發現和我想的不一樣,在ie中執行到console.log(a);就不往下

原创 is this struts 1.x form bean in session scope or request scope?

http://stackoverflow.com/questions/6795959/is-this-struts-1-x-form-bean-in-session-scope-or-request-scope If unspeci

原创 Perform search on Android within the same activity

http://stackoverflow.com/questions/6499159/perform-search-on-android-within-the-same-activity You should rather use and

原创 Maven Skip Test

在使用mvn package進行編譯、打包時,Maven會執行src/test/java中的JUnit測試用例,有時爲了跳過測試,會使用參數-DskipTests和-Dmaven.test.skip=true,這兩個參數的主要區別是: -

原创 Eclipse ADT的Custom debug keystore所需證書規格

http://stackoverflow.com/questions/15754060/how-to-set-a-custom-keystore-for-debugging-in-eclipse-for-android http://b

原创 Android Launch mode

總結: standard  每次都會新建,每個Task都可以有,且每個Task都可以有多個實例(每個Task都可以有,且可以有多個) singleTop 當前實例如果在棧頂,就不新建實例,調用其OnNewIntent。 如不在棧頂,則新

原创 整合Spring與Struts1的三種方法總結

http://m.poorren.com/spring-struts1-three/ 1.使用Spring 的 ActionSupport 。 2.使用Spring 的 DelegatingRequestProcessor 類。 3.全權

原创 Android Loading SQLite Data Into SpinnerView

In the previous tutorial we have discussed about CRUD Opertaions in , in this tutorial we shall see how to insert the

原创 ViewFlipper與ViewPager區別

ViewFlipper繼承ViewAnimator,切換view的時候是有動畫效果的,適合做ppt,多界面的程序歡迎引導界面,算是個輕量級的組件,適合展示靜態數據,少量數據。 ViewPager繼承ViewGroup。看官網描述,這貨和F

原创 javascript異常處理

http://www.cnblogs.com/aqbyygyyga/archive/2011/10/29/2228824.html javascript異常處理 Posted on 2011-10-29 20:23 許樂 閱讀(75

原创 SSL/TLS協議運行機制的概述

http://www.ruanyifeng.com/blog/2014/02/ssl_tls.html SSL/TLS協議運行機制的概述 作者: 阮一峯 互聯網的通信安全,建立在SSL/TLS協議之上。 本文簡要介紹SSL/T

原创 android 數據變化時notifyDataSetChanged 無效的解決方案

http://ningtukun.blog.163.com/blog/static/18654144520142725053404/ 假定你的數據集合體爲data,如果有新的數據加入或需要把舊數據全部更換,應採用追加的方式,保留data

原创 ViewHolder爲什麼是被設計成static類型的

http://my.oschina.net/u/579493/blog/183766 ViewHolder爲什麼是被設計成static類型的,本人一直沒弄清楚。在網上找了些資料但是一直沒能看到一個能說服我的理由。又說節省內存,保持對象的