Adobe Air Pod Catcher CIS 764 Neil Crose
Adobe Air Pod. Catcher CIS 764 Neil Crose
Prerequisites for Developing in Air �Flash CS 3 or CS 4 or Flex Software Development Kit (SDK) �Coding ability in HTML and Java. Script �Adobe Air SDK for other visual development tools (http: //www. adobe. com/support/flash/d ownloads. 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 (Action. Script 3. 0)
The Architecture � Classes ◦ Podcast. Player �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 ◦ Sound. Facade �Class that plays the RSS feed items ◦ Sound. Player �Controler for the RSS Feed item
UML Chart
Display of the Class Code
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/generate. Rss. asp? channel. Id=1</url> </feed> <label>Adobe Creative Suite Developer Podcast</label> <url>http: //rss. adobe. com/www/special/mnr_index. rss</url> </feed> <label>The Onion</label> <url>http: //feeds. theonion. com/theonion/radionews</url> </feed> <label>Soccer Talk USA</label> <url>http: //www. soccertalkusa. com/soccertalkusa. xml</url> </feed> <label>Diggnation</label> <url>http: //feeds. feedburner. com/diggnation</url> </feed> <label>The Office Alliance Podcast</label> <url>http: //feeds. feedburner. com/The. Office. Alliance. Podcast</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
The Compiled Application
Installing the Application a. b. c.
The Completed Product
- Slides: 15