原创 Solution to BitmapFactory decodeStream null

 最近遇到從網絡上下載圖片,解碼一直是null的問題: .....  Bitmap bitmap=BitmapFactory.decodeStream(inputStream);  ....  開始時以爲TimeOut太短,或者buffer

原创 Eclipse中使用Ant打Android包報錯解決方案 – Perhaps JAVA_HOME does not point to the JDK

問題描述:在Eclipse中運行ant批量打包工具出錯,日誌信息如下:D:\Android\android-sdk-windows\tools\ant\build.xml:601: The following error occurred

原创 #Android Ticks#Mount a filesystem read-write

Mount a filesystem read-writeVery often when you want to write files to a particular partition on ADP1, you will get a "

原创 Android Studio Settings Repository Plugin sync failed problem

Andnroid Studio Settings Repository Plugin SYNC Failed ProlemAndroid Studio Settings Repository Plugin SYNC failed probl

原创 基於BeautifulSoup抓取網站內容的實踐(Kanunu8)(1)

最近閒來無事,拿來練練手。注:由於網站可能會變動,本代碼不保證後面一直都能用,僅講述抓取的思路;個人純屬研究使用,請不要應用於商業目的;使用語言:Python版本:3.4.3依賴:BeautifulSoup、requests(可以使用pip

原创 adb shell 之 screenrecord

adb shell --help說明:4.4以上設備可以用來錄製視頻,不需要root權限,極爲方便。E:\workspace\TaoParking\script>adb shell screenrecord --helpUsage: scr

原创 Android Native CPU ABI Management

Introduction: ============= Every piece of native code generated with the Android NDK matches a given "Application Bina

原创 搜狗輸入法電腦版SougouPhoneService佔用adb進程的問題

首先,我不是爲了黑而黑,經常需要在命令行模式下使用adb命令,無緣無故被其他的應用搶佔端口,經常遇到的問題有:ADB server didn't ACK;Adb connection Error:遠程主機強迫關閉了一個現有的連接;...很多

原创 android - Animation prevents click event

This is limitation of the Animation in Android. They fixed that in Android 3.0. Read here for more information http://an

原创 Dialog

設置輸入法模式,Activity中的設置不影響Dialog getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE | Windo

原创 adb shell 之 dumpsys

adb shell dumpsys -hactivityadb shell dumpsys activity [activities]meminfoadb shell dumpsys meminfo [package]batteryinfo

原创 我的友情鏈接

51CTO博客開發[金山]回憶未來-張宴周金橋碧空terry[支付寶]DBA-張大輝[新浪]姜源[ITPUB]蓋國強牛新莊天行健@中國元素chroya楊豐盛Android Guide英年早肥的博客Websense谷安-谷奧Android站影

原创 Android Develop Tips

Programming設置background後要設置padding,之前設置的padding已經無效。include標籤在RelativeLayout中必須制定layout_width和layout_height纔能有作用,不管定義時是否

原创 ContextMenu高級用法

51CT0不支持MarkDown,原文請至:簡書關鍵字: ContextMenu##背景我們經常在列表的頁面中,點擊列表中的行,一般進入詳情頁面,長按列表中一行,會彈出一個菜單,包含了對某一行的操作(編輯、刪除等等),也知道通常的用法: -

原创 GitExtensions GitCredentialWinStore syntax error near unexpected token `('

之前不知道配置了什麼,在Git Bash頁面進行操作時報如下的錯誤:$ git fetch origin\"D:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-cre