2013年6月25日 星期二

可以動且對開發有幫助的apk

百度一鍵Root.apk:
取得該死的root權限。
Root Explorer.apk:
在圖形介面重新得到"ls"的權利。
AndroidTerm.apk:
可以用。至少比看起來能動的好多了。




2013年6月13日 星期四

ADB: error: insufficient permissions for device

$ sudo adb shell
insufficient permissions for device

$ sudo adb devices
List of devices attached:
??????????????                      no permission


之前有用adb連接user版的android與eng版的android系統,導致這個問題。

解決方法:

$ adb kill-server
$ adb start

link supervision timeout

http://blog.csdn.net/evilcode/article/details/5717527

2013年5月30日 星期四

關於bluetooth active connection

How many ACTIVE bluetooth connections can the iPhone 4 support at one time?

       Am wondering just how many ACTIVE connections my iPhone 4 can support at one time?  I've got my iPhone paired via bluetooth to my car radio...alllowing to answer calls handsfree, as well as listen to my music through the radio.  I'm thinking about purchasing the iPhone radar detector, made by Cobra, which will also utilize a live bluetooth connection.  Is iPhone limited to only one live connection at a time, or can I have more?


Pretty sure bluetooth protocol itself is limited to one active connection by design.  So not a limitation of iPhone but the protocol.

2013年5月28日 星期二

關於 android envsetup.sh的使用注意事項

envsetup.sh用來協助設定android的編譯環境。使用該script一定要在android/目錄之下:

user:productXXX/android$  source build/envsetup.sh
( 列出類似以下訊息代表envsetup.sh執行成功,否則失敗)
including  device/magiclab/xxx/vendorsetup.sh
including  device/magiclab/yyy/vendorsetup.sh
  ...
user:productXXX/androidlunch
(如果不在android/目錄下執行lunch指令,在選擇編譯設定後,會出現"Couldn't locate the top of the tree. Try setting Top."錯誤)
        1.  full-eng
        2.  full_x86-eng
        ...

2013年5月20日 星期一

telnet tera term設定

1.Windows XP端先安裝adb usb driver,adb driver需要
   root權限,android要編譯成engineer版。

2.連接Windows XP端至android tablet,並且正確辨識。
   1.第一次插入USB線時顯示提示"新硬體安裝時出現問題",
     拔出USB線再插一次未出現提示,就可以使用了,不解...

   2.第一次插入USB線時顯示提示"新硬體安裝時出現問題",
     到裝置管理員,選擇MTP右鍵"更新驅動程式",選擇"從
     清單或特定位置安裝" > "不要搜尋,我將選擇要安裝的
     驅動程式,選擇Android Adb interface安裝。也可以解決
     問題。

3.在system/core/rootdir/init.rc中加入telnet開機啟動
   service telnetd /system/xbin/telnetd  -l  /system/bin/sh
           class core
           oneshot


4.執行cmd到adb的目錄中執行adb  forward  tcp:65432  tcp:23

5.執行tera term,Host=127.0.0.1 ,  Service:telnet,  tcp  port# 23
   然後按"OK"。

2013年5月8日 星期三

Ubuntu gnome與terminal混用小小發現


指令:
gnome-open [directory]
用途:
可以直接在terminal模式下以圖形介面資料夾打開路徑為[directory]的資料夾

指令:
gnome-search-tool --start --named=[搜尋的字串]
用途:
可以在圖形介面直接搜尋[搜尋的字串]的檔案