1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Getting Started with Eclipse

Discussion in 'Developers Corner' started by TiVoPony, Feb 15, 2005.

  1. mondelicious

    mondelicious New Member

    29
    0
    Jul 26, 2005
    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
     
  2. Jabneel

    Jabneel New Member

    1
    0
    Apr 18, 2006
    Customers? Is anyone here developing apps for the Tivo Box for a business (or side business)?

    Just curious.
     
  3. andrew_henk

    andrew_henk New Member

    3
    0
    May 23, 2006
    Thank's was very helpfull
     
  4. gbalcombe

    gbalcombe TiVonophile

    1
    0
    Sep 24, 2006
    Denver
    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.
     
  5. rvaniwaa

    rvaniwaa HDTiVo Owner!

    128
    0
    Sep 27, 2002
    Colorado...
    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
     
  6. rvaniwaa

    rvaniwaa HDTiVo Owner!

    128
    0
    Sep 27, 2002
    Colorado...
    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
     
  7. F8ster

    F8ster The Very Last One

    232
    0
    May 26, 2002
    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.
     
  8. miller890

    miller890 Member

    351
    0
    Feb 15, 2002
    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.
     
  9. saberman

    saberman Member

    245
    0
    May 4, 2004
    Is this still valid or is there an updated version around?
     
  10. jbcooley

    jbcooley New Member

    55
    0
    May 13, 2007
  11. F8ster

    F8ster The Very Last One

    232
    0
    May 26, 2002
  12. saberman

    saberman Member

    245
    0
    May 4, 2004
    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
     
  13. alu2963

    alu2963 New Member

    1
    0
    Oct 14, 2011
    I have problems to add external libraries, the eclipse say me that everthing is OK, but once this the simulator doenst link these libraries,some idea why so?
     
  14. johnbe2

    johnbe2 New Member

    2
    0
    Feb 6, 2012
    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.
     
  15. johnbe2

    johnbe2 New Member

    2
    0
    Feb 6, 2012
    anyone?
     

Share This Page