ocap

ocap

 英

  • 网络开放式有线应用平台(Open Cable Application Platform);失控行动计划(Out of Control Action Plan);超出管制界线的相应对策

例句

Strictly speaking, OCAP is just a specification, so it is up to device manufacturers to implement it.

严格来讲OCAP只是一种规范所以应该设备制造商实现

As you've seen, the OCAP RI is an accessible tool for running OCAP applications using only a Windows computer.

OCAPRI一个用于运行OCAP应用程序可访问工具只能Windows计算机使用

You might have noticed that the OCAP RI produces an astonishing amount of output in the command-line window where it's running.

可能发现OCAPRI运行命令窗口生成数量惊人输出

Regardless, if you build an OCAP application, it should run on any OCAP platform, either a real set-top box or a simulator like the OCAP RI.

不管怎样如果构建一个OCAP应用程序应该能够任意OCAP平台运行不管真正机顶盒OCAPRI这样模拟器

First, you need to understand how the OCAP RI decides which application to run.

首先应该理解OCAPRI如何确定运行一个应用程序

The OCAP RI launches, the debugger hits your breakpoint, and Eclipse asks if you want to open up the Debugger perspective.

OCAPRI启动调试器命中断点Eclipse询问是否希望打开Debugger透视

The sheer complexity of the platform makes it hard for a would-be OCAP developer to know where to begin.

这个平台复杂性使那些将要成为OCAP开发人员无从下手

You are almost ready to start building OCAP applications.

几乎已经准备就绪可以开始构建OCAP应用程序

When the OCAP RI tries to run VLC, it gets stuck on the dialog (invisibly) and cannot be used to present video.

OCAPRI试图运行VLC在此对话处受阻可见),不能用于展示视频

But although it's helpful to think of OCAP as an API stack, it is an oversimplification.

不过尽管OCAP想象一个API堆栈比较有用过于简单

Keep that in mind as you work your way through building an OCAP application using command-line tools.

使用命令工具构建OCAP应用程序不要忘记一点

The next step is to convince the OCAP RI to run your application.

下一步说服OCAPRI运行应用程序

When you shut down the OCAP RI, a script (batch file) tries to shut down VLC as well.

关闭OCAPRI一个脚本批处理文件试图关闭VLC

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设备运行应用程序

For the purposes of building OCAP applications, all you really need to care about are the class files that define the platform.

为了构建OCAP应用程序真正需要关心全部内容就是定义平台文件

It's useful if you want to run the OCAP stack with a minimum of setup.

如果使用最少安装运行这个OCAP堆栈非常有用

You now have a taste of what is possible with OCAP and the tools you need to create whatever you wish.

现在OCAP作用实现想法工具有所了解

If your JDK or OCAP RI are located in different directories, you'll have to adjust the script accordingly.

如果JDKOCAPRI位于不同目录需要相应调整脚本

Similarly, you can use a Java SE development environment on a desktop computer to build an application that runs on the OCAP platform.

类似可以桌面计算机使用一个JavaSE环境构建OCAP平台运行应用程序

The OCAP RI you downloaded in Part 1 also runs on your desktop computer, but it's really a simulator.

第1部分下载OCAPRI运行桌面计算机的确一个模拟器

From an application perspective, it's helpful to consider OCAP as a collection of APIs.

应用程序角度而言OCAP考虑一个API集合比较有用

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

TuneTest is a relatively simple demonstration that exercises OCAP's television-tuning API.

TuneTest一个比较简单演示程序用于试验OCAP电视API

All you have to do is set things up for the OCAP RI.

需要就是OCAPRI进行设置

Here in Part 1, you'll learn more about OCAP, download and install the RI, and run some applications on it.

这个第一部分了解有关OCAP许多知识下载安装RI同时这个RI运行一些应用程序

This article explained how to create your own applications for OCAP devices and run them on a desktop computer using the OCAP RI.

本文介绍如何针对OCAP设备创建自己应用程序使用OCAPRI桌面计算机运行这些应用程序

As the OCAP RI runs, it automatically stores an output log in the RILog. txt file.

OCAPRI运行自动RILog.txt文件存储一个输出日志

Eclipse takes care of rebuilding the project, packaging it correctly, and launching the OCAP RI.

Eclipse负责重新构建这个项目正确打包启动OCAPRI

The OCAP RI window and the command-line window will both disappear.

此时OCAPRI窗口命令窗口消失

You don't need to make many choices, but if you are wondering what to do, consult the OCAP RI project Wiki page (see Resources).

无需选择不过如果知道自己什么可以参考OCAPRI项目维基页面参见参考资料)。

The OCAP RI locates an application using two main files.

OCAPRI使用两个主要文件查找应用程序

This is the same OCAP RI that you downloaded and installed in Part 1 of this series.

这个OCAPRI就是系列第1部分下载安装

One important location is OCAPROOT, which is the root of the OCAP implementation source code.

一个重要位置就是OCAPROOTOCAP实现代码

The full source code is available if you want to build the OCAP RI yourself.

如果自行构建OCAPRI那么可以使用完整代码

The OCAP 1. 1. 2 document is 667 pages long, and like any good specification it builds on a foundation of many other documents.

OCAP1.1.2文档长达667任何其他规范说明一样构建许多其他文档基础之上

Launch the OCAP RI again with the runRI. bat command.

使用runRI.bat命令再次启动OCAPRI

In Part 2, I'll cover how to create your own OCAP applications, using either a command line or the Eclipse IDE.

第二部分介绍如何创建自己OCAP应用程序使用命令EclipseIDE

Next time you launch the OCAP RI, you'll be rewarded by seeing the application code do its thing, as shown in Figure 1

下次启动OCAPRI看到应用程序代码开始工作1

Finding what you need in the OCAP build

OCAP构建发现需要内容

Build structure of the OCAP implementation

构建OCAP实现结构