Skip navigation
Currently Being Moderated

Air for TV compiled from Burrito

Nov 1, 2010 5:03 PM

Hello, I've been playing around with Air for TV and was wondering if there is any plan (or current method) to allow compiling an AIR for TV application from FlashBuilder?

 
Replies
  • Currently Being Moderated
    Nov 3, 2010 4:37 PM   in reply to BrentSmith

    As long as you are compiling with a version of the SDK that supports TV development, you should be able to export regular AIR apps that work on the TV in the usual way. If you are using native extensions, then you have to use ADT directly to produce an ANE file. You can do that with the comand line, with an Ant script, or by configuring it as an External Program in Flash Builder.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 5, 2010 10:48 AM   in reply to BrentSmith

    Flex should work on TV, I think -- it is just ActionScript at the end of the day. Possibly RSLs are not supported on TV, though. You might check how the Flex libraries are linked to your application and make sure that they are linked statically.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 29, 2011 6:49 AM   in reply to Joe ... Ward

    I was finally able to get my app on a Samsung TV. Here's some more info on this subject. You actually have to overlay the Air 2.6 SDK - not the 2.5 SDK.

    Also make sure when you finally package the TV app to change the application XML to point to 2.5,. During development you can leave it as 2.6.

     

     

     

    @see http://learn.adobe.com/wiki/display/airquestions/AIR+for+TV

     

     

    What tools do developers use to create AIR 2.5.1 apps for TVs?

    Developers can use the following tools:

    Note: Developers can use the AIR 2.6 SDK for developing apps for AIR 2.5.1 for TV. In Flash Professional, set the publish settings to Adobe AIR 2.5. In Flash Builder, set the AIR namespace to 2.5 in the app descriptor file:
    <application xmlns="http://ns.adobe.com/air/application/2.5">.
    If you are using Flash Builder 4.5, you must do the following:

    1. Download the Flex 4.1.0.16076 SDK.
    2. Download the AIR 2.6 SDK.
    3. Copy each file from the AIR 2.6 SDK into the corresponding directory within the Flex 4.1 SDK, replacing the Flex original variants.
    4. To use this SDK within Flash Builder, select your project in the Flash Builder package explorer.
    5. Choose Project > Properties to open the project's Properties dialog box.
    6. Select Flex Compiler in the list and then click the "Configure Flex SDKs" link to open the Preferences dialog box.
    7. Click the Add button, browse to the SDK, and then click OK until you get back to the project's Properties dialog box.
    8. Click the "Use a specific SDK" option and then pick Flex 4.1 from the drop-down menu.

    You must also replace the default WindowedApplication element with Application in your project's MXML file.

     

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 7, 2011 2:03 PM   in reply to JAXIMFLASH

    Hi,

     

    Could you please share your Samsung SmartTV model number (D7000, D8000, etc.)?

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 7, 2011 3:48 PM   in reply to thinkspring

    sure. It's d8000.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 7, 2011 3:57 PM   in reply to JAXIMFLASH

    Thanks.  I am working on an app and have a D6000 model, which does not appear to be on the 'blessed' list of AIR-capable SmartTV's.  I'm still waiting for word back from Samsung support, but the strange thing is that the content will run- except for any bitmaps (they appear as blank or red rectangles, which I have seen in past projects- as an indication of not having enough memory to display things).

     

    I'm pretty sure the D6000 is running a Cortex-A8 cpu but I'm not sure of the ram. 

     

    Would you happen to know if the D8000 uses a different (better?) cpu?

     

    Greg

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 8, 2011 5:43 AM   in reply to thinkspring

    I do not know the specifics of the hardware used for the D8000.

     

    However, I have also experienced problems with my app. None of my dynamically loaded JPGs load, but my dynamically loaded PNGs do load. Also, bitmaps from a library SWF file and embedded into the code at compile time do not always appear. But the embeded assets that do load, always load and the embedded assets that do not load, never load. I wonder if these image problems are caused by not having enough memory as you have found in your project.

     

    Also note worthy, a bluray player running my app (I think a d6500 model) does load the dynamically loaded JPGs and the embedded assets, but that device has a different set of issues.

     

    I also have found that attempting to seek a video doesn't behave as expected. After I seek the Netstream, the video continues to play for a few seconds w/o any sound and then pauses. Before a recent firmware update, attempting to seek a video caused the video to vanish.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 8, 2011 6:24 AM   in reply to JAXIMFLASH

    That is all good stuff to know, thanks for sharing.

     

    Samsung just confirmed that the TV I am using (the D6000) is not AIR-capable but did not offer any specifics as to why.  At any rate, it's not supported.

     

    The lack of AIR support on some of the SmartTV line has me wondering if a Flash 9, AS2 based app using the 'other' player might be a good way to go, for maximum reach...

     

    For what it's worth I also applied the firmware update, bringing my system software to 001019.

     

    Greg

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 8, 2011 10:40 AM   in reply to thinkspring

    I think those have Flash Lite for Digital Home. So you could still use that if you are a big AS2 fan I suspect that the red images are probably decoding problems not memory (I could be wrong about this). Are you using lots of images? There should be plenty of memory for at least a full screen of images. I think the bigger problem is that the decoder probably doesn't understand the image data so it displays a red rect. I would try it with some PNG images and see if it still works.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 8, 2011 4:42 PM   in reply to John_Simpson

    Curious about the SmartTV Flash player capabilities, I made a quick tool.  The OS is reported as 'stagecraft-os' and the player version is Linux 9,10,122,202.

     

    Feel free to download the tool here if you want to run it on your device (I anticipate everyone will have the same results, unless the player is updated in the future- or if it is somehow different for the higher-end 7000 or 8000 models).

     

    http://www.thinkspring.net/tools/smarttv/smartv_flash_capabilities.zip

     

    http://www.thinkspring.net/tools/smarttv/smarttv_cap_test_20110908.jpg

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 8, 2011 6:55 PM   in reply to thinkspring

    When running my Adobe Air app, I have found the following:

    Capabilities.os == Adobe Linux

    Capabilities.manufacturer == General TV

    Capabilities.version == LNX 10,1,82.76

    Capabilities.playerType == desktop

     

    With your app, how do you get the name of the Samsung SmarTV model, "UN32D6000SFXZA" ? Is that dynamically driven?

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 8, 2011 9:13 PM   in reply to JAXIMFLASH

    Whoa... that sounds like an honest-to-goodness 10.1 player to me!  Interesting.

     

    All of the green text in the app is static(I have a guide layer in the .fla reminding folks to change it in case they take a screenshot).  Wonder if it would be possiblet to get ahold of the tv model/software version dynamically... maybe via javascript/external interface?  Something to look at later. 

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 8, 2011 9:16 PM   in reply to thinkspring

    Oh, wait- you got that when you ran capabilites under AIR- so actually the 10.1 player makes sense.

     

    Did you happen to run the test app as-is (with just the Flash player?)  If so did you see the same results?

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 9, 2011 4:45 AM   in reply to thinkspring

    no, I didn't run your flash app. As you pointed out, I ran this within Air. I'll take a look at your app later.

     

    I had looked at trying to get the device name thru ActionScript and it doesn't seem like you can. I have NOT looked into if you can get this info running JavaScript. I'd be mighty interested if someone figured out how to get this info programtically.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points