bitrazor.com ...THE source for mediocre content                                      

TiVo Home Media Engine (HME) SDK Info

Writing Your First TiVo Application with Eclipse

There's a great article on TiVoCommunity on how to use the Eclipse IDE to write your first "Hello World" application.  Check out this Flash demo (screen video) that shows how to get it working.  This assumes that you've already obtained Eclipse and the HME SDK and unzipped them on your system.

     Flash demo: Getting Started with Eclipse and the TiVo HME SDK

(Note: there's a little green navigation bar at the bottom to pause, play, and jump around in the video.  Also, Windows XP Service Pack 2 users may get a 'blocked content' error when loading the page; simply click the Info Bar where the warning is displayed; select 'Allow Blocked Content' and the video will load and play.)

Extensive Tutorial: A Real Application from Scratch

As I've started my first application, the "Traffic Cam Viewer," I've documented how I did it.  It's broken up into chunks of about an hour each, so you can progress through it over a few days if you want.  If you're a new TiVo application developer, this might be helpful to you.

     TiVo Application Tutorial: the Traffic Cam Viewer Application
     TiVo HME Developer Info and How-Tos

HME SDK Overview

TiVo has released an SDK for writing your own apps hosted on your TiVo box. The app runs on your PC, and can communicate with the TiVo. So far, the set of features you have on the TiVo are limited (drawing views to the TiVo, receiving events and keystrokes from the TiVo) but they're going to expand the SDK in future releases.

There are some sample apps you can run. Basically, you run the apps on your PC (laptop might be more convenient for some) and TiVo "discovers" them via multicast. (You have to unlock this feature first; the demo tells you how.) Works only on Series 2 with 7.1.x w/network.

    
Official TiVo HME SDK Site
    
Try the sample applications yourself
    
See screenshots of some sample applications
    
Screenshot of the development environment
    
Downloads page for HME, Bananas

 

Create a Nice UI Using Bananas

Before you do a whole lot of GUI work for your application, be sure you check out Bananas.  From the readme: "Bananas is a TiVo-style user interface toolkit built on top of the HME SDK. Bananas makes it easy to create great looking applications that match the TiVo DVR look and feel. You should be familiar with HME before attempting to build applications using Bananas."

  Screenshot from the 'Bananas' sample application

You can download Bananas from the official Bananas Download Page.

How to Run the Bananas Sample App in the Simulator Using Eclipse

It's really easy to bring up the Bananas sample app in the simulator.  If you've already viewed the other video showing how to run the other HME sample apps (top of this page), this will look familiar.  In this example, I've got the HME SDK in C:\tivo\hme_sdk_ea1.1, and the Bananas toolkit in C:\tivo\bananas_ea1Watch this short video to see how to do it:

     Flash demo: Running the Bananas Sample App in the Simulator via Eclipse    (3 min.)

See the README.html that comes with the Bananas toolkit for a bunch more information (here's a copy).

 

Existing Applications

The SDK home page has a list of some of them.  Links to some apps I've found so far:

     TrafficCam Viewer (mine!)
     NetFlix RSS Reader (mine!)
     PC Remote Control application
     Poker app
     Island Book App
     Netflix queue thread
     Google Maps on your TiVo
     HMEMail (mail client)
     Stock quote
     Jukebox (for music collection)
     Stock quote
     iSee iTunes
     Multiplayer poker
     Galleon (media server - extensive, see the screenshots)

Other Links of Note

     HME Developer Corner - TiVoCommunity
     How to get the 'Now Playing' listings from the internal web page

 

                                                         Last updated: August 7, 2009