如何在J2ME中无需单击按钮即可激活功能键?
如何在J2ME中无需单击按钮即可激活功能键?例如 : 在“接收消息”表单中有“命令回复”按钮,那么...如何在不单击按钮的情况下激活“命令回复”?如果使用TIMER,源代码如何?
how to activate the function keys without having to click the button in J2ME? for example :
in form RECEIVE MESSAGE have button Command REPLY, so...how to activate Command REPLY without having to click the button? if using TIMER, how the source code?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您可以尝试 TimerTask 类,并在特定时间段使用接收消息按钮的键码调用 commandAction。查看 this 示例,
您需要在其中调用 CommandAction 方法运行方法。
yes you can try TimerTask class and at a particular time period call a commandAction with the keycode of RECEIVE MESSAGE Button. Look at this Example
You Need to call CommandAction Method in to its Run Method.