在Android環境上應用OpenCV有兩種方式
一種是直接使用java撰寫,利用OpenCV函式
glitterHsin 發表在 痞客邦 留言(3) 人氣()
舊版的SDK,照理說adb都會放在tools或者platform-tools
但更新SDK Manager時沒安裝到,隔天就出現adb.exe不見的警告訊息
glitterHsin 發表在 痞客邦 留言(0) 人氣()
今天一直在更新,更新來更新去的
不過有學習到幾件事倒是可以紀錄下來
glitterHsin 發表在 痞客邦 留言(0) 人氣()
-bash: $'\r': command not found
-bash: $'\r': command not found
-bash: $'\r': command not found
-bash: $'\r': command not found
-bash: $'\r': command not found
-bash: /home/dev/.bash_profile: line 39: syntax error: unexpected end of file
又要重新灌cygwin= =有夠囧
更新2012/03/18
其實不用重灌cygwin
這個問題是因為編輯器wordpad的關係
換行會變成\n\r,多了個\r
所以開啟cygwin終端會出現錯誤,環境變數NDK也會設置錯誤
我的解決辦法是先用wordpad修改.bash_profile
然後在用dos2unix命令轉檔
dos2unix -n .bash_profile .bash_profile
即可
glitterHsin 發表在 痞客邦 留言(0) 人氣()
glitterHsin 發表在 痞客邦 留言(0) 人氣()
指撥全撥下,由mmc的SD卡開機
利用dnw進入uboot命令畫面
glitterHsin 發表在 痞客邦 留言(0) 人氣()
ImageButton photo;
photo = (ImageButton) findViewById(R.id.imageButton);
glitterHsin 發表在 痞客邦 留言(0) 人氣()
利用busybox指令找SD卡的位置
輸入以下指令
glitterHsin 發表在 痞客邦 留言(0) 人氣()
glitterHsin 發表在 痞客邦 留言(0) 人氣()
對於最近找關於Android資料的我看過很多次,但就是不知道JNI到底是什麼
甚至在摸索NDK時,所建立的第一個NDK範例Project,檔名也有jni
glitterHsin 發表在 痞客邦 留言(0) 人氣()