原创 APK文件夾結構
apk文件,即Android application package文件。 每個要安裝到Android平臺的應用都要被編譯打包爲一個單獨的文件,後綴名爲.apk,其中包含了應用的二進制代碼、資源、配置文件等。APK文件其實是zip格式,
原创 簡明 Vim 練級攻略
vim的學習曲線相當的大(參看各種文本編輯器的學習曲線),所以,如果你一開始看到的是一大堆VIM的命令分類,你一定會對這個編輯器失去興趣的。下面的文章翻譯自《Learn Vim Progressively》,我覺得這是給新手最好的V
原创 errno.h中定義的常量undeclared (first use in this function)
這幾天用源代碼方式安裝程序是老是出現undeclared (first use in this function)的錯誤,例如下面的這個 編譯源文件錯誤error.h Created Saturday 03 December 2011 S
原创 獲得Build、PackageInfo等手機信息
public class BuildInfo { public static String getVersionName(Context context) { try { PackageInfo pInfo = context
原创 Java中Split函數的用法技巧
轉載:http://www.cnblogs.com/liubiqu/archive/2008/08/14/1267867.html 在java.lang包中也有String.split()方法,與.net的類似,都是返回是一個字符型數
原创 android:windowSoftInputMode屬性使用
windowSoftInputMode屬性設置值說明。 <activity android:windowSoftInputMode=["stateUnspecified",
原创 EditText橫屏時,彈出軟件盤時不進行全屏
在使用EditText進行文本輸入時,若不進行特殊的設置,使用Android自帶的軟鍵盤,該軟鍵盤會佔用整個界面,那麼,如何讓鍵盤只佔用屏幕的一部分呢? Xml代碼 <EditText android:i
原创 Android NDK: Host 'awk' tool is outdated.
在使用Android NDK進行編譯的時候可能會出現 Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !
原创 Android開發實例詳解之IMF(Android SDK Sample—SoftKeyboard)
轉載:http://www.cnblogs.com/deaboway/archive/2011/03/13/1982936.html 最近工作比較忙,加班出差,因此更新慢了些。今天剛好有空,寫一篇實例詳解吧。 本博前面的文章介紹了A
原创 Eclipse 插件
EasyExplorer 是一個類似於 Windows Explorer的Eclipse插件,它可以幫助你在不退出Eclipse的環境下瀏覽本地文件系統 下載的jar包放到eclipse的plugin目錄下後,重啓eclipse