[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
LinkedList » Edit » rs 485 » CSharpFAQ » JAR » QbasicFAQ_Events » byte » lossless » HTML » PDA » iTV
Displaying differences between revision 8 and the latest revision
=== What is iTV? ===
iTV stands for the term interactive TeleVision. iTV usually is implemented on a client, in this case a TV, with an Xlet. What is an Xlet?
Several different standards bodies and companies set out to define ITV including HAVi, MHP, MVB, SUN's JCP, and etc. These standarrds bodies came up with the concept of a Xlet which isimilar to a MIDlet.
Basically the Xlet is similar to an applet of MIDlet in that its an application that can run in the iTV environment ro set box environment and has default methods that define pause, start, and destroy application. For example an HelloWorld Xlet might look like this:
[code]
import java.awt.*;
import java.awt.event.*;
import javax.microedition.xlet;
public class XletButtonDemo implements ActionListener, Xlet {
private Container rootContainer;
private PPButton button;
public XletButtonDemo() {
}
public void actionPerformed(ActionEvent e) {
System.out.println("Button pressed");
}
public void initXlet(XletContext context)
throws XletStateChangeException {
try {
button = new PPButton("Hello World");
rootContainer = context.getContainer();
rootContainer.setLayout(new BorderLayout());
rootContainer.setLocation(0,0);
rootContainer.add(button,
BorderLayout.CENTER);
rootContainer.pack();
} catch (Exception e) {
e.printStackTrace();
}
}
public void startXlet()
throws XletStateChangeException {
// Make the container visible. This method calls
// the paint method.
rootContainer.setVisible(true);
}
public void pauseXlet() {
rootContainer.setVisible(false);
}
public void destroyXlet(boolean unconditional)
throws XletStateChangeException {
rootContainer.remove(button);
button = null;
}
}
[/code]
One of the differences between iTV in J2ME and MIDP in J2ME is the use of PersonalJava classes such as AWT to generate the graphics seen by the viewer. This accomplished by using several higher level Profiles within J2ME which detail the classes the developer can find accessible on the iTV setbox or TV device.
iTV is not the only area that Xlets can be found, the other areas include telematics and higher level PDAs. In the iTV case there are added libaries from HAVi and MHP-MVB that allow the developer to enable interactive features in iTV such as PVR like TiVo and etc.
===== Resources =====
* Free iTV Development Platform-Emulator by Espial/Devicetop
* SUN's javaTV Offical Site
* [[http://sourceforge.net/projects/oscar-osgi/ | Oscar-An Open Source Implementation of OSGi]]¶
* Xletview MHP(iTV Emulator)¶
* SUN's JavaMediaFramework Offical Site¶
* [[http://java.sun.com/products/personaljava/pj-emulation.html | SUN's PersonalJava Emulation Test Kit]]
* Sun's PersonalJava Profile in J2ME
* HAVi Offical Site¶
* MHP Offical Site¶
* MVB Offical Site¶
* OSGi Alliance Offical Site¶
* MHP-Interactive¶
* Interactive TV Today
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
LinkedList » Edit » rs 485 » CSharpFAQ » JAR » QbasicFAQ_Events » byte » lossless » HTML » PDA » iTV
Displaying differences between revision 8 and the latest revision
=== What is iTV? ===
iTV stands for the term interactive TeleVision. iTV usually is implemented on a client, in this case a TV, with an Xlet. What is an Xlet?
Several different standards bodies and companies set out to define ITV including HAVi, MHP, MVB, SUN's JCP, and etc. These standarrds bodies came up with the concept of a Xlet which isimilar to a MIDlet.
Basically the Xlet is similar to an applet of MIDlet in that its an application that can run in the iTV environment ro set box environment and has default methods that define pause, start, and destroy application. For example an HelloWorld Xlet might look like this:
[code]
import java.awt.*;
import java.awt.event.*;
import javax.microedition.xlet;
public class XletButtonDemo implements ActionListener, Xlet {
private Container rootContainer;
private PPButton button;
public XletButtonDemo() {
}
public void actionPerformed(ActionEvent e) {
System.out.println("Button pressed");
}
public void initXlet(XletContext context)
throws XletStateChangeException {
try {
button = new PPButton("Hello World");
rootContainer = context.getContainer();
rootContainer.setLayout(new BorderLayout());
rootContainer.setLocation(0,0);
rootContainer.add(button,
BorderLayout.CENTER);
rootContainer.pack();
} catch (Exception e) {
e.printStackTrace();
}
}
public void startXlet()
throws XletStateChangeException {
// Make the container visible. This method calls
// the paint method.
rootContainer.setVisible(true);
}
public void pauseXlet() {
rootContainer.setVisible(false);
}
public void destroyXlet(boolean unconditional)
throws XletStateChangeException {
rootContainer.remove(button);
button = null;
}
}
[/code]
One of the differences between iTV in J2ME and MIDP in J2ME is the use of PersonalJava classes such as AWT to generate the graphics seen by the viewer. This accomplished by using several higher level Profiles within J2ME which detail the classes the developer can find accessible on the iTV setbox or TV device.
iTV is not the only area that Xlets can be found, the other areas include telematics and higher level PDAs. In the iTV case there are added libaries from HAVi and MHP-MVB that allow the developer to enable interactive features in iTV such as PVR like TiVo and etc.
===== Resources =====
* Free iTV Development Platform-Emulator by Espial/Devicetop
* SUN's javaTV Offical Site
* [[http://sourceforge.net/projects/oscar-osgi/ | Oscar-An Open Source Implementation of OSGi]]¶
* Xletview MHP(iTV Emulator)¶
* SUN's JavaMediaFramework Offical Site¶
* [[http://java.sun.com/products/personaljava/pj-emulation.html | SUN's PersonalJava Emulation Test Kit]]
* Sun's PersonalJava Profile in J2ME
* HAVi Offical Site¶
* MHP Offical Site¶
* MVB Offical Site¶
* OSGi Alliance Offical Site¶
* MHP-Interactive¶
* Interactive TV Today
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
