Now, let's view the output of our MIDlet.
现在,让我们观察这个MIDlet的输出。
Figure 4 shows the MIDlet with two different search results.
图4展示了有两个不同搜索结果的MIDlet。
The ReadWrite MIDlet only writes text strings to the record store.
ReadWriteMIDlet只能将文本字符串写入到记录存储中。
Discussion of how a J2ME MIDlet will use the secure email service.
讨论J 2 MEMIDlet将如何使用安全电子邮件服务。
The same applies to selection of mobile devices for PIM MIDlet to run.
选择PIMMIDlet要运行的移动设备时使用相同的方法。
The PIM MIDlet should be run in a configuration that supports PIM i.e. JSR 75.
PIMMIDlet应该在一个支持 PIM 的配置(即JSR 75)中运行。
A MIDlet having CBS capability can receive messages, but cannot send them.
有CBS能力的MIDlet可接收消息,但不能发送它们。
Table 4 shows the results of the DateTime format MIDlet in locales zh-TW and de-DE.
表4展示了DateTimeformatMIDlet在zh- TW和de - de这两个地区的显示结果。
It allows a MIDlet to receive a callback when new messages are available to be read.
当可以读取新到消息时,它允许MIDlet接收一个回调。
We're going to develop one last MIDlet together before we close the J2ME 101 series.
结束J 2 ME 101系列之前,我们要开发最后一个MIDlet。
Our next MIDlet will use an HttpConnection to download and view the contents of a text file.
我们的下一个MIDlet将使用一个HttpConnection下载并查看一个文本文件的内容。
This provides a basic mechanism to notify the MIDlet application of an incoming message.
它提供了向MIDlet应用程序通知有进入消息的基本机制。
Always follow these three steps when deploying a MIDlet with wireless messaging capability.
部署有无线消息传递能力的MIDlet时,要始终遵照以下三个步骤。
Now let's write a simple MIDlet that displays a string according to the locale as well as an image.
现在让我们编写一个简单的MIDlet,根据地区显示字符串和图片。
Take a look at the complete code for the ReadWrite MIDlet and then we'll discuss it in more detail.
请阅读ReadWriteMIDlet的完整代码,下面我们将详细讨论它。
Take a look at the complete code for the FileViewer MIDlet and then we'll discuss it in more detail.
看一下FileViewerMIDlet的完整源代码,我们将在下面详细讨论它。
J2MEClientMIDlet.java, which provides a very simple MIDlet wrapper that you can use to test the code.
它提供了可以用来测试这些代码的一个非常简单的MIDlet包装器。
Take a look at the complete code for the DownloadImage MIDlet and then we'll discuss it in more detail.
看一下DownloadImageMIDlet上的完整源代码,下面将我们将对它进行详细的讨论。
Now you'll write a simple MIDlet to display date and time, Numbers, percentages, and currency data.
现在将编写一个简单的MIDlet程序来显示日期、时间、数字、百分比和货币数据。
It gives the MIDlet the capability of tracking an item change on the screen and responding to user commands.
它使MIDlet具备了跟踪屏幕上的条目变化和对用户命令作出响应的功能。
Please note that this article assumes that you are familiar with MIDlet development in the J2ME environment.
请注意本文假定读者熟悉J2ME环境中的MIDlet开发。
The two lines of code that specify the URL show how to call our DateFormatServlet servlet from within the MIDlet.
指定url的两行代码显示了应如何从MIDlet中调用这个DateFormatServletservlet。
In addition to allowing us to search the RMS for records, this MIDlet beefs up the user interface we've worked with so far.
除了可以在RMS中搜索记录,这个MIDlet还加强了用户界面。
To demonstrate the concepts presented up to this point, we wrote a file-viewer MIDlet that downloaded and displayed a text file.
为了展示所介绍的概念,我们编写了一个FileViewerMIDlet,它可下载并显示一个文本文件。
Once the MIDlet is running the main user interface should appear in your WTK device emulator, as shown in the figures below.
运行了这个MIDlet运行后,在WTK设备模拟器上应该出现主用户界面,如下图所示。
You've now added the JSR-238 library to your development environment and are ready to start writing your internationalized MIDlet.
您已经将J SR- 238库添加到开发环境中可,现在就可以开始编写MIDlet国际化程序了。
In addition, the MIDlet can initiate some state changes by itself, and notify the application management software of those changes.
此外,MIDlet可以自己发起一些状态变化,并把这些变化通知给应用程序管理软件。
The MIDlet implements the RecordComparator interface and defines a compare (byte rec1, byte rec2) method to compare two candidate records.
MIDlet实现RecordComparator接口,并定义compare (byterec1,byterec2)方法来比较两个候选记录。
Put simply, the MIDP Record Management System (RMS) provides a means to store application data that persists across invocations of a MIDlet.
简单地说,MIDP记录管理系统(RMS)提供了一种跨多个MIDlet 调用持久性地存储应用程序数据的手段。
Next, plug your BlackBerry device into your computer using a USB cable and execute the installcod.bat batch file to install the MIDlet onto the BlackBerry device.
接下来,使用US b数据线将BlackBerry设备接入计算机,并执行installcod . bat批处理文件,以将MIDlet安装到BlackBerry设备上。
应用推荐