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/11/01 11:53:29 UTC
[1/51] [abbrv] git commit: cleaned up readme, more to come
Updated Branches:
refs/heads/master 3711f4bc5 -> 91b9039ea
cleaned up readme, more to come
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-windows/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-windows/commit/91b9039e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-windows/tree/91b9039e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-windows/diff/91b9039e
Branch: refs/heads/master
Commit: 91b9039eaeb02bc248b1a34e1d3d7fbbc248e58c
Parents: 9236bfb
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Thu Nov 1 03:49:27 2012 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Thu Nov 1 03:49:27 2012 -0700
----------------------------------------------------------------------
windows8/README.md | 106 ++++++++--------------------------------------
1 files changed, 19 insertions(+), 87 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-windows/blob/91b9039e/windows8/README.md
----------------------------------------------------------------------
diff --git a/windows8/README.md b/windows8/README.md
index 3b039f9..5591d7e 100644
--- a/windows8/README.md
+++ b/windows8/README.md
@@ -1,21 +1,20 @@
----
-license: 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.
----
+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.
+
Getting Started with Windows 8
==================================
@@ -102,75 +101,8 @@ Done!
That's it! You're now ready to build Windows Store apps with Cordova.
-
-
-### For Cordova API developer
- - **Who want to develop Cordova API**
- - You could use the project in `src` folder directly.
- - If you want to export the project with zip package, open the project in `\tool\CordovaBuilder` with Visual Studio (`Administrator`) , build and run it, then open you command prompt(`Administrator`), type the command according to the guide:
-
- ~~~
- Usage: CordovaBuilder [ BuildOutputPath -c:Type ].
- BuildOutputPath : path to save the built application.
- -c : which type of project you want to create, 0 for Metro App developers, 1 for Cordova API developers, default is 0.
- examples:
- CordovaBuilder bin\Debug.
- CordovaBuilder bin\Release -c:1.
- ~~~
-
- - A ZIP file named *CordovaStarter.zip* will be generated.
-
-### For Metro App developer
- - **Who want to develop Metro App by using Cordova API**
- - Do the same steps as above. -c:Type should be 0.
- - A Visual Studio template named **Cordova-Metro.zip** will be generated. Move it to the directory of your VS Template. You do not need to unzip it.
- e.g.:`C:\Users\xxxx\Documents\Visual Studio 2012\Templates\ProjectTemplates`
- - Open the VS, `FILE` -> `New` -> `Project...`, input the template name 'Cordova-Metro' in the search textField. Select the template and modify items about your new proj at the bottom of the pop-up window.
-<img src="http://i.imgur.com/DvkAN.png" width="80%"/>
- - Click the button `OK`. Then `Add` -> `Existing project...` select the `SQLite3.vcxproj` in the `lib\SQLite\SQLite3`. Build it.
- - Select the Cordova project in the Solution Explorer, then `Project` -> `Add Reference...` -> select the SQLite3.
- - Build and Run the project Cordova-Metro. If running takes a long time, simply stop the running, then rerun (known issue).
-
-### Run the Sample App
- - Open the `samples\TestAppCordova\TestAppCordova.sln` with visual studio.
- - Build and run.
- - Play around with accelerometer, geolocation, and compass.
-
-### How to Run the Tests
- - Open the `src\src.sln` with Visual Studio.
- - Build or re-build the project.
- - Modify the `default.html` under `test` folder, choose the test case you want to run, and comment out any other tests.
-
-```html
-<!-- Tests -->
-<!--
-<script type="text/javascript" src="tests/accelerometer.tests.js"></script>
-<script type="text/javascript" src="tests/battery.tests.js"></script>
-<script type="text/javascript" src="tests/camera.tests.js"></script>
-<script type="text/javascript" src="tests/capture.tests.js"></script>
--->
-<script type="text/javascript" src="tests/compass.tests.js"></script>
->!--
-<script type="text/javascript" src="tests/contacts.tests.js"></script>
-<script type="text/javascript" src="tests/device.tests.js"></script>
-<script type="text/javascript" src="tests/file.tests.js"></script>
-<script type="text/javascript" src="tests/filetransfer.tests.js"></script>
-<script type="text/javascript" src="tests/geolocation.tests.js"></script>
-<script type="text/javascript" src="tests/media.tests.js"></script>
-<script type="text/javascript" src="tests/network.tests.js"></script>
-<script type="text/javascript" src="tests/notification.tests.js"></script>
-<script type="text/javascript" src="tests/platform.tests.js"></script>
-<script type="text/javascript" src="tests/storage.tests.js"></script>
--->
-```
-
- - Now run the project, and you will get a result page as below.
-<img src="http://i.imgur.com/OgTUP.png" />
-
-### Reference
- - [SQLite3 WinRT Component](https://github.com/doo/SQLite3-WinRT)
- - [Jscex: Asynchronous flow control in JavaScript, with JavaScript](https://github.com/JeffreyZhao/jscex)
-
+## Issues &&|| Defects
+- [https://issues.apache.org/jira/browse/CB](https://issues.apache.org/jira/browse/CB)
## Further Reading
- [http://docs.phonegap.com](http://docs.phonegap.com)