You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/06/22 20:42:32 UTC

[10/18] wp7 commit: update example

update example


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/commit/1a4c4025
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/tree/1a4c4025
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/diff/1a4c4025

Branch: refs/heads/master
Commit: 1a4c4025837b2b321d0dc32c88fbecfbe42d5d5c
Parents: cdcbdd6
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Fri Jun 22 11:05:09 2012 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Fri Jun 22 11:05:09 2012 -0700

----------------------------------------------------------------------
 example/CordovaExample.csproj         |   56 ++++++++++++++++++++-------
 example/CordovaSourceDictionary.xml   |    2 +-
 example/GapLib/WP7CordovaClassLib.dll |  Bin 151552 -> 156672 bytes
 example/www/accelerometer.html        |    2 +-
 example/www/accelerometer2.html       |    2 +-
 example/www/audio.html                |    6 +-
 example/www/calculator.html           |    6 +-
 example/www/camera.html               |    8 ++--
 example/www/capture.html              |    4 +-
 example/www/compass.html              |    6 +-
 example/www/contacts.html             |    2 +-
 example/www/events.html               |   12 +++---
 example/www/file.html                 |    6 +-
 example/www/index.html                |    2 +-
 example/www/location.html             |    8 ++--
 example/www/network.html              |    2 +-
 example/www/notification.html         |    2 +-
 example/www/storage.html              |    4 +-
 18 files changed, 78 insertions(+), 52 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/CordovaExample.csproj
----------------------------------------------------------------------
diff --git a/example/CordovaExample.csproj b/example/CordovaExample.csproj
index 84d92f1..24ec4d8 100644
--- a/example/CordovaExample.csproj
+++ b/example/CordovaExample.csproj
@@ -74,7 +74,7 @@
     <Reference Include="System.Core" />
     <Reference Include="System.Net" />
     <Reference Include="System.Xml" />
-    <Reference Include="WP7CordovaClassLib, Version=1.8.1.0, Culture=neutral, processorArchitecture=MSIL" />
+    <Reference Include="WP7CordovaClassLib, Version=1.9.0.0, Culture=neutral, processorArchitecture=MSIL" />
   </ItemGroup>
   <ItemGroup>
     <Compile Include="App.xaml.cs">
@@ -97,31 +97,57 @@
     </Page>
   </ItemGroup>
   <ItemGroup>
-    <Content Include="CordovaSourceDictionary.xml" />
+    <Content Include="CordovaSourceDictionary.xml">
+      <SubType>Designer</SubType>
+    </Content>
     <Content Include="GapLib\WP7CordovaClassLib.dll" />
-    <Content Include="www\cordova-1.8.1.js" />
-    <Content Include="www\network.html" />
-    <Content Include="www\notification.html" />
+    <Content Include="www\cordova-1.9.0.js" />
+    <Content Include="www\network.html">
+      <SubType>Designer</SubType>
+    </Content>
+    <Content Include="www\notification.html">
+      <SubType>Designer</SubType>
+    </Content>
     <Content Include="www\storage.html">
       <SubType>Designer</SubType>
     </Content>
     <None Include="BuildManifestProcessor.js" />
-    <Content Include="www\accelerometer.html" />
-    <Content Include="www\accelerometer2.html" />
-    <Content Include="www\audio.html" />
-    <Content Include="www\calculator.html" />
-    <Content Include="www\camera.html" />
-    <Content Include="www\capture.html" />
+    <Content Include="www\accelerometer.html">
+      <SubType>Designer</SubType>
+    </Content>
+    <Content Include="www\accelerometer2.html">
+      <SubType>Designer</SubType>
+    </Content>
+    <Content Include="www\audio.html">
+      <SubType>Designer</SubType>
+    </Content>
+    <Content Include="www\calculator.html">
+      <SubType>Designer</SubType>
+    </Content>
+    <Content Include="www\camera.html">
+      <SubType>Designer</SubType>
+    </Content>
+    <Content Include="www\capture.html">
+      <SubType>Designer</SubType>
+    </Content>
     <Content Include="www\compass.html">
       <SubType>Designer</SubType>
     </Content>
-    <Content Include="www\contacts.html" />
-    <Content Include="www\events.html" />
-    <Content Include="www\file.html" />
+    <Content Include="www\contacts.html">
+      <SubType>Designer</SubType>
+    </Content>
+    <Content Include="www\events.html">
+      <SubType>Designer</SubType>
+    </Content>
+    <Content Include="www\file.html">
+      <SubType>Designer</SubType>
+    </Content>
     <Content Include="www\index.html">
       <SubType>Designer</SubType>
     </Content>
-    <Content Include="www\location.html" />
+    <Content Include="www\location.html">
+      <SubType>Designer</SubType>
+    </Content>
     <Content Include="www\master.css" />
     <None Include="Properties\AppManifest.xml">
       <SubType>Designer</SubType>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/CordovaSourceDictionary.xml
----------------------------------------------------------------------
diff --git a/example/CordovaSourceDictionary.xml b/example/CordovaSourceDictionary.xml
index 4972fc1..5850278 100644
--- a/example/CordovaSourceDictionary.xml
+++ b/example/CordovaSourceDictionary.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- This file is auto-generated, do not edit! -jm -->
 <CordovaSourceDictionary>
-    <FilePath Value="www\cordova-1.8.1.js"/>
+    <FilePath Value="www\cordova-1.9.0.js"/>
     <FilePath Value="www\network.html"/>
     <FilePath Value="www\notification.html"/>
     <FilePath Value="www\storage.html"/>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/GapLib/WP7CordovaClassLib.dll
----------------------------------------------------------------------
diff --git a/example/GapLib/WP7CordovaClassLib.dll b/example/GapLib/WP7CordovaClassLib.dll
index dc09c55..4630bf3 100644
Binary files a/example/GapLib/WP7CordovaClassLib.dll and b/example/GapLib/WP7CordovaClassLib.dll differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/www/accelerometer.html
----------------------------------------------------------------------
diff --git a/example/www/accelerometer.html b/example/www/accelerometer.html
index 7074977..0d25b42 100644
--- a/example/www/accelerometer.html
+++ b/example/www/accelerometer.html
@@ -26,7 +26,7 @@
     <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
 
 
-    <script type="text/javascript" charset="utf-8" src="cordova-1.8.1.js"></script>
+    <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
 
 
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/www/accelerometer2.html
----------------------------------------------------------------------
diff --git a/example/www/accelerometer2.html b/example/www/accelerometer2.html
index 00aa710..78c2a77 100644
--- a/example/www/accelerometer2.html
+++ b/example/www/accelerometer2.html
@@ -27,7 +27,7 @@
 
 
 
-    <script type="text/javascript" charset="utf-8" src="cordova-1.8.1.js"></script>
+    <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
 
 
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/www/audio.html
----------------------------------------------------------------------
diff --git a/example/www/audio.html b/example/www/audio.html
index 37817fe..3f0ec14 100644
--- a/example/www/audio.html
+++ b/example/www/audio.html
@@ -21,11 +21,11 @@
   <head>
     <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
     <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
+    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <!-- ISO-8859-1 -->
     <title>Cordova</title>
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen">
+    <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
 
-    <script type="text/javascript" charset="utf-8" src="cordova-1.8.1.js"></script>
+    <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
 
 
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/www/calculator.html
----------------------------------------------------------------------
diff --git a/example/www/calculator.html b/example/www/calculator.html
index f9d0f41..48072c9 100644
--- a/example/www/calculator.html
+++ b/example/www/calculator.html
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML>
+<!DOCTYPE html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
@@ -21,12 +21,12 @@
   <head>
     <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
     <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
+    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <!-- ISO-8859-1 -->
     <title>Cordova</title>
     <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
 
 
-    <script type="text/javascript" charset="utf-8" src="cordova-1.8.1.js"></script>
+    <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
 
 
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/www/camera.html
----------------------------------------------------------------------
diff --git a/example/www/camera.html b/example/www/camera.html
index d7dc852..e57138c 100644
--- a/example/www/camera.html
+++ b/example/www/camera.html
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML>
+<!DOCTYPE html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
@@ -21,12 +21,12 @@
   <head>
     <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
     <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
+    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <!-- ISO-8859-1 -->
     <title>Cordova</title>
     <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
 
 
-    <script type="text/javascript" charset="utf-8" src="cordova-1.8.1.js"></script>
+    <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
 
 
 <script type="text/javascript" charset="utf-8">
@@ -104,7 +104,7 @@
 
     <h1>Camera</h1>
     <div id="info">
-        Status: <span id="camera_status"></span><br>
+        Status: <span id="camera_status"></span><br/>
         <img style="width:120px;height:120px;visibility:hidden;display:none;" id="camera_image" src="" />
     </div>
     <h2>Action</h2>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/www/capture.html
----------------------------------------------------------------------
diff --git a/example/www/capture.html b/example/www/capture.html
index c83ec11..44c3cd2 100644
--- a/example/www/capture.html
+++ b/example/www/capture.html
@@ -21,12 +21,12 @@
   <head>
     <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
     <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
+    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <!-- ISO-8859-1 -->
     <title>Cordova</title>
     <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
 
 
-    <script type="text/javascript" charset="utf-8" src="cordova-1.8.1.js"></script>
+    <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
 
 
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/www/compass.html
----------------------------------------------------------------------
diff --git a/example/www/compass.html b/example/www/compass.html
index 0dfdeee..3c38162 100644
--- a/example/www/compass.html
+++ b/example/www/compass.html
@@ -21,13 +21,13 @@
   <head>
     <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
     <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
     <title>Cordova</title>
     <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
 
 
 
-    <script type="text/javascript" charset="utf-8" src="cordova-1.8.1.js"></script>
+    <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
 
 
 <script type="text/javascript" charset="utf-8">
