原创 Settings: android 組件如何響應語言變化

原文:http://blog.csdn.net/androidbluetooth/article/details/7182541 這裏所說的 android 組件,主要是指 android 中 Activity、Service、Cont

原创 自動打印android應用程序使用內存的腳本

我們知道可以用adb shell procrank打印手機中各個應用程序使用的內存。 PID      Vss      Rss      Pss      Uss  cmdline   316   98528K   96608K   5

原创 java中使用HashMap兩種遍歷方法

原文:http://blog.sina.com.cn/s/blog_62690ab9010111r4.html 第一種: HashMap hashmap = new HashMap();  Iterator iterator

原创 ConcurrentModificationException異常解決辦法

原文地址:http://blog.sina.com.cn/s/blog_465bcfba01000ds7.html 1月30日 java.util.ConcurrentModificationException異常(轉)1、 今天在

原创 華爲手機logcat不出日誌解決方案

來源:http://blog.csdn.net/scwhy/article/details/7432414 有些華爲手機查看logcat時,表示不能訪問。 liuguilin@liuguilin:~$ adb logcat Una

原创 Bitmap 和 Drawable之間的轉化關係。

http://blog.csdn.net/yang1z1/article/details/6709855 (轉)Android Bitmap 與 Drawable之間的轉換 轉換Bitmap to Drawable Bitmap

原创 android分享功能開發-短信,微博

原文:http://hi.baidu.com/jinzhu117/item/7c2c6e3569941425b3c0c553 項目有一個分享功能的需求,需要將圖片和文字內容用已安裝的可以分享內容的客戶端(如騰訊微博、新浪微博、短信

原创 Android Matrix詳解

原文:http://www.cnblogs.com/qiengo/archive/2012/06/30/2570874.html#code Android Matrix Matrix的數學原理 平移變換 旋轉變換 縮放變

原创 error: Exited sync due to gc errors 解決方法

執行repo sync 的時候,錯誤信息:error: Exited sync due to gc errors   原因: repo 升級,不兼容GIT  1.7.2 以下的版本。 方案升級git到 1.7.2以及以上的版本。

原创 Android APK 簽名比對

轉載請註明出處:http://www.blogjava.net/zh-weir/archive/2011/07/19/354663.html Android APK 簽名比對 發佈過Android應用的朋友們應該都知道,Android 

原创 Android逆向so文件,調試加解讀

http://bbs.pediy.com/showthread.php?p=1324254#post1324254 本科剛畢業,實在無聊想學學破解,還是個弱菜,接觸ida還不到2個月,破解程序都不到5個,但是還是很努力的在玩破解,無聊時

原创 native-activity 工程完全註解

來源:http://wzhnsc.blogspot.com/2011/10/android-ndk-r5bsamplesnative-activity.html // android-ndk-r5b/samples/native-

原创 註冊攔截收到短信彩信廣播的intent-filter

       <receiver             android:name=".app.MmsSmsReceiver">             <intent-filter android:priority="1000">   

原创 Android系統中長按事件的實現機制解析

原文:http://www.linuxidc.com/Linux/2012-08/67979.htm 在Android的觸摸消息中,已經實現了三種監測,它們分別是 1)pre-pressed:對應的語義是用戶輕觸(tap)了屏幕

原创 adb shell dumpsys

Android has an interesting command called dumpsys to dump some system information. Even described on adb manual I thi