Results 1 to 6 of 6

Thread: HTA XM Player (using FrodoXMService)...

  1. #1
    FLAC SFiorito's Avatar
    Join Date
    May 2004
    Posts
    1,365

    HTA XM Player (using FrodoXMService)...

    HTA == HTML Application

    As some of you know I've been playing around with Mozilla Application development using XUL. It's really powerful and cool, but I wanted to try out the same idea in IE. HTA's are basically HTML pages, with a *.hta extension instead of *.htm. You run them just like any other EXE, just double-click. They run in a full-rights IE shell. Anyways, this was simply a proof of concept. It's not meant to look pretty (both code-wise and UI). You need FrodoXMService installed obviously. I use an XML "data island" and XSLT for the channel list to make sorting easier and faster (you can click on the column names to sort). XUL has much better UI elements than your basic HTML which is what you have to use for HTA's so I had to hack a scrolling list box. It works, so whatever...

    So anyways, HTA's are pretty cool because you've got full support for everything in Windows. XUL is a lot better for UI work, but it's limited to mostly XPCOM for components which is not as "easy" to write for as .NET or COM. There's an ActiveX plugin for Mozilla/Firefox but it doesn't support events in XUL mode (in HTML mode it does) so I can't use FrodoXMService client in XUL. However, I've written a rough XUL client using JavaXM. It's pretty cool, I can load local Java libraries with JavaScript in XUL and run them no problem. But there also, it's limited due to how JavaXM was written (it sends events to objects that implement a certain interface, but you can't implement java interfaces in Javascript). I had started writing my own XPCOM XM class, but I didn't feel like finishing it. So potentially if I really wanted to use XUL I would have to make an XPCOM class for XM. Anyhow, I'm not sure why I'm so fascinated with all this XML/Javascript stuff...but it's fun.

    NOTICE: since I can't upload an HTA file, I've uploaded the app as a .txt. Just rename it to .hta after you save it...

    PS - one of the really nice things of using HTML/XUL is how easy and powerful skinning becomes since you can take advantage of the ultimate skinning tool: CSS!! In this example I just use inline styles in the elements, but in a "real" app I would just use a stylesheet file so you can just swap different stylesheets and have full control over the display of the whole UI.

    *UPDATE*: made a few minor UI changes, cleaned up CSS code...
    Attached Files Attached Files

  2. #2
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    Excellent !
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  3. #3
    Newbie entr0py's Avatar
    Join Date
    Oct 2003
    Location
    NH
    Posts
    25
    cool, i will check it out
    VIA EPIA M1000
    Casetronic C134
    512MB, 40G Hard Drive, 8x DVD-ROM
    Xenarc 700TS ULTRABRIGHT
    Griffin Powermate
    Jeff Bipes AUX-IN for Audi's
    Opus 150W
    WinXP sp2
    myHTPC, VoiceMate Pro
    Street Atlas 2001

  4. #4
    Newbie entr0py's Avatar
    Join Date
    Oct 2003
    Location
    NH
    Posts
    25
    really nice work. I was working on something in vb.net using frodo's service but i have kind of put it on hold for the moment.
    VIA EPIA M1000
    Casetronic C134
    512MB, 40G Hard Drive, 8x DVD-ROM
    Xenarc 700TS ULTRABRIGHT
    Griffin Powermate
    Jeff Bipes AUX-IN for Audi's
    Opus 150W
    WinXP sp2
    myHTPC, VoiceMate Pro
    Street Atlas 2001

  5. #5
    FLAC alti's Avatar
    Join Date
    Sep 2004
    Location
    NY
    Posts
    1,723
    sweet! very cool idea
    My Install

    Software:
    CFiG v1
    iGuidance Plugin for CF

    CarShell
    Working shell for a CarPC

    StopWatch
    StopWatch plugin remade for centrafuse RC1

  6. #6
    FLAC SFiorito's Avatar
    Join Date
    May 2004
    Posts
    1,365
    thanks. btw, HTA's are also what XP MediaCenter uses for its apps.

Similar Threads

  1. Possible to split XM Direct cable to computer and XM commander?
    By Jemmi in forum General Hardware Discussion
    Replies: 3
    Last Post: 12-14-2005, 02:07 PM
  2. Stop audio player on XM launch?
    By chrishick in forum Road Runner
    Replies: 3
    Last Post: 10-26-2005, 07:59 PM
  3. Anyone want another XM player? (NimbleXM)
    By Erorus in forum Software & Software Development
    Replies: 28
    Last Post: 05-29-2005, 05:36 PM
  4. XM Player, Channel List scrunched??
    By KingsDude in forum FrodoPlayer
    Replies: 2
    Last Post: 05-13-2005, 01:04 AM
  5. Using an XM direct as an XMPCR
    By dacndar in forum General Hardware Discussion
    Replies: 20
    Last Post: 10-17-2004, 01:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •