image
目的: 在文字編輯方塊中輸入內容, 按下按鈕後取得剛才輸入的內容並顯示在另一個TextView上




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

image
定義字串strings.xml



 1: <?xml version="1.0" encoding="utf-8"?>


 2: <resources>


 3:  


 4: <string name="app_name">ButtonTest</string>


 5: <string name="action_settings">Settings</string>


 6: <string name="hello_world">Hello world!</string>


 7: <string name="Button">按鈕</string>


 8: <string name="checkbox1">白天</string>


 9: <string name="checkbox2">夜晚</string>


 10: <string name="Male">男</string>


 11: <string name="Female">女</string>


 12:  


 13: </resources>


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

image
開啟新Android應用專案

選擇SDK版本

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

image
workspace的路徑: C:\Users\ryan\workspace\ 專案名稱:MyFirstAndroidProject 開啟MainActivity.java加入三個import
 1: import android.widget.Button;
 2: import android.widget.TextView;
 3: import android.widget.LinearLayout;

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

image
http://developer.android.com/sdk/index.html 網頁路徑: Developers –> Develop –> Tools –> Download

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

image
在之前Visual Studio 2010, 可以找到Windows Form應用程式

但是, 在新版Visual Stuio 2012竟然找不到!
在Visual Studio 2012 選擇CLR Empty Project

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

image
PC-Based 示波器Setup Destination FolderC:\Program Files (x86)\DSO-5200 USBA shortcut will be created on the desktopA warning window pops up since the driver is not indeed installed. After the hardware is connectd with USB device, the driver will be installed automatically 

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

image
CommCamUCL2.3.1 for Windows 64bithttp://www.idsvision.com.tw/ids/download/E2vCommCamUCL2.3.1_win64.zipCommCamUCL2.3.1 for Windows 32bithttp://www.idsvision.com.tw/ids/download/E2vCommCamUCL2.3.1_win32.zip首先, 選擇安裝Win32版本C:\Program Files (x86)\e2v\CommCam GenICam CL\2.3.1e2v Imaging\CommCam GenICam CL\2.3.1自行勾選下面兩個準備安裝, 點選Install安裝完成

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

image
將目前目錄頰下的所有mp4檔案進行縮小轉檔,以下為MATLAB程式碼
 1: mkdir('out');
 2: files = dir('*.mp4');
 3: bitrate = 2000;
 4: outputFolder = ['out' filesep];
 5: c1 = 'ffmpeg -i ';
 6: c2 = [' -vf scale=640:480 -threads 0 '];
 7: c3 = outputFolder;
 8: fid = fopen('batchrun.bat','w');
 9: for k=1:length(files)
 10: cmd = [c1 files(k).name c2 c3 files(k).name];
 11: fprintf(fid, '%s\n', cmd);
 12: end
 13: fclose(fid);

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

image
至Emgu sourceforge下載libemgucv-windows-universal-cuda-2.9.0.1922-beta.exeEmgu官方網頁
預設路徑:C:\Emgu\emgucv-windows-universal-cuda 2.9.0.1922

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

image
首先, 新增一個專案名稱“MouseClickAndDraw”設定BackColor 屬性值為 Black color設定DoubleBuffered 為True 加入圖片至Resources

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

image
Qt 5.2
我的SONY NB Win7 64 bit選擇 Qt 5.2.0 for Windows 64-bit (VS 2012, 590 MB) (Info)

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

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。