简体   繁体   English

LWUIT应用程序中的BlackBerry菜单键是否发生事件?

[英]Event for the BlackBerry menu key from within an LWUIT application?

I have made a non-touch application with LWUIT . 我已经使用LWUIT制作了非触摸式应用程序。 on J2ME devices all command menus work just fine. 在J2ME设备上,所有命令菜单都可以正常工作。 On a BlackBerry however this is not the case. 但是在BlackBerry上并非如此。 At the moment, 'q' activates the left menu, and 'p' activates the right menu. 此刻,“ q”激活左侧菜单,“ p”激活右侧菜单。 I think this is automatic behavior because i didn't code anyhting for this to work. 我认为这是自动行为,因为我没有编写任何代码来使其正常工作。

I want to use the Blackberry-menu button to get the menu. 我想使用Blackberry菜单按钮来获取菜单。 How can I code this in? 我该如何编码?

嗨,请看理论上他们博客的文章 ,它向您展示了如何根据这篇文章进行操作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM