TiVo Community Forum banner
61 - 76 of 76 Posts

·
Registered
Joined
·
29 Posts
Thanks for the info.

I successfully used the wizard from Duck Creek to create a jnlp, but only with the demo license. I am waiting for a proper license so that I can test launch (right now, it starts launching but exits with an expired license message). This seems like a great way to deploy. I am allowed to set a Main class and arguments. The result will be a double-clickable file.

I'll post an update when I have some success.
mondelicious
 

·
TiVonophile
Joined
·
1 Posts
I use Eclipse quite a bit, and never knew there was a way to build Tivo Apps. Can't wait to get started.

I am also a Technical instructor so will try to document my experiences so that others can follow my steps.
 

·
HDTiVo Owner!
Joined
·
128 Posts
Given that I have used these instructions to write an application that I think others may like, how do I then package it up in a jar file so others can use it? I am a relative Java neophyte but take direction fairly well!

--Ron
 

·
HDTiVo Owner!
Joined
·
128 Posts
Tried those instructions using the manual method without much success:

Code:
macbox:~/Documents/workspace/My HME Projects rvaniwaa$ cat mymanifest 
Manifest-Version: 1.0
Class-Path: hme-host-sample.jar hme.jar
Main-Class: com.tivo.hme.host.sample.Main
results:

Code:
macbox:~/Documents/workspace/My HME Projects rvaniwaa$ jar -cvfm ../../bejeweled.jar mymanifest com/tivo/hme/*class
added manifest
adding: com/tivo/hme/BeJeweled.class(in = 1674) (out= 972)(deflated 41%)
adding: com/tivo/hme/Board$Jewel.class(in = 1940) (out= 1027)(deflated 47%)
adding: com/tivo/hme/Board$coordinate.class(in = 462) (out= 321)(deflated 30%)
adding: com/tivo/hme/Board.class(in = 9200) (out= 4638)(deflated 49%)
adding: com/tivo/hme/HelloWorld.class(in = 894) (out= 514)(deflated 42%)
macbox:~/Documents/workspace/My HME Projects rvaniwaa$ java -jar ../../bejeweled.jar 
Exception in thread "main" java.lang.NoClassDefFoundError: com/tivo/hme/host/sample/Main
macbox:~/Documents/workspace/My HME Projects rvaniwaa$
Current directory contents:
Code:
macbox:~/Documents/workspace/My HME Projects rvaniwaa$ ls
com                     hme.jar
hme-host-sample.jar     mymanifest
I also want to add images and sound. Whenever I get this working, do I just add those to the jar file as well?

--Ron
 

·
The Very Last One
Joined
·
232 Posts
Copy the bejeweled.jar file into the same directory as hme.jar and hme-host-sample.jar and do:

Code:
java -cp hme.jar;hme-host-sample.jar;bejeweled.jar com.tivo.hme.host.sample.Main [COLOR=Red]com.tivo.hme.Bejeweled[/COLOR]
Replace the text in red with the correct name for your application if it's not correct. This is simply the package name plus the class name of the class that contains your init() routine. And yes, you can add images directly into the JAR if you like.
 

·
Member
Joined
·
352 Posts
Like the traffic cam app, I was wondering if it is possible to display four URL images at once. Galleon will display and refresh one image with a boarder and continuously refresh it (when you press play), but that is not exactly what I am looking for. I would like to display and refresh 4 images (2x2) without a boarder. I have gone through the traffic cam tutorial which I was able to get working and could kind of understand what it was doing - I am not having any luck resizing and add images. I just don’t know if it is possible to display four images at once; on top of that if I could add user/password function so I don’t have to leave them wide open would be a bonus. Any pointers would be appreciated.
 

·
Registered
Joined
·
297 Posts
Want to write an HME app? Maybe you've dabbled in code before, but never Java. It's not hard, but getting the tools to work is always the first hurdle.

Want to get started? Here's one way, and it won't cost a penny. Note that I won't go into all the why's, but rather focus on the how's...let's get you up and running.

<<<clip>>>

Last edited by TiVoPony : 10-25-2005 at 12:40 AM.
Is this still valid or is there an updated version around?
 

·
Registered
Joined
·
297 Posts
To the best of my knowledge, this is still valid for java. There are other options available now.
Hme for Python
Hme SDK for .NET
Are these the current versions:

For the Java SDK 1.42 from java.sun.com
Windows Platform - Java(TM) SE Development Kit 6
jdk-6-windows-i586.exe

For the HME SDK from tivohme.sourceforge.net
hme_sdk_1.4.0.zip

For the Eclipse IDE from www.eclipse.org
Eclipse IDE for Java Developers
eclipse-java-europa-fall2-win32.zip
 

·
Registered
Joined
·
2 Posts
Can anybody tell me what kind of data is available to the SDK from the TiVo DVR itself? I.e. is it possible to extract info like TiVo account #, device serial # or recently watched item perhaps? Any pointers or info would be appreciated.
 
61 - 76 of 76 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top