@@ -138,7 +138,7 @@
     <div id="info">
         Status: <span id="compass_status">Stopped</span>
         <table width="100%"><tr>
-            <td width="33%">Heading: <span id="compassHeading"> </td>
+            <td width="33%">Heading: <span id="compassHeading"/> </td>
         </tr></table>
     </div>
     <h2>Action</h2>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/www/contacts.html
----------------------------------------------------------------------
diff --git a/example/www/contacts.html b/example/www/contacts.html
index 43a50f5..75eb6c5 100644
--- a/example/www/contacts.html
+++ b/example/www/contacts.html
@@ -27,7 +27,7 @@
 
 
 
-    <script type="text/javascript" charset="utf-8" src="cordova-1.8.1.js"></script>
+    <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
 
 
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/www/events.html
----------------------------------------------------------------------
diff --git a/example/www/events.html b/example/www/events.html
index f3fcd2c..76db76c 100644
--- a/example/www/events.html
+++ b/example/www/events.html
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML>
+<!DOCTYPE html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
@@ -21,12 +21,12 @@
   <head>
     <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
     <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
+    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <!-- ISO-8859-1 -->
     <title>Cordova</title>
 
 
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen">
-    <script type="text/javascript" charset="utf-8" src="cordova-1.8.1.js"></script>
+    <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
+    <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
 
 
 <script type="text/javascript" charset="utf-8">
@@ -45,7 +45,7 @@
     var eventOutput = function(s) {
 		console.log("eventOutput :: " + s);
         var el = document.getElementById("results");
-        el.innerHTML = el.innerHTML + s + "<br>";
+        el.innerHTML = el.innerHTML + s + "<br/>";
     };
 
 
@@ -129,7 +129,7 @@
 
     <h1>Events</h1>
     <div id="info">
-        Results:<br>
+        Results:<br/>
         <span id="results"></span>
     </div>
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/www/file.html
----------------------------------------------------------------------
diff --git a/example/www/file.html b/example/www/file.html
index e4530ca..5f3043f 100644
--- a/example/www/file.html
+++ b/example/www/file.html
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML>
+<!DOCTYPE html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
@@ -21,12 +21,12 @@
   <head>
     <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
     <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
+    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <!-- ISO-8859-1 -->
     <title>Cordova</title>
     <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
 
 
-    <script type="text/javascript" charset="utf-8" src="cordova-1.8.1.js"></script>
+    <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
 
 
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/www/index.html
----------------------------------------------------------------------
diff --git a/example/www/index.html b/example/www/index.html
index 747d029..4eb0c83 100644
--- a/example/www/index.html
+++ b/example/www/index.html
@@ -27,7 +27,7 @@
 	  <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title" charset="utf-8"/>
 
 
-      <script type="text/javascript" charset="utf-8" src="cordova-1.8.1.js"></script>
+      <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
 
       <script type="text/javascript">
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/www/location.html
----------------------------------------------------------------------
diff --git a/example/www/location.html b/example/www/location.html
index f7fc1d1..dd6a752 100644
--- a/example/www/location.html
+++ b/example/www/location.html
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
@@ -21,12 +21,12 @@
   <head>
     <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
     <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
     <title>Cordova</title>
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen">
+    <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
 
 
-    <script type="text/javascript" charset="utf-8" src="cordova-1.8.1.js"></script>
+    <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/www/network.html
----------------------------------------------------------------------
diff --git a/example/www/network.html b/example/www/network.html
index 669b169..0ea71d9 100644
--- a/example/www/network.html
+++ b/example/www/network.html
@@ -25,7 +25,7 @@
     <title>Cordova</title>
     <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title" charset="utf-8"/>
 
-    <script type="text/javascript" charset="utf-8" src="cordova-1.8.1.js"></script>
+    <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
 
 
     <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/www/notification.html
----------------------------------------------------------------------
diff --git a/example/www/notification.html b/example/www/notification.html
index 9388578..43b3710 100644
--- a/example/www/notification.html
+++ b/example/www/notification.html
@@ -26,7 +26,7 @@
     <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title" charset="utf-8"/>
 
 
-    <script type="text/javascript" charset="utf-8" src="cordova-1.8.1.js"></script>
+    <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
 
     <script type="text/javascript" charset="utf-8">
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/1a4c4025/example/www/storage.html
----------------------------------------------------------------------
diff --git a/example/www/storage.html b/example/www/storage.html
index 049dc8e..dd47550 100644
--- a/example/www/storage.html
+++ b/example/www/storage.html
@@ -26,7 +26,7 @@
     <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
 
 
-    <script type="text/javascript" charset="utf-8" src="cordova-1.8.1.js"></script>
+    <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
 
 
 <script type="text/javascript" charset="utf-8">
@@ -73,6 +73,6 @@
       document.getElementById('count').textContent = localStorage.pageLoadCount;
     </script>
 
-    <h2> </h2><a href="index.html" class="backBtn">Back</a>
+      <h2> </h2><a href="index.html" class="backBtn">Back</a>
   </body>
 </html>