| |
| [ Blog ] [ Open Source ] [ Programming ] | |
« xmlproperty rocks | Main | Tivo HME JDeveloper Extension »
Tivo HME provides a Java API for developing applications running on your Tivo Series2 device as well as a Java Simulator to use during development. It’s quite easy to set this up to use JDeveloper as your IDE while creating Tivo HME applications.
First off you need to install the Tivo HME SDK from http://tivohme.sourceforge.net and uncompress it. In my example here, I used the C:\lib\ directory, which once unpacked put the SDK into C:\lib\hme_sdk_ea1.1. Once you have it installed, you can verify that it works by using the runsamples.bat (or runsamples.sh) script located in the samples directory.
To use the SDK in JDeveloper, you need to create a library. Here are the steps:
Now you will need to create a new Application testing the SDK.
protected void init(Context context) throws Exception
{
root.setResource(createText("default-36-bold.font", Color.white, "Hello from JDeveloper!"));
}
public static void main(String[] args)
{
Simulator.main(new String[] {HelloWorld.class.getName()});
}
Now you can run your application and the Tivo Simulator will launch your Tivo HME application.

Posted by rcleveng at March 29, 2005 04:36 PM