150 likes | 308 Views
Adobe Air PodCatcher. CIS 764 Neil Crose. Prerequisites for Developing in Air. Flash CS3 or CS4 or Flex Software Development Kit (SDK) Coding ability in HTML and JavaScript Adobe Air SDK for other visual development tools (http://www.adobe.com/support/flash/downloads.html).
E N D
Adobe Air PodCatcher CIS 764 Neil Crose
Prerequisites for Developing in Air • Flash CS3 or CS4 or Flex Software Development Kit (SDK) • Coding ability in HTML and JavaScript • Adobe Air SDK for other visual development tools (http://www.adobe.com/support/flash/downloads.html)
Preparing your Machine for Developing in Air First you need to install Adobe Air Run Time Environment onto your workstation. http://get.adobe.com/air/
Preparing your Machine for Developing in Air (cont.) Open Adobe Flash Create a new Flash File (ActionScript 3.0)
The Architecture • Classes • PodcastPlayer • Main Application Class • RSSBase • Main Class for RSS Feeds • RSSChannel • Main class that separates the RSS items • RSSItem • Main class that represents the RSS feed items • SoundFacade • Class that plays the RSS feed items • SoundPlayer • Controler for the RSS Feed item
Creating the Self Signed Certificate Command > Air – Application & Installer Settings Command > Air – Publish Public Screen for creating a self signed digital certificate
Creating the Self Signed Certificate (cont.) Put in the password that you entered in for the certificate Select the box that says “Remember password for session”
Creating the Feed XML • XML works as a flat text data storage file • The purpose of the XML file is to point our application to the RSS feeds that we would like to consume.
Podcast Feed XML File <?xml version='1.0' standalone='yes' ?> <config> <feed> <label>Starbucks Coffee</label> <url>http://www.starbucks.com/rss/generateRss.asp?channelId=1</url> </feed> <feed> <label>Adobe Creative Suite Developer Podcast</label> <url>http://rss.adobe.com/www/special/mnr_index.rss</url> </feed> <feed> <label>The Onion</label> <url>http://feeds.theonion.com/theonion/radionews</url> </feed> <feed> <label>Soccer Talk USA</label> <url>http://www.soccertalkusa.com/soccertalkusa.xml</url> </feed> <feed> <label>Diggnation</label> <url>http://feeds.feedburner.com/diggnation</url> </feed> <feed> <label>The Office Alliance Podcast</label> <url>http://feeds.feedburner.com/TheOfficeAlliancePodcast</url> </feed> </config>
Add the XML to the Publish Settings • Commands > Air - Application and Installer Settings • Look under Included files and click the Add (+) button • Browse to the location where you saved the XML file
Installing the Application a. b. c.