- Dec 13 Thu 2012 11:47
【Android】Shell Script-自動瀏覽並截圖
- Dec 06 Thu 2012 10:46
【Android】【iPhone】隱藏模式
簡單記錄一下,有空再來整理 !
Android 輸入 *#*#4636#*#* 可以進入通用測試模式,裡面有很多資訊,包括手機資訊、電池資訊、使用情形統計資料及WiFi information
iPhone 輸入 *3001#12345#* 可以進入 Field Test 模式,左上角的訊號強度會變成數字,越大表示訊號越好。
- Jun 29 Fri 2012 14:55
【Android】從GTalk取得Android ID
暫時記一下,有空再來整理
While googling around, I've stumbled upon an interesting project - Android Market API. This project is clearly a result of some Android reverse engineering work, still it's hosted on Google Code site. Funny, isn't it? Oh, by the way - the Android Market protocol uses Google's Protocol Buffers with HTTP as a transport layer.
Anyway, to play with the API you need a Google account (obviously), but also a sort of device identifier referred to as "Android ID". Funny enough, this is not the Android ID which can be obtained usingandroid.provider.Settings.Secure class etc., the right ID can be obtained by "dialing" *#*#8255#*#* - look forDevice ID, remove `android-` prefix.
But is there a way to retrieve this ID programmatically? It required a bit of hacking to reveal, but here's the recipe:
- Sep 22 Thu 2011 13:58
【Ubuntu】設定ADB環境變數
在Ubuntu下設定Adnroid ADB環境變數:
Step1. gedit /etc/profile
加入
export PATH="$PATH:[sdk放置路徑]/android-sdk-linux_86/platform-tools/"
- Sep 20 Tue 2011 14:43
【Ubuntu】開機自動root登入
因為工作上需要以VM執行Ubuntu,每次都要切換root權限好麻煩。
所以乾脆就把ubuntu設定成一開機就以root身分登入,雖然這種習慣不好,不過畢竟只是在VM上做開發,想說就算了沒關係!
環境:Ubuntu 11, 64 bit
Step1: sudo -i ,切換到root