15
Adobe Air PodCatcher Adobe Air PodCatcher CIS 764 Neil Crose

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

Embed Size (px)

Citation preview

Adobe Air PodCatcherAdobe Air PodCatcherCIS 764Neil Crose

Prerequisites for Developing Prerequisites for Developing in Airin AirFlash CS3 or CS4 or Flex

Software Development Kit (SDK)Coding ability in HTML and

JavaScriptAdobe Air SDK for other visual

development tools (http://www.adobe.com/support/flash/downloads.html)

http://get.adobe.com/air/

First you need to install Adobe Air Run Time Environment onto your workstation.

Preparing your Machine for Preparing your Machine for Developing in Air Developing in Air

Open Adobe Flash

Create a new Flash File (ActionScript 3.0)

Preparing your Machine for Preparing your Machine for Developing in Air (cont.)Developing in Air (cont.)

The ArchitectureThe 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

UML ChartUML Chart

Display of the Class CodeDisplay of the Class Code

Command > Air – Publish Public

Screen for creating a self signed digital certificate

Command > Air – Application & Installer Settings

Creating the Self Signed Creating the Self Signed CertificateCertificate

Put in the password that you entered in for the certificate

Creating the Self Signed Creating the Self Signed Certificate (cont.)Certificate (cont.)

Select the box that says “Remember password for session”

Creating the Feed XMLCreating the Feed XMLXML 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.

<?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>

Podcast Feed XML FilePodcast Feed XML File

Add the XML to the Publish Add the XML to the Publish SettingsSettings

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 ApplicationThe Compiled Application

Installing the ApplicationInstalling the Application

a.

b.

c.

The Completed ProductThe Completed Product