Slashdot Mirror


Controlling An Embedded Device Using Flash

JimCricket writes "Art & Logic has just released a web server toolkit based on the open source GoAhead WebServer. The cool part is that it can communicate with Flash presentations using XML-RPC. The idea is to create GUI's to control embedded devices using Flash in addition to (or instead of) HTML. They've posted a little demo running on Windows, but in the real world the server would run on a low-power device. Seems like a great idea for the embedded world, given that Flash interfaces _can_ be very low-memory (as long as Flash designers stick to the vector-based graphics and ActionScript)."

49 of 174 comments (clear)

  1. If only Macromedia... by Anonymous Coward · · Score: 5, Interesting

    ...would listen to its customers. We run one of Germany's largest flash-based web sites. We are happy with Flash and what it can do, but we encounter little bugs and annoyances every now and then.

    Macromedia doesn't fix them.

    To make things worse, the German product manager basically tells us "we don't have to fix this. We don't care. Without us, your site wouldn't exist. You better be grateful."

    If only there was an alternative to Flash to escape this.

    (Yadda, yadda, closed source, I know, I know. Trouble is, there is no alternative to Flash at this time.)

    1. Re:If only Macromedia... by theolein · · Score: 2

      This is why Macromedia is not exactly in a good position economically: Too many features over reliability.

      I presume you guys have tried the forums and bug reporting on the Macromedia.com website haven't you? They at least answer you there sometimes.

    2. Re:If only Macromedia... by g4dget · · Score: 2
      If only there was an alternative to Flash to escape this.

      There are several, including Java and (more recently) SVG. Most sites don't benefit from Flash anyway and it just scares users away.

    3. Re:If only Macromedia... by Hanno · · Score: 2

      Show me a Web site that needs all that crap, THEN we have a deal. :)

      Well, entertainment sites, like http://www.heavy.com, http://www.edgar.de or http://www.k1010.de - sure, nobody needs these sites. But such sites need these technologies.

      --

      ------------------
      You may like my a cappella music
    4. Re:If only Macromedia... by MeNeXT · · Score: 2
      What make a site good is not the animation.

      When I'm researching products online and get a stupid flash animation MERKATING their product I get out of there as fast as I can. I learned this a couple of years back, FLASH = NO INFORMATION just MARKETING. It's just a waste of my time.

      --
      DRM? No thanks, I'll just get it somewhere else...
    5. Re:If only Macromedia... by pmz · · Score: 2

      If only there was an alternative to Flash to escape this.

      Have you heard of building a website using HTML? Used thoughtfully, it works really well, loads quickly, and is usable on nearly every modern computer. Leaving out JavaScript, Flash, and big images might even allow people to enjoy your website driving up sales tremendously. Try it today!

    6. Re:If only Macromedia... by Hard_Code · · Score: 3, Informative

      "If only there was an alternative to Flash to escape this."

      Synchronized Multimedia Integration Language (SMIL): http://www.xml.com/pub/a/2002/05/29/smil.html

      Scalable Vector Graphics (SVG):
      http://www.w3.org/TR/SVG/

      --

      It's 10 PM. Do you know if you're un-American?
    7. Re:If only Macromedia... by Pfhreakaz0id · · Score: 2

      you still didn't answer his question.... our company does interactive learning over the web (I'm not involved in these projects, but they are cool) and I can assure you, there is nothing else. Java/SVG/Whatever just doesn't have the designer tools.

  2. need titles that are more clear! by lingqi · · Score: 4, Informative
    Controlling An Embedded Device Using Flash

    the first thing i thought when i read this was "controlling blah blah using sector-programmable EEPROM"... sigh; been in the hardware side too long.

    side point: flash programs themselves are small and neat -- but the actual client (that reads, processes, and displays the animations and all that) always have seemed quite processor intensive to me, though... so besides being fancy and neat -- i am sure there are more power-saving interfaces you can use if that's really what you are after.

    --

    My life in the land of the rising sun.

    1. Re:need titles that are more clear! by Hanno · · Score: 2

      flash programs themselves are small and neat

      Good Lord, no. Flash's "programming language" is a joke and even worse is what most Flash designers to with it - since they are designers, not programmers. I'm having a hard time explaining fellow designers what Boolean algebra is - again and again and again.

      --

      ------------------
      You may like my a cappella music
    2. Re:need titles that are more clear! by Beliskner · · Score: 3, Funny
      flash programs themselves are small and neat -- but the actual client (that reads, processes, and displays the animations and all that) always have seemed quite processor intensive to me, though
      Right on. We should all use Java applets.
      --
      A caveman dreams of being us, the incalculable power and riches. We dream of being Q, then what?
    3. Re:need titles that are more clear! by bogado · · Score: 2

      I think the idea is to separete the viewer from the embeded device. You could control your air conditioning from your computer, using a flash interface.

      I do believe flash is a good "language" to describe such UI interactions. There are lot's of designers that are quite familiar with creating flash animations. Remember that the flash is just the "skin" the inner working will be activated by the web server and would probably be writen in C or assembler just like it always have been.

      --
      []'s Victor Bogado da Silva Lins

      ^[:wq

    4. Re:need titles that are more clear! by bluebomber · · Score: 2

      I had the same reaction. Thought there must be some kind of new way of fiddling with the PROMs...

      Now what's this vector-graphics stuff about?

    5. Re:need titles that are more clear! by kubrick · · Score: 2

      Good Lord, no. Flash's "programming language" is a joke and even worse is what most Flash designers to with it - since they are designers, not programmers. I'm having a hard time explaining fellow designers what Boolean algebra is - again and again and again.

      Surely the deficiencies of the language contribute to the brain-dead nature of some of the code. For example, after I'd written something in Flash 5, but then realized that we needed to support Flash 4, I had to rewrite it -- but it used arrays, etc. So the code ends up looking like a nightmare because lots of useful stuff was being done with dynamically generated variables. :/

      I really think Flash suffers due to its designer-bias, as well -- the GUI is a nightmare and the scripting language remains, oh, about 75% of the way there.

      --
      deus does not exist but if he does
    6. Re:need titles that are more clear! by kubrick · · Score: 2

      It's good to figure out the delivery constraints before starting to code...!

      Tell that to my clients. :/

      --
      deus does not exist but if he does
  3. Re:Um.... by Hanno · · Score: 2

    SVG and DOM don't include synced audio. Granted, you don't need audio for this particular application...

    --

    ------------------
    You may like my a cappella music
  4. All I got was by Technician · · Score: 4, Insightful

    Requires Macromedia Flash Player 6
    on the little demo page. Too bad I removed FLASH due to it's abuse by web advertisers. I hope Macromedia will put out a player that can be set by default to not play flash. HINT HINT! I'm not going to install it to watch a demo and remove it for the rest of my browsing. Is a play button too much to ask?

    --
    The truth shall set you free!
    1. Re:All I got was by alexburke · · Score: 2, Insightful

      Requires Macromedia Flash Player 6
      on the little demo page. Too bad I removed FLASH due to it's abuse by web advertisers. I hope Macromedia will put out a player that can be set by default to not play flash. HINT HINT! I'm not going to install it to watch a demo and remove it for the rest of my browsing. Is a play button too much to ask?


      Two quick questions:

      (1) If you knew you didn't have the plugin installed, why did you bother clicking through? The demo was clearly described as being Flash.

      (2) What the fuck good would a Flash plugin be that, by default, doesn't play Flash? Does your web browser, by default, not render HTML?! (I'm sure there's a Netscape joke in there somewhere, but I'm generally not one to make cheap shots.)

      If you're so worried about ads, do yourself a favor and install Guidescope. It's a little proxy that sits in your system tray, bound to port 8000 of (only) your localhost interface, and you tell IE that localhost:8000 is your proxy for HTTP content. It then replaces known ads with a gray box the same size as the ad, so it won't break the layout of pages. (Optionally you can have it nuke them altogether.) It can optionally block some or all cookies, too.

    2. Re:All I got was by Beliskner · · Score: 2
      I hope Macromedia will put out a player that can be set by default to not play flash
      If you're using IE6, click on Tools -- Internet Options -- Security -- Custom. Then under ActiveX and Plug-ins section set everything that is ENABLED to PROMPT. e.g. Download signed ActiveX controls - prompt; Run ActiveX controls and plugins - prompt
      --
      A caveman dreams of being us, the incalculable power and riches. We dream of being Q, then what?
    3. Re:All I got was by alexburke · · Score: 2

      What's the problem with the plugin tossing a little "click here to play" button on the page instead of just starting the animation?

      The problem is with clicking three play buttons on a page I'd like to see that has several SWFs on it, then watching them play out of sync.

    4. Re:All I got was by Technician · · Score: 2

      PLAY buton in the drop down menu (right click).
      True, It is supposed to be there. Unfortunately some advertisers abused the control given them and I had too many ads that provided a right menu of one item;
      "About Macromedia Flash"
      That is why I mentioned advertiser abuse.
      This abuse led to the removal of flash on my system. Those ads were worse than blinking banners. The normal way to stop blinky flashly distracting things won't stop those flash ads. The only way found was remove flash. Another post recommends upgrading IE to 6 to get the ability to change Active X from enabled to prompt. I'll have to look into that. Is there a Netscape equivelant? I don't usualy use IE at home.

      --
      The truth shall set you free!
    5. Re:All I got was by kubrick · · Score: 2

      And what do I do if I'm using Linux? Oh yes, that's right, wait for Macromedia to notice, sneer at the hippies, and then release a version that's slower than the Windows one and months later.

      Grrrr.

      --
      deus does not exist but if he does
    6. Re:All I got was by pmz · · Score: 2

      What the fuck good would a Flash plugin be that, by default, doesn't play Flash?

      Well, it would be good for not consuming every resource on my computer, good for not booming unsolicited sound throughout my office, and good for increasing the overall reliability of my browser (Flash ain't bug-free!).

      However, it would also be good for manually allowing those few Flash animations that actually add value to a web site. The key word, here, is "few".

      An opt-in Play button would be an excellent feature for Flash. Without it, I am much more inclined to simply leave the Flash plugin sitting by itself and unloved in a subdirectory called "disabled".

    7. Re:All I got was by Pfhreakaz0id · · Score: 2

      Write your own. You have the source right?

    8. Re:All I got was by alexburke · · Score: 2

      They would already be playing out-of-sync because of download delays

      Not with my connection. :D

    9. Re:All I got was by RevAaron · · Score: 2

      Not talking about the source to the SWF player, Dr. Clever. He's talking about the browser. No source if you're using NS4 or Opera, but a feature like the one is IE which was discussed could easily be added to Mozilla.

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
  5. We are using flash for HTPC's... by Critical_ · · Score: 2, Interesting

    I am a home theater addict and have been very disturbed by the fact that the home theater industry moves just as fast as the computer industry but you can't upgrade your components unless you get something from manufacturers like Krell, Meridian, Theta Digital.

    So... many of us are using what we call Home Theater PC's (HTPC) to play DVD's in Progressive scan mode to feed our DLP projectors, using MP3/Ogg/Wav files for our home audio collections, HDTV decoder cards, etc. The problem is that all this stuff needs to be easily controlled with a remote. Many people have designed interfaces using flash/webserver and they tie it into an IR controll system. Maybe this will make it easier to hide the computer-ness of our HTPC and make them more appliance-like.

    If interested, avsforum.com has some nice forums for discussion in the realm of HTPC's.

  6. info on flash on devices by Anonymous Coward · · Score: 2, Informative

    fyi:
    macromedia has a mobile device development center for flash
    http://www.macromedia.com/desdev/mobile/

    and there is this book:
    http://www.amazon.com/exec/obidos/ASIN/0735711771/

  7. Advantages by neksys · · Score: 3, Interesting

    The real advantages here aren't so much in the "hey neat" category, but in the application of this technology. Not all of us are all that efficient at gathering information from text logs or what have you - many of us are more visual. If I could have a small flash application based on this technology that used images or even sounds to say, help me visualize the load on each of my servers from home, great! Instead of browsing through several megs (or gigs) of logs, I just look for the image of the server on fire. It won't eliminate the need for "down and dirty" work, but I can certainly think of many examples of where it could minimize it.

  8. as a hardware designer by Anonymous Coward · · Score: 2, Insightful

    flash for an interface is just a stupid idea.

    why goto the trouble/expense of including a vfd or a full color lcd. then emulating all the things flash needs to run. vs making a custom lcd/vfd display with your buttons on it (even if it looks just like the flash) and use that.

    oh morphing interfaces you say. the answer... do we really need a remote control with skins. do we need a tv that has some silly panasonic movie running on it all day.

    Look at all the crap thats gotten into car stereo head units these days. I mean the rice-boys love it but i still cant find a decent nice sounding stereo system for under 500 bux that has all the outputs and FUNCTIONAL abilities i want. Instead to get (rca) instead of line leads off a device you have to goto the $700 (cdn) range and end up gettin these stupid pixel usually like 320x100 displays and they distract the hell out of you while driving... I DONT NEED A GRAPHIC EQUALIZER...

    oh yes you can turn the crap off but at the end of the day you've paid an extra 200 for the stupid display.

    leave hardware alone, keep it away from macromedia and microsoft. embedded linux is nice because its just so barebones simple when it gets to that level. flash would seriously gum it up.

    keep hardware devices simple. provide functionality not flash. its not a website they're not sitting there for the purpose of that site. With hardware you want to use the damned thing not have it look pretty.

    The ONLY exception might be in the intergrated appliance market eg a microwave that has a vfd display that is a picture on the wall for example (like in anti-trust the movie).

    in which case however flash still isnt the answer. a custom application is. faster better and most importantly designed to do the job specifically.

    flash really is bloat ware when it comes to the stuff needed to properly impliment it and short of a specialty product from macromedia trying to adapt it is just plain silly.

  9. Java applets are probably better than Flash here by g4dget · · Score: 2
    It may not look as "flashy", but Java has a much more traditional toolkit than Flash and has extensive libraries to support this kind of functionality. And embedded system programmers are much more likely to feel comfortable with Java than with Flash.

    Note that it doesn't matter whether the Flash player is smaller than the Java runtime because that part of it runs in the web browser, not the embedded system. From the point of view of the embedded system, what matters is the footprint of the Flash or application specific class files, and Java is probably competitive there.

  10. Take a look at XWT by Insig · · Score: 3, Interesting
    XWT

    For a lightweight interface system that talks XML-RPC/SOAP and is easy to port to other platforms.

    It's written in Java, but natively compiles on Linux/Win32. None of the speed problems of Java (thanks to a different design tack with Box rendering).

    Of course, the obvious advantage over Flash is the fact it's open source (GPL).

  11. Pros and cons by theolein · · Score: 4, Informative

    They wouldn't have done this unless there were some good reasons to do so. The Flash engine is small and runs on embedded devices due to Macromedia's tireless attempts to get it everywhere they can. A simple Flash player and Flash application can come in under 500k and there is no browser on earth that can match this. Flash supports XML calls although it doesn't validate them. This idea neglects a security model as Flash doesn't have one with respect to the server so I hope these guys are not planning on doing stock quotes or transactions or something like that. The Flash interface is a good idea on precisely those devices and may yet gain more acceptance than Flash in the browser ever did, because the browser is really meant for HTML and nothing else.

  12. That word doesn't mean what you think it means by shoppa · · Score: 2, Informative
    Mistake: Using the words Flash and Embedded in the article title.

    Problem 1: Flash is a very common kind of memory chip used in embedded devices. In fact, it's a multi-billion dollar industry. And it has nothing to do with Shockwave or Macromedia.

    Problem 2: There's no embedded computer in the example - it's a Windows box.

    1. Re:That word doesn't mean what you think it means by crisco · · Score: 3, Interesting
      Solution 1: Read the press release. Unless Macromedia has gone into the semiconductor business, they are using that vector animation technology you know and love.

      Solution 2: Yeah we know, it says so right there where JimCricket submitted it and Hemos posted it.

      --

      Bleh!

  13. Flash: Remote, not local, interface by Dr.+JJJ · · Score: 2, Insightful

    The point of this story was to illustrate the use of Flash in building user interfaces for remote web-based control, not for use as a primary interface on the device itself.

  14. Re:Java applets are probably better than Flash her by g4dget · · Score: 2
    Interface designers design interfaces. Programmers implement them. Programmers use toolkits, not Flash. Being an interface designer doesn't qualify you as a programmer.

    the reason why people can't set the clock on their vcr is that technical people make the interfaces, not interface designers.

    Yeah, right: if your VCR were designed by interface designers, like Microsoft Word, it would have 200 buttons, be bigger than the TV set, crash with regularity, and cost $500. The reason why VCR clocks are hard to set is because there isn't much room for buttons or much money for fancy software. It's called an "engineering tradeoff". Get used to it. If you want a better VCR, pay more: the high end ones are simpler to use or set themselves automatically.

  15. XML-RPC? by togofspookware · · Score: 2, Insightful

    I'd think that if you want this to be a low-bandwidth interface, XML-RPC is about the last thing you'd want to use. What's wrong with good old fasioned URL-formatted parameters?

    I mean,

    <?xml version="blah"?>

    <methodCall>

    <methodName>eat_cheese</methodName>

    <params>

    <param>

    <name>amount</name>

    <value>lots</value>

    </param>

    </params>

    </methodCall>

    just seems like overkill to me when you could just do:

    action=eat_cheese&amount=lots

    I guess I'm just behind the times...

    --
    Duct tape, XML, democracy: Not doing the job? Use more.
    1. Re:XML-RPC? by RevAaron · · Score: 2

      You can do a lot more with XML-RPC than URL paramters. Some things are better done with URL parameters, yes. But not all of them. XML-RPC also makes it easy to use the data that is returned.

      If you want to see overkill, look at SOAP.

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
  16. Flash is used to build applications as well. by SPYvSPY · · Score: 2

    I doubt you'll find a development environment that is as easy to use and as quick to learn as Flash is for mocking up applications and interfaces.

  17. Flash is proprietary by bigpat · · Score: 2

    Just wanted to point out that an application written for flash uses a proprietary application to run and a proprietary ide to develop. This should cause people concern.

    Market infrastructure should not be based on monopolistic proprietary technologies.

    1. Re:Flash is proprietary by bigpat · · Score: 2

      Where is format published? I've never heard of this.

      Okay, a little google search later and: http://www.openswf.org/spec.html

      This is very interesting. Questions though, is the spec updated to reflect changes that Macromedia creates? And would a player be restricted by patents that Macromedia controls or licenses? Has anyone really created a new swf player?

    2. Re:Flash is proprietary by RevAaron · · Score: 2

      I don't know of any other non-MM players, but Squeak (see my sig) includes a pretty decent SWF player written completely in Smalltalk. Which means that *all* of the source is available to you and it's a lot more flexible than your average Flash player.

      No clue as to with what version of MM's flash it's compatible though. I'm guessing 4, but I've never looked into it.

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
  18. Like to see by A_Non_Moose · · Score: 2

    Something along the lines of translated bios codes.

    Maybe a Over Temp on a CPU could play the "FIRE BAD! FIRE BAAAADDD" clip from the Metallica/Napster flash movies.

    That's be so funny.

    --
    Have you read the moderator guidelines? Well, have you, PUNK? (and I want a Karma: Gnarly option)
  19. Flash microwave? by DrCode · · Score: 2

    Ergg. My first thought was of turning on the microwave, and getting a light show with a cheesy tune played using the beeper, along with a prompt to 'Press here to skip intro and begin cooking.'

  20. Korean Arse Shooter by meehawl · · Score: 2

    That said, the only practical use anyone has actually found for Flash is those "Skip Intro" pages that everyone skips with a grunt of mild irritation.

    That's simply not the case. There are some compelling Flash applications, such as the...

    Korean Arse Shooter .

    --

    Da Blog
  21. Re:Blinking 0:00 phenomenon by KyleCordes · · Score: 2

    I use my VCR in the same way about; setting the is a waste of time, it would enable a feature I don't use anyway. However, apparently people who design devices don't like it when users don't want to use all the features, like the clock. So they do things like this:

    * Make 12:00 blink annoyingly on the VCR, so you end up with setting it or leaving the VCR on (with a tape in) to get it to not do that.

    * Going even farther, the folks who design GE microwave ovens feel so strongly that the clock is an important feature that they device cannot be used at all for its main purpose, without first setting the clock (time/date) which has nothing to do with that purpose.

  22. Re:Write your own. by Technician · · Score: 2

    Unfortunately I am not a software author. I haven't the slightest idea of where to begin. Before you call me dumb, I am a ISCET Certified Tech. I'm a hardware tech. I can but a Broadcast radio station back on the air that has been hit by lightning (ask for photos) so my field of expertise is not software coding. Would you know how to fix a 50 KW FM transmitter dammaged by lightning? I know how to use a Motorolla D2000. My debuging tools is not compilers and such, it's storage oscilloscopes, spectrum analyzers, time domain reflectometers, digital multimeters, directional wattmeters, etc. We are only experts in our own fields.

    --
    The truth shall set you free!
  23. Re:Write your own. by Pfhreakaz0id · · Score: 2

    sorry, I was kinda kidding. I think it just illustrates how ridiculous the "write it yourself" response is for 99% of the people who use computers.