All you have to do is set things up for the OCAP RI.
您需要做的就是为OCAPRI进行设置。
The OCAP RI locates an application using two main files.
OCAPRI使用两个主要的文件查找应用程序。
Part 3 in this series describes how to build the OCAP ri.
本系列第三部分将介绍如何构建这种OCAP RI。
VLC is now ready to be run automatically from the OCAP RI.
现在VLC便可以自动从OCAPRI运行了。
The OCAP RI is an example of how to implement an OCAP stack.
OCAPRI是一个如何实现 OCAP堆栈的例子。
It's useful if you want to run the OCAP stack with a minimum of setup.
如果您想使用最少的安装运行这个OCAP堆栈,这将非常有用。
The OCAP RI window and the command-line window will both disappear.
此时OCAPRI窗口和命令行窗口都将消失。
As the OCAP RI runs, it automatically stores an output log in the RILog.txt file.
OCAPRI在运行时,会自动在RILog . txt文件中存储一个输出日志。
The actual value of OCAPROOT depends on where you installed the OCAP ri binaries.
OCAPROOT的实际值取决于OCAP ri二进制文件的安装位置。
This is the same OCAP ri that you downloaded and installed in Part 1 of this series.
这个OCAP RI就是您在本系列的第1部分中下载并安装的。
When you shut down the OCAP ri, a script (batch file) tries to shut down VLC as well.
当您关闭ocap RI时,也会有一个脚本(批处理文件)试图关闭VLC。
The OCAP stack has a long history, which means it's made up of many different pieces.
ocap堆栈由来已久,也就是说,它是由许多片段组成的。
But although it's helpful to think of OCAP as an API stack, it is an oversimplification.
不过,尽管将OCAP想象成一个api堆栈比较有用,但这过于简单了。
If you used the default installation location, the value is /CableLabs/tru2way/ocap-ri/ocap.
如果使用默认安装位置,这个值就是 /CableLabs/tru2way/ocap-ri/ocap。
Finally, Part 3 will take you under the hood and show you how you can build the OCAP RI yourself.
最后,第三部分将进行深入介绍,使您能自行构建OCAPRI。
Strictly speaking, OCAP is just a specification, so it is up to device manufacturers to implement it.
严格来讲,OCAP只是一种规范,所以应该由设备制造商来实现它。
Eclipse takes care of rebuilding the project, packaging it correctly, and launching the OCAP RI.
Eclipse将负责重新构建这个项目,正确对其打包,并启动OCAP RI。
Keep that in mind as you work your way through building an OCAP application using command-line tools.
当您使用命令行工具来构建OCAP应用程序时,不要忘记这一点。
You now have a taste of what is possible with OCAP and the tools you need to create whatever you wish.
现在,您对OCAP 的作用和实现您的想法所需的工具已有所了解。
The sheer complexity of the platform makes it hard for a would-be OCAP developer to know where to begin.
这个平台的复杂性使那些将要成为OCAP开发人员的人无从下手。
The OCAP RI goes hunting through each entry in the classpath, looking for a hostapp.properties file.
OCAPRI在此类路径中搜寻每个条目,查找hostapps . properties文件。
The OCAP RI you downloaded in Part 1 also runs on your desktop computer, but it's really a simulator.
您在第1部分中下载的OCAPRI也运行在您的桌面计算机上,但它的确是一个模拟器。
If your JDK or OCAP ri are located in different directories, you'll have to adjust the script accordingly.
如果您的jdk或ocap RI位于不同的目录中,则需要相应调整脚本。
In Part 2, I'll cover how to create your own OCAP applications, using either a command line or the Eclipse IDE.
在第二部分,我将介绍如何创建您自己的OCAP应用程序:使用命令行或Eclipse IDE。
For example, you could build the OCAP implementation on a Linux computer for a specific kind of set-top box.
例如,您可以在一台Linux计算机上针对一种特定的机顶盒构建o CAP实现。
The final step - an important one - is to point the OCAP RI to the hostapp.properties file you just created.
最后一步—也是很重要的一步—是将OCAP RI指向刚才创建的hostapps . properties文件。
As you've seen, the OCAP RI is an accessible tool for running OCAP applications using only a Windows computer.
如您所见,OCAPRI是一个用于运行ocap应用程序的可访问工具,只能在Windows计算机上使用。
To understand the development cycle, you will make a change in the source code and run the changed Xlet on the OCAP RI.
要理解这个开发循环,可以在源代码中进行一个更改,然后在OCAPRI上运行修改后的Xlet。
In this article, you'll learn how to create applications of your own that you can run on the RI and on other OCAP devices.
在本文中,您将学习如何创建可以在RI和其他OCAP设备上运行的应用程序。
Next time you launch the OCAP RI, you'll be rewarded by seeing the application code do its thing, as shown in Figure 1.
下次启动OCAP RI时,您将看到应用程序代码开始工作了,如图1所示。
应用推荐