原创 Activity Notes

If either the MAIN action or LAUNCHER category are not declared for one of your activities, then your app icon will n

原创 mongoDB 技巧

1.以"_id" 爲索引,類型爲String,因排序時需要,所以存儲"0001","0002","0100"。重載setId()方法。 public void setId(String id) { this.id = id; }

原创 javascript提交到jsf

點擊一個區域,提交到jsf bean。 <div class="grida"> <div class="category" οnclick="document.getElementById('categoty_filte

原创 android--service 你應該記住的一些事-1

<1>Caution: A service runs in the main thread of its hosting process—the service does not create its own thread and d

原创 得到今天00:00 的紀元毫秒數

// Get today 00:00 milliseconds from epoch. public static long todayMilliSeconds(TimeZone tz) { final C

原创 Java開發中的23種設計模式詳解

設計模式(Design Patterns)                                   ——可複用面向對象軟件的基礎 設計模式(Design pattern)是一套被反覆使用、多數人知曉的、經過分類編目的

原创 jsf 常用標籤

1.h:commandButton   刪除一個對象。 <h:commandButton value="刪除廚房" οnclick="return confirm('確定刪除?')" action="#{kitchenControlle

原创 Activity 的幾個回調函數的用法

You must implement the onCreate() method to perform basic application startup logic that should happen only once for t

原创 android--service 你應該記住的一些事-2

[1].However, if you want the service to send a result back, then the client that starts the service can create a Pendi

原创 linux 命令

kill監聽端口的進程 $ lsof -i:8080 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 2872 samp

原创 java 中的引用類型

Reference Types In Java  原文地址:http://mycodefixes.blogspot.jp/2011/09/reference-types-in-java-part-1.html Lately, I

原创 android--BitMap 你應該記住的一些事-1

[1].Mobile devices typically have constrained system resources. Android devices can have as little as 16MB of memory av

原创 git創建分支,提交分支,刪除分支的開發流程

1.git branch <branch name>     // 在本地創建了新分支,此分支是基於你現在所在的分支之上的。    ************* ************* ************* ***********

原创 jQuery 技巧

1.判斷空屬性 if(typeof($(this).attr("name")) != "undefined")

原创 android自定義View

相關的類: -----------------------------------------------------------------------------------------------------------------