You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/04/26 01:34:55 UTC
[10/51] [partial] ADC articles donated by Adobe Systems Inc
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/dao/EmployeeDAO.as
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/dao/EmployeeDAO.as b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/dao/EmployeeDAO.as
new file mode 100644
index 0000000..f5c60ce
--- /dev/null
+++ b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/dao/EmployeeDAO.as
@@ -0,0 +1,216 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package dao
+{
+ import flash.data.SQLConnection;
+ import flash.data.SQLStatement;
+ import flash.filesystem.File;
+ import flash.filesystem.FileMode;
+ import flash.filesystem.FileStream;
+
+ import mx.collections.ArrayCollection;
+
+ public class EmployeeDAO
+ {
+ public function getItem(id:int):Employee
+ {
+ var sql:String = "SELECT id, firstName, lastName, title, department, city, email, officePhone, cellPhone, managerId, picture FROM employee WHERE id=?";
+ var stmt:SQLStatement = new SQLStatement();
+ stmt.sqlConnection = sqlConnection;
+ stmt.text = sql;
+ stmt.parameters[0] = id;
+ stmt.execute();
+ var result:Array = stmt.getResult().data;
+ if (result && result.length == 1)
+ return processRow(result[0]);
+ else
+ return null;
+
+ }
+
+ public function findByManager(managerId:int):ArrayCollection
+ {
+ var sql:String = "SELECT * FROM employee WHERE managerId=? ORDER BY lastName, firstName";
+ var stmt:SQLStatement = new SQLStatement();
+ stmt.sqlConnection = sqlConnection;
+ stmt.text = sql;
+ stmt.parameters[0] = managerId;
+ stmt.execute();
+ var result:Array = stmt.getResult().data;
+ if (result)
+ {
+ var list:ArrayCollection = new ArrayCollection();
+ for (var i:int=0; i<result.length; i++)
+ {
+ list.addItem(processRow(result[i]));
+ }
+ return list;
+ }
+ else
+ {
+ return null;
+ }
+ }
+
+ public function findByName(searchKey:String):ArrayCollection
+ {
+
+
+ var sql:String = "SELECT * FROM employee WHERE firstName || ' ' || lastName LIKE ? ORDER BY lastName, firstName";
+ var stmt:SQLStatement = new SQLStatement();
+ stmt.sqlConnection = sqlConnection;
+ stmt.text = sql;
+ stmt.parameters[0] = "%" + searchKey + "%";
+ stmt.execute();
+ var result:Array = stmt.getResult().data;
+ if (result)
+ {
+ var list:ArrayCollection = new ArrayCollection();
+ for (var i:int=0; i<result.length; i++)
+ {
+ list.addItem(processRow(result[i]));
+ }
+ return list;
+ }
+ else
+ {
+ return null;
+ }
+ }
+
+ public function create(employee:Employee):void
+ {
+ trace(employee.firstName);
+ if (employee.manager) trace(employee.manager.id);
+ var sql:String =
+ "INSERT INTO employee (id, firstName, lastName, title, department, managerId, city, officePhone, cellPhone, email, picture) " +
+ "VALUES (?,?,?,?,?,?,?,?,?,?,?)";
+ var stmt:SQLStatement = new SQLStatement();
+ stmt.sqlConnection = sqlConnection;
+ stmt.text = sql;
+ stmt.parameters[0] = employee.id;
+ stmt.parameters[1] = employee.firstName;
+ stmt.parameters[2] = employee.lastName;
+ stmt.parameters[3] = employee.title;
+ stmt.parameters[4] = employee.department;
+ stmt.parameters[5] = employee.manager ? employee.manager.id : null;
+ stmt.parameters[6] = employee.city;
+ stmt.parameters[7] = employee.officePhone;
+ stmt.parameters[8] = employee.cellPhone;
+ stmt.parameters[9] = employee.email;
+ stmt.parameters[10] = employee.picture;
+ stmt.execute();
+ employee.loaded = true;
+ }
+
+ protected function processRow(o:Object):Employee
+ {
+ var employee:Employee = new Employee();
+ employee.id = o.id;
+ employee.firstName = o.firstName == null ? "" : o.firstName;
+ employee.lastName = o.lastName == null ? "" : o.lastName;
+ employee.title = o.title == null ? "" : o.title;
+ employee.department = o.department == null ? "" : o.department;
+ employee.city = o.city == null ? "" : o.city;
+ employee.email = o.email == null ? "" : o.email;
+ employee.officePhone = o.officePhone == null ? "" : o.officePhone;
+ employee.cellPhone = o.cellPhone == null ? "" : o.cellPhone;
+ employee.picture = o.picture;
+
+ if (o.managerId != null)
+ {
+ var manager:Employee = new Employee();
+ manager.id = o.managerId;
+ employee.manager = manager;
+ }
+
+ employee.loaded = true;
+ return employee;
+ }
+ public static var _sqlConnection:SQLConnection;
+
+ public function get sqlConnection():SQLConnection
+ {
+ if (_sqlConnection) return _sqlConnection;
+ var file:File = File.documentsDirectory.resolvePath("FlexMobileTutorial.db");
+ var fileExists:Boolean = file.exists;
+ _sqlConnection = new SQLConnection();
+ _sqlConnection.open(file);
+ if (!fileExists)
+ {
+ createDatabase();
+ populateDatabase();
+ }
+ return _sqlConnection;
+ }
+
+ protected function createDatabase():void
+ {
+ var sql:String =
+ "CREATE TABLE IF NOT EXISTS employee ( "+
+ "id INTEGER PRIMARY KEY AUTOINCREMENT, " +
+ "firstName VARCHAR(50), " +
+ "lastName VARCHAR(50), " +
+ "title VARCHAR(50), " +
+ "department VARCHAR(50), " +
+ "managerId INTEGER, " +
+ "city VARCHAR(50), " +
+ "officePhone VARCHAR(30), " +
+ "cellPhone VARCHAR(30), " +
+ "email VARCHAR(30), " +
+ "picture VARCHAR(200))";
+ var stmt:SQLStatement = new SQLStatement();
+ stmt.sqlConnection = sqlConnection;
+ stmt.text = sql;
+ stmt.execute();
+ }
+
+ protected function populateDatabase():void
+ {
+ var file:File = File.applicationDirectory.resolvePath("assets/employees.xml");
+ var stream:FileStream = new FileStream();
+ stream.open(file, FileMode.READ);
+ var xml:XML = XML(stream.readUTFBytes(stream.bytesAvailable));
+ stream.close();
+ var employeeDAO:EmployeeDAO = new EmployeeDAO();
+ for each (var emp:XML in xml.employee)
+ {
+ var employee:Employee = new Employee();
+ employee.id = emp.id;
+ employee.firstName = emp.firstName;
+ employee.lastName = emp.lastName;
+ employee.title = emp.title;
+ employee.department = emp.department;
+ employee.city = emp.city;
+ employee.officePhone = emp.officePhone;
+ employee.cellPhone = emp.cellPhone;
+ employee.email = emp.email;
+ employee.picture = emp.picture;
+ if (emp.managerId>0)
+ {
+ employee.manager = new Employee();
+ employee.manager.id = emp.managerId;
+ }
+ employeeDAO.create(employee);
+ }
+ }
+
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/.actionScriptProperties b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/.actionScriptProperties
new file mode 100644
index 0000000..d8983b6
--- /dev/null
+++ b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/.actionScriptProperties
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="EmployeeDirectory.mxml" projectUUID="ad511096-235c-4ade-b442-47ae57b4c33b" version="10">
+ <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="true" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="bin-debug" removeUnusedRSL="true" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="true" useDebugRSLSwfs="true" verifyDigests="true" warn="true">
+ <compilerSourcePath/>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/qtp.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/advancedgrids.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_air.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/air/airspark.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/netmon.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/mx/mx.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/air/applicationupdater.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/utilities.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/sparkskins.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/qtp_air.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/datavisualization.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/spark_dmv.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_dmv.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/air/airframework.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/air/applicationupdater_ui.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_flashflexkit.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_agent.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="1" linkType="1" path="libs"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="EmployeeDirectory.mxml">
+ <airExcludes/>
+ </application>
+ </applications>
+ <modules/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+ <buildTargets>
+ <buildTarget buildTargetName="com.adobe.flexide.multiplatform.ios.platform" iosSettingsVersion="1" provisioningFile="" releasePackageType="">
+ <multiPlatformSettings enabled="true" includePlatformLibs="false" platformID="com.adobe.flexide.multiplatform.ios.platform" version="2"/>
+ <airSettings airCertificatePath="" airTimestamp="true" version="1">
+ <airExcludes/>
+ </airSettings>
+ <actionScriptSettings version="1"/>
+ </buildTarget>
+ <buildTarget buildTargetName="com.qnx.flexide.multiplatform.qnx.platform" extraPackagingOptions="" signBarFile="false">
+ <multiPlatformSettings enabled="true" includePlatformLibs="false" platformID="com.qnx.flexide.multiplatform.qnx.platform" version="2"/>
+ <airSettings airCertificatePath="" airTimestamp="true" version="1">
+ <airExcludes/>
+ </airSettings>
+ <actionScriptSettings version="1"/>
+ </buildTarget>
+ <buildTarget airDownloadURL="" androidSettingsVersion="1" buildTargetName="com.adobe.flexide.multiplatform.android.platform">
+ <multiPlatformSettings enabled="true" includePlatformLibs="false" platformID="com.adobe.flexide.multiplatform.android.platform" version="2"/>
+ <airSettings airCertificatePath="" airTimestamp="true" version="1">
+ <airExcludes/>
+ </airSettings>
+ <actionScriptSettings version="1"/>
+ </buildTarget>
+ <buildTarget buildTargetName="default">
+ <multiPlatformSettings enabled="false" includePlatformLibs="false" platformID="default" version="2"/>
+ <airSettings airCertificatePath="" airTimestamp="true" version="1">
+ <airExcludes/>
+ </airSettings>
+ <actionScriptSettings version="1"/>
+ </buildTarget>
+ </buildTargets>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/.flexProperties
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/.flexProperties b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/.flexProperties
new file mode 100644
index 0000000..afc8269
--- /dev/null
+++ b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/.flexProperties
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexProperties enableServiceManager="false" flexServerFeatures="0" flexServerType="0" toolCompile="true" useServerFlexSDK="false" version="2"/>
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/.project
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/.project b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/.project
new file mode 100644
index 0000000..2cf20e1
--- /dev/null
+++ b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/.project
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<projectDescription>
+ <name>EmployeeDirectory</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.apollobuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexide.project.multiplatform.multiplatformnature</nature>
+ <nature>com.adobe.flexbuilder.project.apollonature</nature>
+ <nature>com.adobe.flexbuilder.project.flexnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/.settings/org.eclipse.core.resources.prefs b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..c426c44
--- /dev/null
+++ b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#Tue Jun 07 14:18:55 EDT 2011
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/EmployeeDirectory-app.xml
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/EmployeeDirectory-app.xml b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/EmployeeDirectory-app.xml
new file mode 100644
index 0000000..01bd019
--- /dev/null
+++ b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/EmployeeDirectory-app.xml
@@ -0,0 +1,273 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.6">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.6
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- A universally unique application identifier. Must be unique across all AIR applications.
+ Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
+ <id>EmployeeDirectory</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>EmployeeDirectory</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>EmployeeDirectory</name>
+
+ <!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
+ Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
+ An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
+ <versionNumber>0.0.0</versionNumber>
+
+ <!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
+ <!-- <versionLabel></versionLabel> -->
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+
+ <!-- The initial aspect ratio of the app when launched (either "portrait" or "landscape"). Optional. Mobile only. Default is the natural orientation of the device -->
+
+ <!-- <aspectRatio></aspectRatio> -->
+
+ <!-- Whether the app will begin auto-orienting on launch. Optional. Mobile only. Default false -->
+
+ <!-- <autoOrients></autoOrients> -->
+
+ <!-- Whether the app launches in full screen. Optional. Mobile only. Default false -->
+
+ <!-- <fullScreen></fullScreen> -->
+
+ <!-- The render mode for the app (either auto, cpu, or gpu). Optional. Mobile only. Default auto -->
+
+ <!-- <renderMode></renderMode> -->
+
+ <!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none"). Optional. Defaults "pan." -->
+ <!-- <softKeyboardBehavior></softKeyboardBehavior> -->
+ <autoOrients>true</autoOrients>
+ <fullScreen>false</fullScreen>
+ <visible>true</visible>
+ <softKeyboardBehavior>none</softKeyboardBehavior>
+ </initialWindow>
+
+ <!-- We recommend omitting the supportedProfiles element, -->
+ <!-- which in turn permits your application to be deployed to all -->
+ <!-- devices supported by AIR. If you wish to restrict deployment -->
+ <!-- (i.e., to only mobile devices) then add this element and list -->
+ <!-- only the profiles which your application does support. -->
+ <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image36x36></image36x36>
+ <image48x48></image48x48>
+ <image72x72></image72x72>
+ <image114x114></image114x114>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+ <!-- iOS specific capabilities -->
+ <!-- <iPhone> -->
+ <!-- A list of plist key/value pairs to be added to the application Info.plist -->
+ <!-- <InfoAdditions>
+ <![CDATA[
+ <key>UIDeviceFamily</key>
+ <array>
+ <string>1</string>
+ <string>2</string>
+ </array>
+ <key>UIStatusBarStyle</key>
+ <string>UIStatusBarStyleBlackOpaque</string>
+ <key>UIRequiresPersistentWiFi</key>
+ <string>YES</string>
+ ]]>
+ </InfoAdditions> -->
+ <!-- <requestedDisplayResolution></requestedDisplayResolution> -->
+ <!-- </iPhone> -->
+
+ <!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
+ <!--<android>
+ <manifestAdditions>
+ <![CDATA[
+ <manifest android:installLocation="auto">
+ <uses-permission android:name="android.permission.INTERNET"/>
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
+ <uses-configuration android:reqFiveWayNav="true"/>
+ <supports-screens android:normalScreens="true"/>
+ <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
+ <application android:enabled="true">
+ <activity android:excludeFromRecents="false">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.LAUNCHER"/>
+ </intent-filter>
+ </activity>
+ </application>
+ </manifest>
+ ]]>
+ </manifestAdditions>
+ </android> -->
+ <!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
+
+<android>
+ <manifestAdditions><![CDATA[
+ <manifest android:installLocation="auto">
+ <!--See the Adobe AIR documentation for more information about setting Google Android permissions-->
+ <!--Removing the permission android.permission.INTERNET will have the side effect
+ of preventing you from debugging your application on your device-->
+ <uses-permission android:name="android.permission.INTERNET"/>
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
+ <!--<uses-permission android:name="android.permission.READ_PHONE_STATE"/>-->
+ <!--<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>-->
+ <!--The DISABLE_KEYGUARD and WAKE_LOCK permissions should be toggled together
+ in order to access AIR's SystemIdleMode APIs-->
+ <!--<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>-->
+ <!--<uses-permission android:name="android.permission.WAKE_LOCK"/>-->
+ <!--<uses-permission android:name="android.permission.CAMERA"/>-->
+ <!--<uses-permission android:name="android.permission.RECORD_AUDIO"/>-->
+ <!--The ACCESS_NETWORK_STATE and ACCESS_WIFI_STATE permissions should be toggled
+ together in order to use AIR's NetworkInfo APIs-->
+ <!--<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>-->
+ <!--<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>-->
+ </manifest>
+
+ ]]></manifestAdditions>
+ </android>
+ <iPhone>
+ <InfoAdditions><![CDATA[
+ <key>UIDeviceFamily</key>
+ <array>
+ <string>1</string>
+ <string>2</string>
+ </array>
+ ]]></InfoAdditions>
+ <requestedDisplayResolution>high</requestedDisplayResolution>
+ </iPhone>
+</application>
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/EmployeeDirectory.mxml
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/EmployeeDirectory.mxml b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/EmployeeDirectory.mxml
new file mode 100644
index 0000000..3517136
--- /dev/null
+++ b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/EmployeeDirectory.mxml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ firstView="views.EmployeeDirectoryHomeView">
+ <fx:Declarations>
+ <!-- Place non-visual elements (e.g., services, value objects) here -->
+ </fx:Declarations>
+
+ <s:navigationContent>
+ <s:Button icon="@Embed('assets/home.png')"
+ click="navigator.popToFirstView()"/>
+ </s:navigationContent>
+
+</s:ViewNavigatorApplication>
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/employees.xml
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/employees.xml b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/employees.xml
new file mode 100644
index 0000000..821d031
--- /dev/null
+++ b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/employees.xml
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<list>
+ <employee>
+ <id>1</id>
+ <firstName>James</firstName>
+ <lastName>King</lastName>
+ <title>President and CEO</title>
+ <city>Boston, MA</city>
+ <managerId>0</managerId>
+ <department>Corporate</department>
+ <officePhone>617-000-0001</officePhone>
+ <cellPhone>781-000-0001</cellPhone>
+ <email>jking@fakemail.com</email>
+ <picture>james_king.jpg</picture>
+ </employee>
+ <employee>
+ <id>2</id>
+ <firstName>Julie</firstName>
+ <lastName>Taylor</lastName>
+ <title>VP of Marketing</title>
+ <city>Boston, MA</city>
+ <department>Marketing</department>
+ <managerId>1</managerId>
+ <officePhone>617-000-0002</officePhone>
+ <cellPhone>781-000-0002</cellPhone>
+ <email>jtaylor@fakemail.com</email>
+ <picture>julie_taylor.jpg</picture>
+ </employee>
+ <employee>
+ <id>3</id>
+ <firstName>Eugene</firstName>
+ <lastName>Lee</lastName>
+ <title>CFO</title>
+ <city>Boston, MA</city>
+ <managerId>1</managerId>
+ <department>Accounting</department>
+ <officePhone>617-000-0003</officePhone>
+ <cellPhone>781-000-0003</cellPhone>
+ <email>elee@fakemail.com</email>
+ <picture>eugene_lee.jpg</picture>
+ </employee>
+ <employee>
+ <id>4</id>
+ <firstName>John</firstName>
+ <lastName>Williams</lastName>
+ <title>VP of Engineering</title>
+ <city>Boston, MA</city>
+ <managerId>1</managerId>
+ <department>Engineering</department>
+ <officePhone>617-000-0004</officePhone>
+ <cellPhone>781-000-0004</cellPhone>
+ <email>jwilliams@fakemail.com</email>
+ <picture>john_williams.jpg</picture>
+ </employee>
+ <employee>
+ <id>5</id>
+ <firstName>Ray</firstName>
+ <lastName>Moore</lastName>
+ <title>VP of Sales</title>
+ <city>Boston, MA</city>
+ <managerId>1</managerId>
+ <department>Sales</department>
+ <officePhone>617-000-0005</officePhone>
+ <cellPhone>781-000-0005</cellPhone>
+ <email>rmoore@fakemail.com</email>
+ <picture>ray_moore.jpg</picture>
+ </employee>
+ <employee>
+ <id>6</id>
+ <firstName>Paul</firstName>
+ <lastName>Jones</lastName>
+ <title>QA Manager</title>
+ <city>Boston, MA</city>
+ <department>Engineering</department>
+ <managerId>4</managerId>
+ <officePhone>617-000-0006</officePhone>
+ <cellPhone>781-000-0006</cellPhone>
+ <email>pjones@fakemail.com</email>
+ <picture>paul_jones.jpg</picture>
+ </employee>
+ <employee>
+ <id>7</id>
+ <firstName>Paula</firstName>
+ <lastName>Gates</lastName>
+ <title>Software Architect</title>
+ <city>Boston, MA</city>
+ <managerId>4</managerId>
+ <department>Engineering</department>
+ <officePhone>617-000-0007</officePhone>
+ <cellPhone>781-000-0007</cellPhone>
+ <email>pgates@fakemail.com</email>
+ <picture>paula_gates.jpg</picture>
+ </employee>
+ <employee>
+ <id>8</id>
+ <firstName>Lisa</firstName>
+ <lastName>Wong</lastName>
+ <title>Marketing Manager</title>
+ <city>Boston, MA</city>
+ <managerId>2</managerId>
+ <department>Marketing</department>
+ <officePhone>617-000-0008</officePhone>
+ <cellPhone>781-000-0008</cellPhone>
+ <email>lwong@fakemail.com</email>
+ <picture>lisa_wong.jpg</picture>
+ </employee>
+ <employee>
+ <id>9</id>
+ <firstName>Gary</firstName>
+ <lastName>Donovan</lastName>
+ <title>Marketing</title>
+ <city>Boston, MA</city>
+ <managerId>2</managerId>
+ <department>Marketing</department>
+ <officePhone>617-000-0009</officePhone>
+ <cellPhone>781-000-0009</cellPhone>
+ <email>gdonovan@fakemail.com</email>
+ <picture>gary_donovan.jpg</picture>
+ </employee>
+ <employee>
+ <id>10</id>
+ <firstName>Kathleen</firstName>
+ <lastName>Byrne</lastName>
+ <title>Sales Representative</title>
+ <city>Boston, MA</city>
+ <managerId>5</managerId>
+ <department>Sales</department>
+ <officePhone>617-000-0010</officePhone>
+ <cellPhone>781-000-0010</cellPhone>
+ <email>kbyrne@fakemail.com</email>
+ <picture>kathleen_byrne.jpg</picture>
+ </employee>
+ <employee>
+ <id>11</id>
+ <firstName>Amy</firstName>
+ <lastName>Jones</lastName>
+ <title>Sales Representative</title>
+ <city>Boston, MA</city>
+ <managerId>5</managerId>
+ <department>Sales</department>
+ <officePhone>617-000-0011</officePhone>
+ <cellPhone>781-000-0011</cellPhone>
+ <email>ajones@fakemail.com</email>
+ <picture>amy_jones.jpg</picture>
+ </employee>
+ <employee>
+ <id>12</id>
+ <firstName>Steven</firstName>
+ <lastName>Wells</lastName>
+ <title>Software Architect</title>
+ <city>Boston, MA</city>
+ <managerId>4</managerId>
+ <department>Engineering</department>
+ <officePhone>617-000-0012</officePhone>
+ <cellPhone>781-000-0012</cellPhone>
+ <email>swells@fakemail.com</email>
+ <picture>steven_wells.jpg</picture>
+ </employee>
+
+</list>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/home.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/home.png b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/home.png
new file mode 100644
index 0000000..91661b4
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/home.png differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/mail.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/mail.png b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/mail.png
new file mode 100644
index 0000000..032fe86
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/mail.png differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/phone.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/phone.png b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/phone.png
new file mode 100644
index 0000000..ca02011
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/phone.png differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_01.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_01.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_01.jpg
new file mode 100644
index 0000000..1124b71
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_01.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_02.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_02.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_02.jpg
new file mode 100644
index 0000000..6954858
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_02.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_03.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_03.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_03.jpg
new file mode 100644
index 0000000..fd15d59
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_03.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_04.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_04.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_04.jpg
new file mode 100644
index 0000000..8543e05
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_04.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_05.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_05.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_05.jpg
new file mode 100644
index 0000000..c4769e8
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_05.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_06.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_06.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_06.jpg
new file mode 100644
index 0000000..1111787
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_06.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_07.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_07.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_07.jpg
new file mode 100644
index 0000000..489fa2e
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_07.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_08.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_08.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_08.jpg
new file mode 100644
index 0000000..c1dc3d8
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_08.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_09.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_09.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_09.jpg
new file mode 100644
index 0000000..9deacd2
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_09.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_10.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_10.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_10.jpg
new file mode 100644
index 0000000..4b9a03b
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_10.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_11.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_11.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_11.jpg
new file mode 100644
index 0000000..6a2a142
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_11.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_12.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_12.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_12.jpg
new file mode 100644
index 0000000..9b60320
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_01_12.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_01.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_01.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_01.jpg
new file mode 100644
index 0000000..1a1b943
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_01.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_02.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_02.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_02.jpg
new file mode 100644
index 0000000..68ff2b2
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_02.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_03.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_03.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_03.jpg
new file mode 100644
index 0000000..66fcaa7
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_03.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_04.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_04.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_04.jpg
new file mode 100644
index 0000000..f9a0c8d
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_04.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_05.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_05.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_05.jpg
new file mode 100644
index 0000000..27ba565
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_05.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_06.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_06.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_06.jpg
new file mode 100644
index 0000000..ddd743e
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_06.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_07.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_07.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_07.jpg
new file mode 100644
index 0000000..439ad96
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_07.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_08.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_08.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_08.jpg
new file mode 100644
index 0000000..94a83f8
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_08.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_09.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_09.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_09.jpg
new file mode 100644
index 0000000..5b30bb7
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_09.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_10.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_10.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_10.jpg
new file mode 100644
index 0000000..2591430
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_10.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_11.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_11.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_11.jpg
new file mode 100644
index 0000000..360ff08
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_11.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_12.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_12.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_12.jpg
new file mode 100644
index 0000000..8f91f49
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/adobe_faces_sm_12.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/amy_jones.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/amy_jones.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/amy_jones.jpg
new file mode 100644
index 0000000..6a2a142
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/amy_jones.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/eugene_lee.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/eugene_lee.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/eugene_lee.jpg
new file mode 100644
index 0000000..fd15d59
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/eugene_lee.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/gary_donovan.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/gary_donovan.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/gary_donovan.jpg
new file mode 100644
index 0000000..c1dc3d8
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/gary_donovan.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/james_king.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/james_king.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/james_king.jpg
new file mode 100644
index 0000000..489fa2e
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/james_king.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/john_williams.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/john_williams.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/john_williams.jpg
new file mode 100644
index 0000000..8543e05
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/john_williams.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/julie_taylor.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/julie_taylor.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/julie_taylor.jpg
new file mode 100644
index 0000000..1124b71
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/julie_taylor.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/kathleen_byrne.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/kathleen_byrne.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/kathleen_byrne.jpg
new file mode 100644
index 0000000..9deacd2
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/kathleen_byrne.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/lisa_wong.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/lisa_wong.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/lisa_wong.jpg
new file mode 100644
index 0000000..1111787
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/lisa_wong.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/paul_jones.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/paul_jones.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/paul_jones.jpg
new file mode 100644
index 0000000..6954858
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/paul_jones.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/paula_gates.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/paula_gates.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/paula_gates.jpg
new file mode 100644
index 0000000..c4769e8
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/paula_gates.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/ray_moore.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/ray_moore.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/ray_moore.jpg
new file mode 100644
index 0000000..4b9a03b
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/ray_moore.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/steven_wells.jpg
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/steven_wells.jpg b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/steven_wells.jpg
new file mode 100644
index 0000000..9b60320
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/pics/steven_wells.jpg differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/search.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/search.png b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/search.png
new file mode 100644
index 0000000..2af7e4d
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/search.png differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/sms.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/sms.png b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/sms.png
new file mode 100644
index 0000000..c49db06
Binary files /dev/null and b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/assets/sms.png differ
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/blackberry-tablet.xml
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/blackberry-tablet.xml b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/blackberry-tablet.xml
new file mode 100644
index 0000000..7dd226b
--- /dev/null
+++ b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/blackberry-tablet.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+
+
+<qnx/>
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/dao/Employee.as
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/dao/Employee.as b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/dao/Employee.as
new file mode 100644
index 0000000..66792de
--- /dev/null
+++ b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/dao/Employee.as
@@ -0,0 +1,76 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package dao
+{
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ public class Employee
+ {
+ public var loaded:Boolean = false;
+
+ public var id:int;
+ public var firstName:String;
+ public var lastName:String;
+ public var title:String;
+ public var department:String;
+ public var city:String;
+ public var email:String;
+ public var officePhone:String;
+ public var cellPhone:String;
+ public var picture:String;
+
+ private var _manager:Employee;
+
+ // Lazy loading of manager
+ [Bindable(event="managerChanged")]
+ public function get manager():Employee
+ {
+ if (_manager && !_manager.loaded && _manager.id > 0)
+ {
+ var employeeSrv:EmployeeDAO = new EmployeeDAO();
+ _manager = employeeSrv.getItem(_manager.id);
+ }
+ return _manager;
+ }
+
+ public function set manager(__manager:Employee):void
+ {
+ _manager = __manager;
+ dispatchEvent(new Event("managerChanged"));
+ }
+
+ private var _directReports:ArrayCollection;
+ private var directReportsLoaded:Boolean = false;
+
+ // Lazy loading of the list of contacts
+ [Bindable(event="contactsChanged")]
+ public function get directReports():ArrayCollection
+ {
+ if (!directReportsLoaded && id > 0)
+ {
+ var employeeSrv:EmployeeDAO = new EmployeeDAO();
+ _directReports = employeeSrv.findByManager(id);
+ directReportsLoaded = true;
+ }
+ return _directReports;
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/dao/EmployeeDAO.as
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/dao/EmployeeDAO.as b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/dao/EmployeeDAO.as
new file mode 100644
index 0000000..f5c60ce
--- /dev/null
+++ b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/dao/EmployeeDAO.as
@@ -0,0 +1,216 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package dao
+{
+ import flash.data.SQLConnection;
+ import flash.data.SQLStatement;
+ import flash.filesystem.File;
+ import flash.filesystem.FileMode;
+ import flash.filesystem.FileStream;
+
+ import mx.collections.ArrayCollection;
+
+ public class EmployeeDAO
+ {
+ public function getItem(id:int):Employee
+ {
+ var sql:String = "SELECT id, firstName, lastName, title, department, city, email, officePhone, cellPhone, managerId, picture FROM employee WHERE id=?";
+ var stmt:SQLStatement = new SQLStatement();
+ stmt.sqlConnection = sqlConnection;
+ stmt.text = sql;
+ stmt.parameters[0] = id;
+ stmt.execute();
+ var result:Array = stmt.getResult().data;
+ if (result && result.length == 1)
+ return processRow(result[0]);
+ else
+ return null;
+
+ }
+
+ public function findByManager(managerId:int):ArrayCollection
+ {
+ var sql:String = "SELECT * FROM employee WHERE managerId=? ORDER BY lastName, firstName";
+ var stmt:SQLStatement = new SQLStatement();
+ stmt.sqlConnection = sqlConnection;
+ stmt.text = sql;
+ stmt.parameters[0] = managerId;
+ stmt.execute();
+ var result:Array = stmt.getResult().data;
+ if (result)
+ {
+ var list:ArrayCollection = new ArrayCollection();
+ for (var i:int=0; i<result.length; i++)
+ {
+ list.addItem(processRow(result[i]));
+ }
+ return list;
+ }
+ else
+ {
+ return null;
+ }
+ }
+
+ public function findByName(searchKey:String):ArrayCollection
+ {
+
+
+ var sql:String = "SELECT * FROM employee WHERE firstName || ' ' || lastName LIKE ? ORDER BY lastName, firstName";
+ var stmt:SQLStatement = new SQLStatement();
+ stmt.sqlConnection = sqlConnection;
+ stmt.text = sql;
+ stmt.parameters[0] = "%" + searchKey + "%";
+ stmt.execute();
+ var result:Array = stmt.getResult().data;
+ if (result)
+ {
+ var list:ArrayCollection = new ArrayCollection();
+ for (var i:int=0; i<result.length; i++)
+ {
+ list.addItem(processRow(result[i]));
+ }
+ return list;
+ }
+ else
+ {
+ return null;
+ }
+ }
+
+ public function create(employee:Employee):void
+ {
+ trace(employee.firstName);
+ if (employee.manager) trace(employee.manager.id);
+ var sql:String =
+ "INSERT INTO employee (id, firstName, lastName, title, department, managerId, city, officePhone, cellPhone, email, picture) " +
+ "VALUES (?,?,?,?,?,?,?,?,?,?,?)";
+ var stmt:SQLStatement = new SQLStatement();
+ stmt.sqlConnection = sqlConnection;
+ stmt.text = sql;
+ stmt.parameters[0] = employee.id;
+ stmt.parameters[1] = employee.firstName;
+ stmt.parameters[2] = employee.lastName;
+ stmt.parameters[3] = employee.title;
+ stmt.parameters[4] = employee.department;
+ stmt.parameters[5] = employee.manager ? employee.manager.id : null;
+ stmt.parameters[6] = employee.city;
+ stmt.parameters[7] = employee.officePhone;
+ stmt.parameters[8] = employee.cellPhone;
+ stmt.parameters[9] = employee.email;
+ stmt.parameters[10] = employee.picture;
+ stmt.execute();
+ employee.loaded = true;
+ }
+
+ protected function processRow(o:Object):Employee
+ {
+ var employee:Employee = new Employee();
+ employee.id = o.id;
+ employee.firstName = o.firstName == null ? "" : o.firstName;
+ employee.lastName = o.lastName == null ? "" : o.lastName;
+ employee.title = o.title == null ? "" : o.title;
+ employee.department = o.department == null ? "" : o.department;
+ employee.city = o.city == null ? "" : o.city;
+ employee.email = o.email == null ? "" : o.email;
+ employee.officePhone = o.officePhone == null ? "" : o.officePhone;
+ employee.cellPhone = o.cellPhone == null ? "" : o.cellPhone;
+ employee.picture = o.picture;
+
+ if (o.managerId != null)
+ {
+ var manager:Employee = new Employee();
+ manager.id = o.managerId;
+ employee.manager = manager;
+ }
+
+ employee.loaded = true;
+ return employee;
+ }
+ public static var _sqlConnection:SQLConnection;
+
+ public function get sqlConnection():SQLConnection
+ {
+ if (_sqlConnection) return _sqlConnection;
+ var file:File = File.documentsDirectory.resolvePath("FlexMobileTutorial.db");
+ var fileExists:Boolean = file.exists;
+ _sqlConnection = new SQLConnection();
+ _sqlConnection.open(file);
+ if (!fileExists)
+ {
+ createDatabase();
+ populateDatabase();
+ }
+ return _sqlConnection;
+ }
+
+ protected function createDatabase():void
+ {
+ var sql:String =
+ "CREATE TABLE IF NOT EXISTS employee ( "+
+ "id INTEGER PRIMARY KEY AUTOINCREMENT, " +
+ "firstName VARCHAR(50), " +
+ "lastName VARCHAR(50), " +
+ "title VARCHAR(50), " +
+ "department VARCHAR(50), " +
+ "managerId INTEGER, " +
+ "city VARCHAR(50), " +
+ "officePhone VARCHAR(30), " +
+ "cellPhone VARCHAR(30), " +
+ "email VARCHAR(30), " +
+ "picture VARCHAR(200))";
+ var stmt:SQLStatement = new SQLStatement();
+ stmt.sqlConnection = sqlConnection;
+ stmt.text = sql;
+ stmt.execute();
+ }
+
+ protected function populateDatabase():void
+ {
+ var file:File = File.applicationDirectory.resolvePath("assets/employees.xml");
+ var stream:FileStream = new FileStream();
+ stream.open(file, FileMode.READ);
+ var xml:XML = XML(stream.readUTFBytes(stream.bytesAvailable));
+ stream.close();
+ var employeeDAO:EmployeeDAO = new EmployeeDAO();
+ for each (var emp:XML in xml.employee)
+ {
+ var employee:Employee = new Employee();
+ employee.id = emp.id;
+ employee.firstName = emp.firstName;
+ employee.lastName = emp.lastName;
+ employee.title = emp.title;
+ employee.department = emp.department;
+ employee.city = emp.city;
+ employee.officePhone = emp.officePhone;
+ employee.cellPhone = emp.cellPhone;
+ employee.email = emp.email;
+ employee.picture = emp.picture;
+ if (emp.managerId>0)
+ {
+ employee.manager = new Employee();
+ employee.manager.id = emp.managerId;
+ }
+ employeeDAO.create(employee);
+ }
+ }
+
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/views/DirectReports.mxml
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/views/DirectReports.mxml b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/views/DirectReports.mxml
new file mode 100644
index 0000000..8690e88
--- /dev/null
+++ b/ADC/devnet/flex/employee-directory-android-flex/FlexMobile60Minutes/solution/EmployeeDirectory/src/views/DirectReports.mxml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark" title="Direct Reports">
+
+ <s:List id="list" top="0" bottom="0" left="0" right="0"
+ dataProvider="{data.directReports}"
+ change="navigator.pushView(EmployeeDetails, list.selectedItem)">
+ <s:itemRenderer>
+ <fx:Component>
+ <s:IconItemRenderer
+ label="{data.firstName} {data.lastName}"
+ messageField="title"/>
+ </fx:Component>
+ </s:itemRenderer>
+ </s:List>
+
+</s:View>