Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 j2me midp2.0 环境中工作。现在,我想根据用户按键事件绘制字符串(自定义项)。在这里,我的问题是,某些手机默认输入模式是数字,我无法绘制字符串。如何将此输入模式更改为字符串,反之亦然?
我认为您手动获取键值并进行更改。在按键事件中,您可以根据您编写的登录信息来查找按下的键以获取数值或字符等。