Creating the user interface consists of allocating a Form, a TextField, and two Commands — one to search the record store and one to exit the MIDlet, as shown in Listing 19.
用户界面的创建包括指定一个Form、一个TextField和两个Command——一个用于搜索记录存储,另外一个用于退出MIDlet,如清单19所示。
Start by creating the basic form (shown in Listing 1), into which the user enters a sensor id.
首先创建一个基本表单(如清单1所示),用户可以在该表单中输入传感器id。
应用推荐