[Android]如何發佈開發好的程式至手機

Posted in Java, android, eclipse, 教學, 程式 on 2009/10/15 by yku 瀏覽:2,235人次 — 留下回應

自己寫好了一隻程式,在模擬器上Emulator的方式可以參考

[教學]Android的第一個程式

如果要在實際的手機上執行要怎麼做呢?

1.設定手機USB Debug mode 啟動,並連接usb至手機

按Menu鍵進入”設定”畫面->應用程式->開發(未知的來源要打勾)->USB除錯中 打勾

ddms9

ddms10

ddms11

ddms12

2.設定Eclipse Run Configurtions

 

publishandroid1

在左側找到Android Application->New configurtions

輸入名稱(自己想一個)及選擇要執行的專案為何

publishandroid2

切換到Target頁籤,選擇Automatic,並把ADV設備全數取消選取,按Apply,然後選擇Run

publishandroid3

就可以在手機上看到程式安裝好了



Related Posts with Thumbnails

留下您想說的話: