LWUIT 中的日期字段?
我想知道 LWUIT
是否有 datefield/datepicker
组件?
或者,是否有任何解决方法可以在 lwuit 中实现 datefield
I would like to know if there is any datefield/datepicker
component for LWUIT
?
Or, will there be any work around for implement datefield in lwuit
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
其他可能的解决方案是使用 LWUIT 日历。
http://lwuit.java.net/nonav/iodocs/index.html
我认为这是 LWUIT 中日期的最佳解决方案。
Other possible solution is use a LWUIT Calendar.
http://lwuit.java.net/nonav/iodocs/index.html
I think it's the best solution for dates in LWUIT.
试试这个
try this
LWUIT 中没有
DateField
或DatePicker
组件。所以你可以使用Spinner
而不是DateField
。我发现了一个第三方应用供使用
DateField< /code> 在 LWUIT 中。他们使用了 LWUIT 并开发了
DateField
组件。但我不确定它是如何工作的。如果您使用,请告诉我状态。There is no
DateField
orDatePicker
components in LWUIT. So you can useSpinner
instead ofDateField
.And I found one third party application for use
DateField
in LWUIT. They have used LWUIT and developedDateField
component. But I'm not sure how it works. Let me the status if you use.使用
Spinner
类。它没有构造函数,但有用于创建 Spinner 的静态方法。Use the
Spinner
class. It has no constructor but it has static methods for creating a Spinner.还有
Calendar
类。There is also the
Calendar
class.lwuit 中有一些像 Mobrizdatefiled ,它只是使用 lcdui datepicker 并在 lwuit 中使用其功能实现。
LWUIT 日期字段
There is some like Mobrizdatefiled in lwuit , its just using lcdui datepicker and using its functional implementation in lwuit.
LWUIT DATEFIELD