[Android] Language Support and Change the Default Language
在販賣 Android 裝置時,需要考慮支援不同的國家語言,甚至為了配合出貨程序,要在出貨時就預載銷售地的語言。為了滿足這項需求,便需要了解一下 Android 系統建置時,相關的語系支援設定。 從 Android Open Source Project 下載回來 Android 2.3.6 的源始碼,可以在 …
difference
在販賣 Android 裝置時,需要考慮支援不同的國家語言,甚至為了配合出貨程序,要在出貨時就預載銷售地的語言。為了滿足這項需求,便需要了解一下 Android 系統建置時,相關的語系支援設定。 從 Android Open Source Project 下載回來 Android 2.3.6 的源始碼,可以在 …
把 Eclipse 的 Workspace 更換位置後,會在 Open Project 時,莫名其妙出現找不到 .project 檔案的錯誤。 這時候就要去把 Project Location 更動一下了,可以在下列位址找到相對應的位址紀錄檔。 workspace/.metadata/.plugins/org.ec …
dirname是在Linux上,用來顯示檔案所處的路徑,使用上必須在命令後面加上字串,這個字串是檔案的完整路徑,也就是 “路徑+檔名” 的形式,如: ”path/to/checkfile.txt” 所以我們只要取得路徑名稱時,只要使用下列命令, dirname &# …
千呼萬喚,Android Ice Cream Sandwich終於釋出了,隨著發表會盛大舉行,Android 4.0 SDK也跟著推出。一看到新版SDK的訊息,二話不說就趕快更新了,現在來看看隨SDK附送的Android 4.0 Emulator是怎麼樣子吧! 首先我們看看手機版的介面,一開始看到的當然是開機進入Hom …
各位在 Linux 下使用 sudo 時,是否會出現 “command not found” 的錯誤訊息? 這是因為預裝的 sudo 在編譯時,–with-secure-path 採用了預設值,而導致原來 User 的 PATH 環境設置項,在 sudo 時被暫時覆蓋。 – …
下面是從 Android 的 Dalvik 拿來的 code,參考看看他的實作內容, 1329 void dvmThreadSleep(u8 msec, u4 nsec) 1330 { 1331 Thread* self = dvmThreadSelf(); 1332 Monitor* mon = gDvm.threa …
In Java, it doesn’t use pointer for representing the variables. The primitive type of variable is used to store a value. For example, int varInt = 1; Th …
If you follow the API in Android SDK to develop Android application, you will encounter the some permission can’t be used even if you have been defined th …
Few days ago, I use the Eclipse IDE for developing C/C++ program.But I had a problem… When I opened a C/C++ project, it will crash.I figure out the first …
In the article “Undelete Files on an ext3 or ext4 File System“, the poster shows the steps of how to undelete files approach when you use the ext3 o …