需先在/sdcard/下放入一份UrlList.txt。

檔案裡面儲存你要自動瀏覽的網址,注意最後一行還要再斷行才可以

例如:

urlListShot

toyangel 發表在 痞客邦 留言(0) 人氣()

簡單記錄一下,有空再來整理 ! 

Android 輸入 *#*#4636#*#* 可以進入通用測試模式,裡面有很多資訊,包括手機資訊、電池資訊、使用情形統計資料及WiFi information

iPhone 輸入 *3001#12345#* 可以進入 Field Test 模式,左上角的訊號強度會變成數字,越大表示訊號越好。


toyangel 發表在 痞客邦 留言(0) 人氣()

暫時記一下,有空再來整理

 

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:

toyangel 發表在 痞客邦 留言(0) 人氣()

在Ubuntu下設定Adnroid ADB環境變數:

 

Step1. gedit /etc/profile

加入

export PATH="$PATH:[sdk放置路徑]/android-sdk-linux_86/platform-tools/"

toyangel 發表在 痞客邦 留言(0) 人氣()

因為工作上需要以VM執行Ubuntu,每次都要切換root權限好麻煩。

所以乾脆就把ubuntu設定成一開機就以root身分登入,雖然這種習慣不好,不過畢竟只是在VM上做開發,想說就算了沒關係!

 

環境:Ubuntu 11, 64 bit

Step1: sudo -i ,切換到root

toyangel 發表在 痞客邦 留言(0) 人氣()