原创 Android Studio

問題一: Error:(26, 9) Attribute application@icon value=(@drawable/logo) from AndroidManifest.xml:26:9 Error:(28, 9) Att

原创 AndroidStudio轉Eclipse

新建工程 粘貼對應的資源文件和代碼 解決v7導包問題 android22要求jdk1.7以上 導包不要選擇 is library eclipse要求jdk1.6因爲adt只支持1.6 從androidStudio轉Eclipse 不能用

原创 mac -svn版本升級配置AndroidStudio

After Hours of searches I've finally found a solution for Mac OsX (I've got Yosemite, but I think it's the same for ot

原创 簡單的HttpURLConnection-Get

/*** get方式請求服務器* * @param url* @param params* @return*/public String doGetHttp(String url, HashMap<Str

原创 layout封裝成view

把layout封裝成view,使用組合控件 佈局文件使用 merge爲根目錄 layoutInflater.inflate(R.layout.test, this);  //使用當前爲父類佈局

原创 adb apk

adb -s emulator-5556 install D:\\weixin_501.apk 代理設置 emulator   啓動Android 模擬器後, 輸入:   adb shell   進入adb shell模式: