-1
可能重複:
How to call Exit Command when I press Key # in Lwuit Mobile Application?如何在Lwuit Midlet中按鍵#時調用命令?
我怎麼能叫命令狀選擇,OPEN當我按下鍵#在LWUIT MIDLET移動應用程序。
可能重複:
How to call Exit Command when I press Key # in Lwuit Mobile Application?如何在Lwuit Midlet中按鍵#時調用命令?
我怎麼能叫命令狀選擇,OPEN當我按下鍵#在LWUIT MIDLET移動應用程序。
使用Canvas.KEY_POUND
捕獲按鍵,然後執行您想要執行的操作。
答案基本上和你之前的問題一樣:http://stackoverflow.com/questions/8834441/how-to-call-exit-command-when-i-press-key-in-lwuit-mobile-應用這個問題,這個問題也基本上是一樣的 – gnat 2012-01-13 16:48:48