Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge aerogear/as-quickstar '1.0.0.M6' from kborchers/master

  • Loading branch information...
commit 7e263fae4d603eafbeffbf92e86ff0dcb8bd4cb1 2 parents 70df6f9 + 4679111
@rafabene rafabene authored
Showing with 19,056 additions and 59 deletions.
  1. +1 −1  helloworld-html5/README.md
  2. +19 −0 helloworld-html5/src/main/webapp/css/styles.css
  3. +28 −20 helloworld-html5/src/main/webapp/index.html
  4. +3 −0  kitchensink-cordova/.gitignore
  5. +24 −0 kitchensink-cordova/README.md
  6. BIN  kitchensink-cordova/android/.cordova/android/cordova-1.6.1.jar
  7. +4,987 −0 kitchensink-cordova/android/.cordova/android/cordova-1.6.1.js
  8. +37 −0 kitchensink-cordova/android/.cordova/android/cordova.xml
  9. +37 −0 kitchensink-cordova/android/.cordova/android/plugins.xml
  10. +1 −0  kitchensink-cordova/android/.cordova/android/readme.md
  11. +52 −0 kitchensink-cordova/android/AndroidManifest.xml
  12. +71 −0 kitchensink-cordova/android/README.md
  13. +1 −0  kitchensink-cordova/android/assets/www
  14. +83 −0 kitchensink-cordova/android/build.xml
  15. BIN  kitchensink-cordova/android/libs/cordova-2.0.0.jar
  16. +20 −0 kitchensink-cordova/android/proguard-project.txt
  17. +14 −0 kitchensink-cordova/android/project.properties
  18. BIN  kitchensink-cordova/android/res/drawable-hdpi/ic_launcher.png
  19. BIN  kitchensink-cordova/android/res/drawable-ldpi/ic_launcher.png
  20. BIN  kitchensink-cordova/android/res/drawable-mdpi/ic_launcher.png
  21. BIN  kitchensink-cordova/android/res/drawable/icon.png
  22. +13 −0 kitchensink-cordova/android/res/layout/main.xml
  23. +4 −0 kitchensink-cordova/android/res/values/strings.xml
  24. +42 −0 kitchensink-cordova/android/res/xml/cordova.xml
  25. +37 −0 kitchensink-cordova/android/res/xml/plugins.xml
  26. +25 −0 kitchensink-cordova/android/src/org/jboss/as/quickstarts/kitchensinkcordova/KitchensinkCordova.java
  27. BIN  kitchensink-cordova/ios/KitchensinkCordova.xcodeproj/TemplateIcon.icns
  28. +28 −0 kitchensink-cordova/ios/KitchensinkCordova.xcodeproj/TemplateInfo.plist
  29. +622 −0 kitchensink-cordova/ios/KitchensinkCordova.xcodeproj/project.pbxproj
  30. +7 −0 kitchensink-cordova/ios/KitchensinkCordova.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  31. +45 −0 kitchensink-cordova/ios/KitchensinkCordova/Classes/AppDelegate.h
  32. +142 −0 kitchensink-cordova/ios/KitchensinkCordova/Classes/AppDelegate.m
  33. +32 −0 kitchensink-cordova/ios/KitchensinkCordova/Classes/MainViewController.h
  34. +141 −0 kitchensink-cordova/ios/KitchensinkCordova/Classes/MainViewController.m
  35. +138 −0 kitchensink-cordova/ios/KitchensinkCordova/Classes/MainViewController.xib
  36. +65 −0 kitchensink-cordova/ios/KitchensinkCordova/Cordova.plist
  37. +26 −0 kitchensink-cordova/ios/KitchensinkCordova/CordovaBuildSettings.xcconfig
  38. +78 −0 kitchensink-cordova/ios/KitchensinkCordova/KitchensinkCordova-Info.plist
  39. +26 −0 kitchensink-cordova/ios/KitchensinkCordova/KitchensinkCordova-Prefix.pch
  40. +20 −0 kitchensink-cordova/ios/KitchensinkCordova/Plugins/README
  41. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/controls_bg.png
  42. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/controls_bg@2x.png
  43. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/controls_bg@2x~ipad.png
  44. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/controls_bg~ipad.png
  45. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/microphone.png
  46. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/microphone@2x.png
  47. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/microphone@2x~ipad.png
  48. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/microphone~ipad.png
  49. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/record_button.png
  50. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/record_button@2x.png
  51. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/record_button@2x~ipad.png
  52. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/record_button~ipad.png
  53. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/recording_bg.png
  54. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/recording_bg@2x.png
  55. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/recording_bg@2x~ipad.png
  56. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/recording_bg~ipad.png
  57. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/stop_button.png
  58. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/stop_button@2x.png
  59. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/stop_button@2x~ipad.png
  60. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/stop_button~ipad.png
  61. +26 −0 kitchensink-cordova/ios/KitchensinkCordova/Resources/de.lproj/Localizable.strings
  62. +25 −0 kitchensink-cordova/ios/KitchensinkCordova/Resources/en.lproj/Localizable.strings
  63. +25 −0 kitchensink-cordova/ios/KitchensinkCordova/Resources/es.lproj/Localizable.strings
  64. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/icons/ios-114.png
  65. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/icons/ios-144.png
  66. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/icons/ios-57.png
  67. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/icons/ios-72.png
  68. +26 −0 kitchensink-cordova/ios/KitchensinkCordova/Resources/se.lproj/Localizable.strings
  69. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/splash/Default-Landscape~ipad.png
  70. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/splash/Default-Portrait@2x~ipad.png
  71. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/splash/Default-Portrait~ipad.png
  72. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/splash/Default.png
  73. BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/splash/Default@2x.png
  74. +35 −0 kitchensink-cordova/ios/KitchensinkCordova/main.m
  75. +47 −0 kitchensink-cordova/ios/README.md
  76. +47 −0 kitchensink-cordova/ios/cordova/debug
  77. +58 −0 kitchensink-cordova/ios/cordova/emulate
  78. +26 −0 kitchensink-cordova/ios/cordova/log
  79. +1 −0  kitchensink-cordova/ios/www
  80. BIN  kitchensink-cordova/shared/www/css/images/ajax-loader.gif
  81. BIN  kitchensink-cordova/shared/www/css/images/ajax-loader.png
  82. BIN  kitchensink-cordova/shared/www/css/images/icons-18-black.png
  83. BIN  kitchensink-cordova/shared/www/css/images/icons-18-white.png
  84. BIN  kitchensink-cordova/shared/www/css/images/icons-36-black.png
  85. BIN  kitchensink-cordova/shared/www/css/images/icons-36-white.png
  86. +2 −0  kitchensink-cordova/shared/www/css/jquery.mobile-1.1.0.min.css
  87. +185 −0 kitchensink-cordova/shared/www/css/m.screen.css
  88. +81 −0 kitchensink-cordova/shared/www/css/screen.css
  89. BIN  kitchensink-cordova/shared/www/img/aerogear_avatar_48px.png
  90. BIN  kitchensink-cordova/shared/www/img/aerogear_icon_16x.png
  91. BIN  kitchensink-cordova/shared/www/img/aerogear_icon_64px.png
  92. BIN  kitchensink-cordova/shared/www/img/aerogear_logo_150px.png
  93. BIN  kitchensink-cordova/shared/www/img/asidebkg.png
  94. BIN  kitchensink-cordova/shared/www/img/banner.png
  95. BIN  kitchensink-cordova/shared/www/img/bkg-blkheader.png
  96. BIN  kitchensink-cordova/shared/www/img/dualbrand_as7eap.png
  97. BIN  kitchensink-cordova/shared/www/img/dualbrand_catapillarbutterfly.png
  98. BIN  kitchensink-cordova/shared/www/img/dualbrand_logo.png
  99. BIN  kitchensink-cordova/shared/www/img/headerbkg.png
  100. BIN  kitchensink-cordova/shared/www/img/icon_large.png
  101. BIN  kitchensink-cordova/shared/www/img/icon_medium.png
  102. BIN  kitchensink-cordova/shared/www/img/icon_small.png
  103. BIN  kitchensink-cordova/shared/www/img/logo.png
  104. +288 −0 kitchensink-cordova/shared/www/index.html
  105. +95 −0 kitchensink-cordova/shared/www/js/app.js
  106. +5,724 −0 kitchensink-cordova/shared/www/js/libs/cordova-android-2.0.0.js
  107. +5,240 −0 kitchensink-cordova/shared/www/js/libs/cordova-ios-2.0.0.js
  108. +4 −0 kitchensink-cordova/shared/www/js/libs/jquery-1.7.1.min.js
  109. +177 −0 kitchensink-cordova/shared/www/js/libs/jquery.mobile-1.1.0.min.js
  110. +30 −0 kitchensink-cordova/shared/www/js/libs/underscore-min.js
  111. BIN  kitchensink-cordova/shared/www/res/icon/aerogear-114.png
  112. BIN  kitchensink-cordova/shared/www/res/icon/aerogear-144.png
  113. BIN  kitchensink-cordova/shared/www/res/icon/aerogear-29.png
  114. BIN  kitchensink-cordova/shared/www/res/icon/aerogear-50.png
  115. BIN  kitchensink-cordova/shared/www/res/icon/aerogear-57.png
  116. BIN  kitchensink-cordova/shared/www/res/icon/aerogear-58.png
  117. BIN  kitchensink-cordova/shared/www/res/icon/aerogear-72.png
  118. BIN  kitchensink-cordova/shared/www/res/icon/cordova_128.png
  119. BIN  kitchensink-cordova/shared/www/res/icon/cordova_16.png
  120. BIN  kitchensink-cordova/shared/www/res/icon/cordova_24.png
  121. BIN  kitchensink-cordova/shared/www/res/icon/cordova_256.png
  122. BIN  kitchensink-cordova/shared/www/res/icon/cordova_32.png
  123. BIN  kitchensink-cordova/shared/www/res/icon/cordova_48.png
  124. BIN  kitchensink-cordova/shared/www/res/icon/cordova_512.png
  125. BIN  kitchensink-cordova/shared/www/res/icon/cordova_64.png
  126. BIN  kitchensink-cordova/shared/www/res/icon/cordova_android_36.png
  127. BIN  kitchensink-cordova/shared/www/res/icon/cordova_android_48.png
  128. BIN  kitchensink-cordova/shared/www/res/icon/cordova_android_72.png
  129. BIN  kitchensink-cordova/shared/www/res/icon/cordova_android_96.png
  130. BIN  kitchensink-cordova/shared/www/res/icon/cordova_bb_80.png
  131. BIN  kitchensink-cordova/shared/www/res/screen/aerogear-320x480.png
  132. BIN  kitchensink-cordova/shared/www/res/screen/aerogear-640x960.png
  133. BIN  kitchensink-cordova/shared/www/res/screen/android_hdpi_landscape.png
  134. BIN  kitchensink-cordova/shared/www/res/screen/android_hdpi_portrait.png
  135. BIN  kitchensink-cordova/shared/www/res/screen/android_ldpi_landscape.png
  136. BIN  kitchensink-cordova/shared/www/res/screen/android_ldpi_portrait.png
  137. BIN  kitchensink-cordova/shared/www/res/screen/android_mdpi_landscape.png
  138. BIN  kitchensink-cordova/shared/www/res/screen/android_mdpi_portrait.png
  139. BIN  kitchensink-cordova/shared/www/res/screen/android_xhdpi_landscape.png
  140. BIN  kitchensink-cordova/shared/www/res/screen/android_xhdpi_portrait.png
  141. BIN  kitchensink-cordova/shared/www/res/screen/blackberry_transparent_300.png
  142. BIN  kitchensink-cordova/shared/www/res/screen/blackberry_transparent_400.png
  143. BIN  kitchensink-cordova/shared/www/res/screen/ipad_landscape.png
  144. BIN  kitchensink-cordova/shared/www/res/screen/ipad_portrait.png
  145. BIN  kitchensink-cordova/shared/www/res/screen/ipad_retina_landscape.png
  146. BIN  kitchensink-cordova/shared/www/res/screen/ipad_retina_portrait.png
  147. BIN  kitchensink-cordova/shared/www/res/screen/iphone_landscape.png
  148. BIN  kitchensink-cordova/shared/www/res/screen/iphone_portrait.png
  149. BIN  kitchensink-cordova/shared/www/res/screen/iphone_retina_landscape.png
  150. BIN  kitchensink-cordova/shared/www/res/screen/iphone_retina_portrait.png
  151. BIN  kitchensink-cordova/shared/www/res/screen/windows_phone_portrait.jpg
  152. +11 −0 kitchensink-cordova/shared/www/tmpl/member.tmpl
  153. +2 −3 kitchensink-html5-mobile/src/main/java/org/jboss/as/quickstarts/html5_mobile/data/MemberRepository.java
  154. +16 −0 kitchensink-html5-mobile/src/main/java/org/jboss/as/quickstarts/html5_mobile/service/MemberRegistration.java
  155. +14 −35 kitchensink-html5-mobile/src/main/webapp/index.html
  156. +2 −0  kitchensink-html5-mobile/src/main/webapp/js/libs/yepnope.1.5.4-min.js
View
2  helloworld-html5/README.md
@@ -91,7 +91,7 @@ Development notes
=================
You can test the REST endpoint using the following URL
-http://localhost:8080/jboss-as-helloworld-html5/hello/json/David
+[http://localhost:8080/\<artifactId>/hello/json/David/]("http://localhost:8080/<artifactId>/hello/json/David/").
HelloWorld.java - establishes the RESTful endpoints using JAX-RS
View
19 helloworld-html5/src/main/webapp/css/styles.css
@@ -0,0 +1,19 @@
+/*
+ JBoss, Home of Professional Open Source
+ Copyright 2012, Red Hat, Inc., and individual contributors
+ by the @authors tag. See the copyright.txt in the distribution for a
+ full listing of individual contributors.
+
+ Licensed 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.
+ */
+.invalid {
+ color: red;
+}
View
48 helloworld-html5/src/main/webapp/index.html
@@ -20,39 +20,47 @@
<html>
<head>
<title>HTML5 + REST Hello World</title>
+<link rel="stylesheet" href="css/styles.css"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
+<script type="text/javascript">
+$( document ).ready( function() {
+ $( '#sayHello' ).click( function( event ) {
+ event.preventDefault();
-<script type="text/javascript">
-$(document).ready(function() {
- $('#sayHello').click(function() {
- var name = $('#name').val();
- //console.log("clicked: " + name);
- var jqxhr = $.ajax('hello/json/' + name, {
+ var result = $( '#result' ),
+ name = $.trim( $( '#name' ).val() );
+
+ result.removeClass( 'invalid' );
+
+ if( !name || !name.length ) {
+ result.addClass( 'invalid' ).text( 'A name is required!' );
+ return;
+ }
+ //console.log("clicked: " + name);
+ $.ajax( 'hello/json/' + name, {
dataType:'json',
data:{},
type:'POST',
- success:function (data) {
+ success:function ( data ) {
//console.log("success: " + data.result);
- $('#result').text(data.result);
+ $( '#result' ).text( data.result );
}
})
- .error(function() {
- //console.log("error");
- }
- );
- return false; // prevents submit of the form
- });
-}); // (document).read
+ .error( function() {
+ //console.log("error");
+ });
+ });
+}); // (document).ready
</script>
</head>
<body>
HTML5 + REST Hello World<br>
<form name="theForm">
- <fieldset>
- <label for="name" id="name_label">Name</label>
- <input name="name" id="name" type="text" required placeholder="Your Name"/>
- <input type="submit" id="sayHello" value="Say Hello"/><span id="result"></span>
- </fieldset>
+ <fieldset>
+ <label for="name" id="name_label">Name</label>
+ <input name="name" id="name" type="text" required placeholder="Your Name"/>
+ <input type="submit" id="sayHello" value="Say Hello"/><span id="result"></span>
+ </fieldset>
</form>
</body>
View
3  kitchensink-cordova/.gitignore
@@ -0,0 +1,3 @@
+ios/KitchensinkCordova.xcodeproj/xcuserdata/
+ios/KitchensinkCordova.xcodeproj/project.xcworkspace/xcuserdata/
+android/gen/
View
24 kitchensink-cordova/README.md
@@ -0,0 +1,24 @@
+kitchensink-cordova: Example AeroGear Application Using Hybrid HTML5 + REST with Apache Cordova
+===============================================================================================
+Author: Kris Borchers
+Level: Intermediate
+Technologies: HTML5, REST, Apache Cordova
+Summary: Based on kitchensink, but uses hybrid HTML5 running as a native application on mobiles
+
+What is it?
+-----------
+
+This project serves as an example of AeroGear's [kitchensink quickstart](http://www.github.com/aerogear/as-quickstarts/tree/master/kitchensink-html5-mobile), converted to an [Apache Cordova](http://incubator.apache.org/cordova/) based, hybrid application.
+
+What does all of that mean? Basically, this takes our https://community.jboss.org/docs/DOC-17326[HTML5 + REST] / http://www.jquerymobile.com"[jQuery Mobile] based web app and converts it to a native app for both iOS and Android. Currently, these apps will need to be built separately but in the future, we hope to provide a single build step for all supported mobile OS types. These concepts can be applied to the conversion of most HTML5/JS based web apps by just replacing the specific paths described in this article with paths that match your environment.
+
+Available Hybrid Applications
+-----------------------------
+
+The following is a list of the currently available hybrid applications.
+For more detailed information about a quickstart, click on the quickstart name.
+
+This quickstart contains the following mobile OS types:
+
+1. [ios](kitchensink-cordova/ios/README.md)
+2. [android](kitchensink-cordova/android/README.md)
View
BIN  kitchensink-cordova/android/.cordova/android/cordova-1.6.1.jar
Binary file not shown
View
4,987 kitchensink-cordova/android/.cordova/android/cordova-1.6.1.js
4,987 additions, 0 deletions not shown
View
37 kitchensink-cordova/android/.cordova/android/cordova.xml
@@ -0,0 +1,37 @@
+<?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.
+-->
+<cordova>
+ <!--
+ access elements control the Android whitelist.
+ Domains are assumed blocked unless set otherwise
+ -->
+
+ <access origin="http://127.0.0.1*"/> <!-- allow local pages -->
+
+ <!-- <access origin="https://example.com" /> allow any secure requests to example.com -->
+ <!-- <access origin="https://example.com" subdomains="true" /> such as above, but including subdomains, such as www -->
+ <!-- <access origin=".*"/> Allow all domains, suggested development use only -->
+
+ <log level="DEBUG"/>
+ <preference name="classicRender" value="true" />
+</cordova>
+
+
+
View
37 kitchensink-cordova/android/.cordova/android/plugins.xml
@@ -0,0 +1,37 @@
+<?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.
+-->
+<plugins>
+ <plugin name="App" value="org.apache.cordova.App"/>
+ <plugin name="Geolocation" value="org.apache.cordova.GeoBroker"/>
+ <plugin name="Device" value="org.apache.cordova.Device"/>
+ <plugin name="Accelerometer" value="org.apache.cordova.AccelListener"/>
+ <plugin name="Compass" value="org.apache.cordova.CompassListener"/>
+ <plugin name="Media" value="org.apache.cordova.AudioHandler"/>
+ <plugin name="Camera" value="org.apache.cordova.CameraLauncher"/>
+ <plugin name="Contacts" value="org.apache.cordova.ContactManager"/>
+ <plugin name="File" value="org.apache.cordova.FileUtils"/>
+ <plugin name="NetworkStatus" value="org.apache.cordova.NetworkManager"/>
+ <plugin name="Notification" value="org.apache.cordova.Notification"/>
+ <plugin name="Storage" value="org.apache.cordova.Storage"/>
+ <plugin name="Temperature" value="org.apache.cordova.TempListener"/>
+ <plugin name="FileTransfer" value="org.apache.cordova.FileTransfer"/>
+ <plugin name="Capture" value="org.apache.cordova.Capture"/>
+ <plugin name="Battery" value="org.apache.cordova.BatteryListener"/>
+</plugins>
View
1  kitchensink-cordova/android/.cordova/android/readme.md
@@ -0,0 +1 @@
+ok...
View
52 kitchensink-cordova/android/AndroidManifest.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="org.jboss.aerogear"
+ android:versionCode="5"
+ android:versionName="1.1"
+ android:windowSoftInputMode="adjustPan" >
+
+ <supports-screens
+ android:anyDensity="true"
+ android:largeScreens="true"
+ android:normalScreens="true"
+ android:resizeable="true"
+ android:smallScreens="true" />
+
+ <uses-permission android:name="android.permission.CAMERA" />
+ <uses-permission android:name="android.permission.VIBRATE" />
+ <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
+ <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
+ <uses-permission android:name="android.permission.INTERNET" />
+ <uses-permission android:name="android.permission.RECEIVE_SMS" />
+ <uses-permission android:name="android.permission.RECORD_AUDIO" />
+ <uses-permission android:name="android.permission.RECORD_VIDEO" />
+ <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
+ <uses-permission android:name="android.permission.READ_CONTACTS" />
+ <uses-permission android:name="android.permission.WRITE_CONTACTS" />
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+ <uses-permission android:name="android.permission.GET_ACCOUNTS" />
+ <uses-permission android:name="android.permission.BROADCAST_STICKY" />
+
+ <uses-sdk
+ android:minSdkVersion="5"
+ android:targetSdkVersion="10" />
+
+ <application
+ android:debuggable="true"
+ android:icon="@drawable/icon"
+ android:label="@string/app_name" >
+ <activity
+ android:name="org.jboss.as.quickstarts.kitchensinkcordova.KitchensinkCordova"
+ android:configChanges="orientation|keyboardHidden"
+ android:label="@string/app_name" >
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+ </application>
+
+</manifest>
View
71 kitchensink-cordova/android/README.md
@@ -0,0 +1,71 @@
+kitchensink-cordova-android: Example AeroGear Application Using Hybrid HTML5 + REST with Apache Cordova for Android
+===================================================================================================================
+Author: Kris Borchers
+Level: Intermediate
+Technologies: HTML5, REST, Apache Cordova, Android
+Summary: Based on kitchensink, but uses hybrid HTML5 running as a native android application on mobiles
+
+What is it?
+-----------
+
+This is a aplication build upon AeroGear’s kitchensink quickstart, which was converted to an Apache Cordova based hybrid application.
+
+What does all of that mean? Basically, this takes our HTML5 + REST / jQuery Mobile based web app and converts it to a native app for Android.
+
+System requirements
+-------------------
+
+All you need to build this project is Java 6.0 (Java SDK 1.6) or better, JBDS 5 or Eclipse with [Android Development Tools (ADT) Plugin for the Eclipse IDE](http://developer.android.com/tools/sdk/eclipse-adt.html).
+
+With the prerequisites out of the way, you're ready to build and deploy.
+
+If you need more detailed instruction to setup a Android Development Environment with Apache Cordova, you can take a look at [Setting up your development enivronment to use Apache Cordova](http://aerogear.org/docs/guides/CordovaSetup/)
+
+Import the Quickstart Code
+---------------------------
+
+First we need to import the existing Android code to JBDS or Eclipse
+
+1. On Eclipse, click File then import.
+2. Select *Existing Android Code Into Workspace* and click *Next*.
+3. On Root Directory, click on *Browse...* button and navigate to the root path of the Quickstart on your filesystem.
+4. After selecting the Quickstart project, you can click on *Finish* button to start the project import.
+5. Make sure that your `<KITCHENSINK-CORDOVA>/android/assets/www` is a symbolic link to `../shared/www`
+
+
+#### Troubleshooting Fedora/Red Hat Enterprise Linux
+
+If you receive an error _Unable to resolve target 'android-10'_ It means that you don't have the Android API 10 (Android 2.3.3) installed. To solve this you must:
+
+1. Right-click the project in the left pane
+2. Select *Properties*
+3. On Android options, select the appropriate Android API.
+
+_NOTE: This sample was built for the Android 2.1 SDK for maximum compatibility with current devices but should work on any 2.x or 4.0 SDK. The sample was not tested on the 3.x series._
+
+#### Troubleshooting Windows Operating Systems
+
+As Windows doesn't suppot symbolic links you must copy `shared/www` folder to `<KITCHENSINK-CORDOVA>/android/assets/www`
+
+
+Start the Emulator and Deploy the application
+--------------------------------------------
+
+1. Start the emulator on Eclipse by clicking *Window* and select *AVD Manager*.
+2. On Android Virtual Device Manager window, select the appropriate AVD and click on *Start* button.
+3. On Lauch Options window click on *Lauch* button.
+4. After Emulator started, select your project on Eclipse
+5. Click on *Run*, then *Run As* and *Android Application*
+
+Access the application
+---------------------
+
+The application will be running on the Emulator.
+
+Converting an AeroGear HTML5 + REST Web App to a Hybrid App with Apache Cordova
+--------------------------------------------------------------------------------
+
+If you have an existing Web Application based on HTML5 + REST you can follow [this guide](http://aerogear.org/docs/guides/HTML5ToHybridWithCordova)
+
+
+
View
1  kitchensink-cordova/android/assets/www
View
83 kitchensink-cordova/android/build.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="KitchensinkCordova" default="help">
+
+ <!-- The local.properties file is created and updated by the 'android' tool.
+ It contains the path to the SDK. It should *NOT* be checked into
+ Version Control Systems. -->
+ <property file="local.properties" />
+
+ <!-- The ant.properties file can be created by you. It is only edited by the
+ 'android' tool to add properties to it.
+ This is the place to change some Ant specific build properties.
+ Here are some properties you may want to change/update:
+
+ source.dir
+ The name of the source directory. Default is 'src'.
+ out.dir
+ The name of the output directory. Default is 'bin'.
+
+ For other overridable properties, look at the beginning of the rules
+ files in the SDK, at tools/ant/build.xml
+
+ Properties related to the SDK location or the project target should
+ be updated using the 'android' tool with the 'update' action.
+
+ This file is an integral part of the build system for your
+ application and should be checked into Version Control Systems.
+
+ -->
+ <property file="ant.properties" />
+
+ <!-- The project.properties file is created and updated by the 'android'
+ tool, as well as ADT.
+
+ This contains project specific properties such as project target, and library
+ dependencies. Lower level build properties are stored in ant.properties
+ (or in .classpath for Eclipse projects).
+
+ This file is an integral part of the build system for your
+ application and should be checked into Version Control Systems. -->
+ <loadproperties srcFile="project.properties" />
+
+ <!-- quick check on sdk.dir -->
+ <fail
+ message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var"
+ unless="sdk.dir"
+ />
+
+ <!--
+ Import per project custom build rules if present at the root of the project.
+ This is the place to put custom intermediary targets such as:
+ -pre-build
+ -pre-compile
+ -post-compile (This is typically used for code obfuscation.
+ Compiled code location: ${out.classes.absolute.dir}
+ If this is not done in place, override ${out.dex.input.absolute.dir})
+ -post-package
+ -post-build
+ -pre-clean
+ -->
+ <import file="custom_rules.xml" optional="true" />
+
+ <!-- Import the actual build file.
+
+ To customize existing targets, there are two options:
+ - Customize only one target:
+ - copy/paste the target into this file, *before* the
+ <import> task.
+ - customize it to your needs.
+ - Customize the whole content of build.xml
+ - copy/paste the content of the rules files (minus the top node)
+ into this file, replacing the <import> task.
+ - customize to your needs.
+
+ ***********************
+ ****** IMPORTANT ******
+ ***********************
+ In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
+ in order to avoid having your file be overridden by tools such as "android update project"
+ -->
+ <!-- version-tag: 1 -->
+ <import file="${sdk.dir}/tools/ant/build.xml" />
+
+</project>
View
BIN  kitchensink-cordova/android/libs/cordova-2.0.0.jar
Binary file not shown
View
20 kitchensink-cordova/android/proguard-project.txt
@@ -0,0 +1,20 @@
+# To enable ProGuard in your project, edit project.properties
+# to define the proguard.config property as described in that file.
+#
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in ${sdk.dir}/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the ProGuard
+# include property in project.properties.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
View
14 kitchensink-cordova/android/project.properties
@@ -0,0 +1,14 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system edit
+# "ant.properties", and override values to adapt the script to your
+# project structure.
+#
+# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
+#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
+
+# Project target.
+target=android-7
View
BIN  kitchensink-cordova/android/res/drawable-hdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  kitchensink-cordova/android/res/drawable-ldpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  kitchensink-cordova/android/res/drawable-mdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  kitchensink-cordova/android/res/drawable/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
13 kitchensink-cordova/android/res/layout/main.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ >
+<TextView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="Hello World, KitchensinkCordova"
+ />
+</LinearLayout>
+
View
4 kitchensink-cordova/android/res/values/strings.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="app_name">Kitchensink Cordova</string>
+</resources>
View
42 kitchensink-cordova/android/res/xml/cordova.xml
@@ -0,0 +1,42 @@
+<?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.
+-->
+<cordova>
+ <!--
+ access elements control the Android whitelist.
+ Domains are assumed blocked unless set otherwise
+ -->
+
+ <access origin="http://127.0.0.1*"/> <!-- allow local pages -->
+
+ <!-- <access origin="https://example.com" /> allow any secure requests to example.com -->
+ <!-- <access origin="https://example.com" subdomains="true" /> such as above, but including subdomains, such as www -->
+ <!-- <access origin=".*"/> Allow all domains, suggested development use only -->
+ <access origin="http://poh5-aerogear.rhcloud.com"/> <!-- Allow access to cloud hosted services -->
+
+ <log level="DEBUG"/>
+ <preference name="useBrowserHistory" value="false" />
+<plugins>
+ <plugin name="App" value="org.apache.cordova.App"/>
+ <plugin name="Device" value="org.apache.cordova.Device"/>
+ <plugin name="NetworkStatus" value="org.apache.cordova.NetworkManager"/>
+ <plugin name="SplashScreen" value="org.apache.cordova.SplashScreen"/>
+</plugins>
+</cordova>
+
View
37 kitchensink-cordova/android/res/xml/plugins.xml
@@ -0,0 +1,37 @@
+<?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.
+-->
+<plugins>
+ <plugin name="App" value="org.apache.cordova.App"/>
+ <plugin name="Geolocation" value="org.apache.cordova.GeoBroker"/>
+ <plugin name="Device" value="org.apache.cordova.Device"/>
+ <plugin name="Accelerometer" value="org.apache.cordova.AccelListener"/>
+ <plugin name="Compass" value="org.apache.cordova.CompassListener"/>
+ <plugin name="Media" value="org.apache.cordova.AudioHandler"/>
+ <plugin name="Camera" value="org.apache.cordova.CameraLauncher"/>
+ <plugin name="Contacts" value="org.apache.cordova.ContactManager"/>
+ <plugin name="File" value="org.apache.cordova.FileUtils"/>
+ <plugin name="NetworkStatus" value="org.apache.cordova.NetworkManager"/>
+ <plugin name="Notification" value="org.apache.cordova.Notification"/>
+ <plugin name="Storage" value="org.apache.cordova.Storage"/>
+ <plugin name="Temperature" value="org.apache.cordova.TempListener"/>
+ <plugin name="FileTransfer" value="org.apache.cordova.FileTransfer"/>
+ <plugin name="Capture" value="org.apache.cordova.Capture"/>
+ <plugin name="Battery" value="org.apache.cordova.BatteryListener"/>
+</plugins>
View
25 ...k-cordova/android/src/org/jboss/as/quickstarts/kitchensinkcordova/KitchensinkCordova.java
@@ -0,0 +1,25 @@
+package org.jboss.as.quickstarts.kitchensinkcordova;
+
+import org.apache.cordova.DroidGap;
+
+import android.os.Bundle;
+import android.webkit.WebSettings;
+
+public class KitchensinkCordova extends DroidGap {
+
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+
+ // Loads the URL with HTML application
+ super.loadUrl("file:///android_asset/www/index.html");
+ }
+
+ @Override
+ public void init() {
+ super.init();
+
+ WebSettings settings = this.appView.getSettings();
+ settings.setUserAgentString("Kitchensink Cordova Webview Android");
+ }
+}
View
BIN  kitchensink-cordova/ios/KitchensinkCordova.xcodeproj/TemplateIcon.icns
Binary file not shown
View
28 kitchensink-cordova/ios/KitchensinkCordova.xcodeproj/TemplateInfo.plist
@@ -0,0 +1,28 @@
+<?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.
+#
+-->
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>Description</key>
+ <string>This template provides a starting point for a Cordova based application. Just modify the www folder contents with your HTML, CSS and Javascript.</string>
+</dict>
+</plist>
View
622 kitchensink-cordova/ios/KitchensinkCordova.xcodeproj/project.pbxproj
@@ -0,0 +1,622 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 1D3623260D0F684500981E51 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D3623250D0F684500981E51 /* AppDelegate.m */; };
+ 1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; };
+ 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
+ 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
+ 1F766FE113BBADB100FB74C0 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1F766FDC13BBADB100FB74C0 /* Localizable.strings */; };
+ 1F766FE213BBADB100FB74C0 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1F766FDF13BBADB100FB74C0 /* Localizable.strings */; };
+ 288765FD0DF74451002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765FC0DF74451002DB57D /* CoreGraphics.framework */; };
+ 301BF552109A68D80062928A /* libCordova.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 301BF535109A57CC0062928A /* libCordova.a */; };
+ 301BF570109A69640062928A /* www in Resources */ = {isa = PBXBuildFile; fileRef = 301BF56E109A69640062928A /* www */; };
+ 301BF5B5109A6A2B0062928A /* AddressBook.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 301BF5B4109A6A2B0062928A /* AddressBook.framework */; };
+ 301BF5B7109A6A2B0062928A /* AddressBookUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 301BF5B6109A6A2B0062928A /* AddressBookUI.framework */; };
+ 301BF5B9109A6A2B0062928A /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 301BF5B8109A6A2B0062928A /* AudioToolbox.framework */; };
+ 301BF5BB109A6A2B0062928A /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 301BF5BA109A6A2B0062928A /* AVFoundation.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
+ 301BF5BD109A6A2B0062928A /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 301BF5BC109A6A2B0062928A /* CFNetwork.framework */; };
+ 301BF5BF109A6A2B0062928A /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 301BF5BE109A6A2B0062928A /* CoreLocation.framework */; };
+ 301BF5C1109A6A2B0062928A /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 301BF5C0109A6A2B0062928A /* MediaPlayer.framework */; };
+ 301BF5C3109A6A2B0062928A /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 301BF5C2109A6A2B0062928A /* QuartzCore.framework */; };
+ 301BF5C5109A6A2B0062928A /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 301BF5C4109A6A2B0062928A /* SystemConfiguration.framework */; };
+ 302D95F114D2391D003F00A1 /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 302D95EF14D2391D003F00A1 /* MainViewController.m */; };
+ 302D95F214D2391D003F00A1 /* MainViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 302D95F014D2391D003F00A1 /* MainViewController.xib */; };
+ 3053AC6F109B7857006FCFE7 /* VERSION in Resources */ = {isa = PBXBuildFile; fileRef = 3053AC6E109B7857006FCFE7 /* VERSION */; };
+ 305D5FD1115AB8F900A74A75 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 305D5FD0115AB8F900A74A75 /* MobileCoreServices.framework */; };
+ 3072F99713A8081B00425683 /* Capture.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 3072F99613A8081B00425683 /* Capture.bundle */; };
+ 30A0434814DC770100060A13 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 30A0434314DC770100060A13 /* Localizable.strings */; };
+ 30A0434914DC770100060A13 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 30A0434614DC770100060A13 /* Localizable.strings */; };
+ 30E1352710E2C1420031B30D /* Cordova.plist in Resources */ = {isa = PBXBuildFile; fileRef = 30E1352610E2C1420031B30D /* Cordova.plist */; };
+ 30E5649213A7FCAF007403D8 /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 30E5649113A7FCAF007403D8 /* CoreMedia.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
+ 93B4118F15D00D670071D126 /* ios-57.png in Resources */ = {isa = PBXBuildFile; fileRef = 93B4118B15D00D670071D126 /* ios-57.png */; };
+ 93B4119015D00D670071D126 /* ios-72.png in Resources */ = {isa = PBXBuildFile; fileRef = 93B4118C15D00D670071D126 /* ios-72.png */; };
+ 93B4119115D00D670071D126 /* ios-114.png in Resources */ = {isa = PBXBuildFile; fileRef = 93B4118D15D00D670071D126 /* ios-114.png */; };
+ 93B4119215D00D670071D126 /* ios-144.png in Resources */ = {isa = PBXBuildFile; fileRef = 93B4118E15D00D670071D126 /* ios-144.png */; };
+ 93B4119815D00D750071D126 /* Default-Landscape~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = 93B4119315D00D750071D126 /* Default-Landscape~ipad.png */; };
+ 93B4119915D00D750071D126 /* Default-Portrait@2x~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = 93B4119415D00D750071D126 /* Default-Portrait@2x~ipad.png */; };
+ 93B4119A15D00D750071D126 /* Default-Portrait~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = 93B4119515D00D750071D126 /* Default-Portrait~ipad.png */; };
+ 93B4119B15D00D750071D126 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 93B4119615D00D750071D126 /* Default.png */; };
+ 93B4119C15D00D750071D126 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 93B4119715D00D750071D126 /* Default@2x.png */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ 301BF534109A57CC0062928A /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 301BF52D109A57CC0062928A /* CordovaLib.xcodeproj */;
+ proxyType = 2;
+ remoteGlobalIDString = D2AAC07E0554694100DB518D;
+ remoteInfo = CordovaLib;
+ };
+ 301BF550109A68C00062928A /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 301BF52D109A57CC0062928A /* CordovaLib.xcodeproj */;
+ proxyType = 1;
+ remoteGlobalIDString = D2AAC07D0554694100DB518D;
+ remoteInfo = CordovaLib;
+ };
+ 302D95EB14D23909003F00A1 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 301BF52D109A57CC0062928A /* CordovaLib.xcodeproj */;
+ proxyType = 2;
+ remoteGlobalIDString = 686357A9141002F100DF4CF2;
+ remoteInfo = CordovaLibTests;
+ };
+ 3088BBB4154F38EF009F9C59 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 301BF52D109A57CC0062928A /* CordovaLib.xcodeproj */;
+ proxyType = 2;
+ remoteGlobalIDString = 303A4068152124BB00182201;
+ remoteInfo = CordovaLibApp;
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXFileReference section */
+ 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ 1D3623240D0F684500981E51 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
+ 1D3623250D0F684500981E51 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+ 1D6058910D05DD3D006BFB54 /* KitchensinkCordova.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KitchensinkCordova.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ 1F766FDD13BBADB100FB74C0 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = Localizable.strings; sourceTree = "<group>"; };
+ 1F766FE013BBADB100FB74C0 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = Localizable.strings; sourceTree = "<group>"; };
+ 288765FC0DF74451002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ 301BF52D109A57CC0062928A /* CordovaLib.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = CordovaLib.xcodeproj; sourceTree = CORDOVALIB; };
+ 301BF56E109A69640062928A /* www */ = {isa = PBXFileReference; lastKnownFileType = folder; path = www; sourceTree = SOURCE_ROOT; };
+ 301BF5B4109A6A2B0062928A /* AddressBook.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AddressBook.framework; path = System/Library/Frameworks/AddressBook.framework; sourceTree = SDKROOT; };
+ 301BF5B6109A6A2B0062928A /* AddressBookUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AddressBookUI.framework; path = System/Library/Frameworks/AddressBookUI.framework; sourceTree = SDKROOT; };
+ 301BF5B8109A6A2B0062928A /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
+ 301BF5BA109A6A2B0062928A /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; };
+ 301BF5BC109A6A2B0062928A /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
+ 301BF5BE109A6A2B0062928A /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
+ 301BF5C0109A6A2B0062928A /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = System/Library/Frameworks/MediaPlayer.framework; sourceTree = SDKROOT; };
+ 301BF5C2109A6A2B0062928A /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
+ 301BF5C4109A6A2B0062928A /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
+ 302D95EE14D2391D003F00A1 /* MainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainViewController.h; sourceTree = "<group>"; };
+ 302D95EF14D2391D003F00A1 /* MainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MainViewController.m; sourceTree = "<group>"; };
+ 302D95F014D2391D003F00A1 /* MainViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MainViewController.xib; sourceTree = "<group>"; };
+ 3053AC6E109B7857006FCFE7 /* VERSION */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = VERSION; sourceTree = CORDOVALIB; };
+ 305D5FD0115AB8F900A74A75 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; };
+ 3072F99613A8081B00425683 /* Capture.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Capture.bundle; sourceTree = "<group>"; };
+ 307D28A1123043350040C0FA /* CordovaBuildSettings.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = CordovaBuildSettings.xcconfig; path = ../CordovaBuildSettings.xcconfig; sourceTree = "<group>"; };
+ 30A0434414DC770100060A13 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = Localizable.strings; sourceTree = "<group>"; };
+ 30A0434714DC770100060A13 /* se */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = se; path = Localizable.strings; sourceTree = "<group>"; };
+ 30E1352610E2C1420031B30D /* Cordova.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Cordova.plist; path = ../Cordova.plist; sourceTree = "<group>"; };
+ 30E5649113A7FCAF007403D8 /* CoreMedia.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMedia.framework; path = System/Library/Frameworks/CoreMedia.framework; sourceTree = SDKROOT; };
+ 32CA4F630368D1EE00C91783 /* KitchensinkCordova-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "KitchensinkCordova-Prefix.pch"; sourceTree = "<group>"; };
+ 8D1107310486CEB800E47090 /* KitchensinkCordova-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "KitchensinkCordova-Info.plist"; path = "../KitchensinkCordova-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = "<group>"; };
+ 93B4118B15D00D670071D126 /* ios-57.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "ios-57.png"; sourceTree = "<group>"; };
+ 93B4118C15D00D670071D126 /* ios-72.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "ios-72.png"; sourceTree = "<group>"; };
+ 93B4118D15D00D670071D126 /* ios-114.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "ios-114.png"; sourceTree = "<group>"; };
+ 93B4118E15D00D670071D126 /* ios-144.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "ios-144.png"; sourceTree = "<group>"; };
+ 93B4119315D00D750071D126 /* Default-Landscape~ipad.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-Landscape~ipad.png"; sourceTree = "<group>"; };
+ 93B4119415D00D750071D126 /* Default-Portrait@2x~ipad.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-Portrait@2x~ipad.png"; sourceTree = "<group>"; };
+ 93B4119515D00D750071D126 /* Default-Portrait~ipad.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-Portrait~ipad.png"; sourceTree = "<group>"; };
+ 93B4119615D00D750071D126 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
+ 93B4119715D00D750071D126 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 1D60588F0D05DD3D006BFB54 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 301BF552109A68D80062928A /* libCordova.a in Frameworks */,
+ 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */,
+ 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */,
+ 288765FD0DF74451002DB57D /* CoreGraphics.framework in Frameworks */,
+ 301BF5B5109A6A2B0062928A /* AddressBook.framework in Frameworks */,
+ 301BF5B7109A6A2B0062928A /* AddressBookUI.framework in Frameworks */,
+ 301BF5B9109A6A2B0062928A /* AudioToolbox.framework in Frameworks */,
+ 301BF5BB109A6A2B0062928A /* AVFoundation.framework in Frameworks */,
+ 301BF5BD109A6A2B0062928A /* CFNetwork.framework in Frameworks */,
+ 301BF5BF109A6A2B0062928A /* CoreLocation.framework in Frameworks */,
+ 301BF5C1109A6A2B0062928A /* MediaPlayer.framework in Frameworks */,
+ 301BF5C3109A6A2B0062928A /* QuartzCore.framework in Frameworks */,
+ 301BF5C5109A6A2B0062928A /* SystemConfiguration.framework in Frameworks */,
+ 305D5FD1115AB8F900A74A75 /* MobileCoreServices.framework in Frameworks */,
+ 30E5649213A7FCAF007403D8 /* CoreMedia.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 080E96DDFE201D6D7F000001 /* Classes */ = {
+ isa = PBXGroup;
+ children = (
+ 302D95EE14D2391D003F00A1 /* MainViewController.h */,
+ 302D95EF14D2391D003F00A1 /* MainViewController.m */,
+ 302D95F014D2391D003F00A1 /* MainViewController.xib */,
+ 1D3623240D0F684500981E51 /* AppDelegate.h */,
+ 1D3623250D0F684500981E51 /* AppDelegate.m */,
+ );
+ name = Classes;
+ path = KitchensinkCordova/Classes;
+ sourceTree = SOURCE_ROOT;
+ };
+ 19C28FACFE9D520D11CA2CBB /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 1D6058910D05DD3D006BFB54 /* KitchensinkCordova.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 1F766FDB13BBADB100FB74C0 /* en.lproj */ = {
+ isa = PBXGroup;
+ children = (
+ 1F766FDC13BBADB100FB74C0 /* Localizable.strings */,
+ );
+ path = en.lproj;
+ sourceTree = "<group>";
+ };
+ 1F766FDE13BBADB100FB74C0 /* es.lproj */ = {
+ isa = PBXGroup;
+ children = (
+ 1F766FDF13BBADB100FB74C0 /* Localizable.strings */,
+ );
+ path = es.lproj;
+ sourceTree = "<group>";
+ };
+ 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {
+ isa = PBXGroup;
+ children = (
+ 301BF56E109A69640062928A /* www */,
+ 301BF52D109A57CC0062928A /* CordovaLib.xcodeproj */,
+ 080E96DDFE201D6D7F000001 /* Classes */,
+ 307C750510C5A3420062BCA9 /* Plugins */,
+ 29B97315FDCFA39411CA2CEA /* Other Sources */,
+ 29B97317FDCFA39411CA2CEA /* Resources */,
+ 29B97323FDCFA39411CA2CEA /* Frameworks */,
+ 19C28FACFE9D520D11CA2CBB /* Products */,
+ );
+ name = CustomTemplate;
+ sourceTree = "<group>";
+ };
+ 29B97315FDCFA39411CA2CEA /* Other Sources */ = {
+ isa = PBXGroup;
+ children = (
+ 32CA4F630368D1EE00C91783 /* KitchensinkCordova-Prefix.pch */,
+ 29B97316FDCFA39411CA2CEA /* main.m */,
+ );
+ name = "Other Sources";
+ path = KitchensinkCordova;
+ sourceTree = "<group>";
+ };
+ 29B97317FDCFA39411CA2CEA /* Resources */ = {
+ isa = PBXGroup;
+ children = (
+ 30A0434214DC770100060A13 /* de.lproj */,
+ 30A0434514DC770100060A13 /* se.lproj */,
+ 1F766FDB13BBADB100FB74C0 /* en.lproj */,
+ 1F766FDE13BBADB100FB74C0 /* es.lproj */,
+ 3072F99613A8081B00425683 /* Capture.bundle */,
+ 308D052D1370CCF300D202BF /* icons */,
+ 308D05311370CCF300D202BF /* splash */,
+ 30E1352610E2C1420031B30D /* Cordova.plist */,
+ 3053AC6E109B7857006FCFE7 /* VERSION */,
+ 8D1107310486CEB800E47090 /* KitchensinkCordova-Info.plist */,
+ 307D28A1123043350040C0FA /* CordovaBuildSettings.xcconfig */,
+ );
+ name = Resources;
+ path = KitchensinkCordova/Resources;
+ sourceTree = "<group>";
+ };
+ 29B97323FDCFA39411CA2CEA /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */,
+ 1D30AB110D05D00D00671497 /* Foundation.framework */,
+ 288765FC0DF74451002DB57D /* CoreGraphics.framework */,
+ 301BF5B4109A6A2B0062928A /* AddressBook.framework */,
+ 301BF5B6109A6A2B0062928A /* AddressBookUI.framework */,
+ 301BF5B8109A6A2B0062928A /* AudioToolbox.framework */,
+ 301BF5BA109A6A2B0062928A /* AVFoundation.framework */,
+ 301BF5BC109A6A2B0062928A /* CFNetwork.framework */,
+ 301BF5BE109A6A2B0062928A /* CoreLocation.framework */,
+ 301BF5C0109A6A2B0062928A /* MediaPlayer.framework */,
+ 301BF5C2109A6A2B0062928A /* QuartzCore.framework */,
+ 301BF5C4109A6A2B0062928A /* SystemConfiguration.framework */,
+ 305D5FD0115AB8F900A74A75 /* MobileCoreServices.framework */,
+ 30E5649113A7FCAF007403D8 /* CoreMedia.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ 301BF52E109A57CC0062928A /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 301BF535109A57CC0062928A /* libCordova.a */,
+ 302D95EC14D23909003F00A1 /* CordovaLibTests.octest */,
+ 3088BBB5154F38EF009F9C59 /* CordovaLibApp.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 307C750510C5A3420062BCA9 /* Plugins */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = Plugins;
+ path = KitchensinkCordova/Plugins;
+ sourceTree = SOURCE_ROOT;
+ };
+ 308D052D1370CCF300D202BF /* icons */ = {
+ isa = PBXGroup;
+ children = (
+ 93B4118B15D00D670071D126 /* ios-57.png */,
+ 93B4118C15D00D670071D126 /* ios-72.png */,
+ 93B4118D15D00D670071D126 /* ios-114.png */,
+ 93B4118E15D00D670071D126 /* ios-144.png */,
+ );
+ path = icons;
+ sourceTree = "<group>";
+ };
+ 308D05311370CCF300D202BF /* splash */ = {
+ isa = PBXGroup;
+ children = (
+ 93B4119315D00D750071D126 /* Default-Landscape~ipad.png */,
+ 93B4119415D00D750071D126 /* Default-Portrait@2x~ipad.png */,
+ 93B4119515D00D750071D126 /* Default-Portrait~ipad.png */,
+ 93B4119615D00D750071D126 /* Default.png */,
+ 93B4119715D00D750071D126 /* Default@2x.png */,
+ );
+ path = splash;
+ sourceTree = "<group>";
+ };
+ 30A0434214DC770100060A13 /* de.lproj */ = {
+ isa = PBXGroup;
+ children = (
+ 30A0434314DC770100060A13 /* Localizable.strings */,
+ );
+ path = de.lproj;
+ sourceTree = "<group>";
+ };
+ 30A0434514DC770100060A13 /* se.lproj */ = {
+ isa = PBXGroup;
+ children = (
+ 30A0434614DC770100060A13 /* Localizable.strings */,
+ );
+ path = se.lproj;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 1D6058900D05DD3D006BFB54 /* KitchensinkCordova */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "KitchensinkCordova" */;
+ buildPhases = (
+ 304B58A110DAC018002A0835 /* Touch www folder */,
+ 1D60588D0D05DD3D006BFB54 /* Resources */,
+ 1D60588E0D05DD3D006BFB54 /* Sources */,
+ 1D60588F0D05DD3D006BFB54 /* Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 301BF551109A68C00062928A /* PBXTargetDependency */,
+ );
+ name = KitchensinkCordova;
+ productName = KitchensinkCordova;
+ productReference = 1D6058910D05DD3D006BFB54 /* KitchensinkCordova.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 29B97313FDCFA39411CA2CEA /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0420;
+ };
+ buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "KitchensinkCordova" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 1;
+ knownRegions = (
+ English,
+ Japanese,
+ French,
+ German,
+ en,
+ es,
+ de,
+ se,
+ );
+ mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;
+ projectDirPath = "";
+ projectReferences = (
+ {
+ ProductGroup = 301BF52E109A57CC0062928A /* Products */;
+ ProjectRef = 301BF52D109A57CC0062928A /* CordovaLib.xcodeproj */;
+ },
+ );
+ projectRoot = "";
+ targets = (
+ 1D6058900D05DD3D006BFB54 /* KitchensinkCordova */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXReferenceProxy section */
+ 301BF535109A57CC0062928A /* libCordova.a */ = {
+ isa = PBXReferenceProxy;
+ fileType = archive.ar;
+ path = libCordova.a;
+ remoteRef = 301BF534109A57CC0062928A /* PBXContainerItemProxy */;
+ sourceTree = BUILT_PRODUCTS_DIR;
+ };
+ 302D95EC14D23909003F00A1 /* CordovaLibTests.octest */ = {
+ isa = PBXReferenceProxy;
+ fileType = wrapper.cfbundle;
+ path = CordovaLibTests.octest;
+ remoteRef = 302D95EB14D23909003F00A1 /* PBXContainerItemProxy */;
+ sourceTree = BUILT_PRODUCTS_DIR;
+ };
+ 3088BBB5154F38EF009F9C59 /* CordovaLibApp.app */ = {
+ isa = PBXReferenceProxy;
+ fileType = wrapper.application;
+ path = CordovaLibApp.app;
+ remoteRef = 3088BBB4154F38EF009F9C59 /* PBXContainerItemProxy */;
+ sourceTree = BUILT_PRODUCTS_DIR;
+ };
+/* End PBXReferenceProxy section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 1D60588D0D05DD3D006BFB54 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 301BF570109A69640062928A /* www in Resources */,
+ 3053AC6F109B7857006FCFE7 /* VERSION in Resources */,
+ 30E1352710E2C1420031B30D /* Cordova.plist in Resources */,
+ 3072F99713A8081B00425683 /* Capture.bundle in Resources */,
+ 1F766FE113BBADB100FB74C0 /* Localizable.strings in Resources */,
+ 1F766FE213BBADB100FB74C0 /* Localizable.strings in Resources */,
+ 302D95F214D2391D003F00A1 /* MainViewController.xib in Resources */,
+ 30A0434814DC770100060A13 /* Localizable.strings in Resources */,
+ 30A0434914DC770100060A13 /* Localizable.strings in Resources */,
+ 93B4118F15D00D670071D126 /* ios-57.png in Resources */,
+ 93B4119015D00D670071D126 /* ios-72.png in Resources */,
+ 93B4119115D00D670071D126 /* ios-114.png in Resources */,
+ 93B4119215D00D670071D126 /* ios-144.png in Resources */,
+ 93B4119815D00D750071D126 /* Default-Landscape~ipad.png in Resources */,
+ 93B4119915D00D750071D126 /* Default-Portrait@2x~ipad.png in Resources */,
+ 93B4119A15D00D750071D126 /* Default-Portrait~ipad.png in Resources */,
+ 93B4119B15D00D750071D126 /* Default.png in Resources */,
+ 93B4119C15D00D750071D126 /* Default@2x.png in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 304B58A110DAC018002A0835 /* Touch www folder */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Touch www folder";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "touch -cm ${PROJECT_DIR}/www";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 1D60588E0D05DD3D006BFB54 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 1D60589B0D05DD56006BFB54 /* main.m in Sources */,
+ 1D3623260D0F684500981E51 /* AppDelegate.m in Sources */,
+ 302D95F114D2391D003F00A1 /* MainViewController.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ 301BF551109A68C00062928A /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ name = CordovaLib;
+ targetProxy = 301BF550109A68C00062928A /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+ 1F766FDC13BBADB100FB74C0 /* Localizable.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 1F766FDD13BBADB100FB74C0 /* en */,
+ );
+ name = Localizable.strings;
+ sourceTree = "<group>";
+ };
+ 1F766FDF13BBADB100FB74C0 /* Localizable.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 1F766FE013BBADB100FB74C0 /* es */,
+ );
+ name = Localizable.strings;
+ sourceTree = "<group>";
+ };
+ 30A0434314DC770100060A13 /* Localizable.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 30A0434414DC770100060A13 /* de */,
+ );
+ name = Localizable.strings;
+ sourceTree = "<group>";
+ };
+ 30A0434614DC770100060A13 /* Localizable.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 30A0434714DC770100060A13 /* se */,
+ );
+ name = Localizable.strings;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 1D6058940D05DD3E006BFB54 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ COPY_PHASE_STRIP = NO;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "KitchensinkCordova/KitchensinkCordova-Prefix.pch";
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ INFOPLIST_FILE = "KitchensinkCordova/KitchensinkCordova-Info.plist";
+ IPHONEOS_DEPLOYMENT_TARGET = 4.2;
+ PRODUCT_NAME = KitchensinkCordova;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 1D6058950D05DD3E006BFB54 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ COPY_PHASE_STRIP = YES;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "KitchensinkCordova/KitchensinkCordova-Prefix.pch";
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ INFOPLIST_FILE = "KitchensinkCordova/KitchensinkCordova-Info.plist";
+ IPHONEOS_DEPLOYMENT_TARGET = 4.2;
+ PRODUCT_NAME = KitchensinkCordova;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Release;
+ };
+ C01FCF4F08A954540054247B /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 307D28A1123043350040C0FA /* CordovaBuildSettings.xcconfig */;
+ buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ GCC_C_LANGUAGE_STANDARD = c99;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ HEADER_SEARCH_PATHS = (
+ "\"$(TARGET_BUILD_DIR)/usr/local/lib/include\"",
+ "\"$(OBJROOT)/UninstalledProducts/include\"",
+ "\"$(BUILT_PRODUCTS_DIR)\"",
+ );
+ IPHONEOS_DEPLOYMENT_TARGET = 4.2;
+ OTHER_LDFLAGS = (
+ "-weak_framework",
+ CoreFoundation,
+ "-weak_framework",
+ UIKit,
+ "-weak_framework",
+ AVFoundation,
+ "-weak_framework",
+ CoreMedia,
+ "-weak-lSystem",
+ "-all_load",
+ "-Obj-C",
+ );
+ SDKROOT = iphoneos;
+ SKIP_INSTALL = NO;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ USER_HEADER_SEARCH_PATHS = "";
+ };
+ name = Debug;
+ };
+ C01FCF5008A954540054247B /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 307D28A1123043350040C0FA /* CordovaBuildSettings.xcconfig */;
+ buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ GCC_C_LANGUAGE_STANDARD = c99;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ HEADER_SEARCH_PATHS = (
+ "\"$(TARGET_BUILD_DIR)/usr/local/lib/include\"",
+ "\"$(OBJROOT)/UninstalledProducts/include\"",
+ "\"$(BUILT_PRODUCTS_DIR)\"",
+ );
+ IPHONEOS_DEPLOYMENT_TARGET = 4.2;
+ OTHER_LDFLAGS = (
+ "-weak_framework",
+ CoreFoundation,
+ "-weak_framework",
+ UIKit,
+ "-weak_framework",
+ AVFoundation,
+ "-weak_framework",
+ CoreMedia,
+ "-weak-lSystem",
+ "-all_load",
+ "-Obj-C",
+ );
+ SDKROOT = iphoneos;
+ SKIP_INSTALL = NO;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ USER_HEADER_SEARCH_PATHS = "";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "KitchensinkCordova" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 1D6058940D05DD3E006BFB54 /* Debug */,
+ 1D6058950D05DD3E006BFB54 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ C01FCF4E08A954540054247B /* Build configuration list for PBXProject "KitchensinkCordova" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ C01FCF4F08A954540054247B /* Debug */,
+ C01FCF5008A954540054247B /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
+}
View
7 ...ink-cordova/ios/KitchensinkCordova.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:KitchensinkCordova.xcodeproj">
+ </FileRef>
+</Workspace>
View
45 kitchensink-cordova/ios/KitchensinkCordova/Classes/AppDelegate.h
@@ -0,0 +1,45 @@
+/*
+ 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.
+ */
+
+//
+// AppDelegate.h
+// KitchensinkCordova
+//
+// Created by ___FULLUSERNAME___ on ___DATE___.
+// Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+#import <Cordova/CDVViewController.h>
+
+@interface AppDelegate : NSObject < UIApplicationDelegate > {
+
+}
+
+// invoke string is passed to your app on launch, this is only valid if you
+// edit KitchensinkCordova-Info.plist to add a protocol
+// a simple tutorial can be found here :
+// http://iphonedevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html
+
+@property (nonatomic, retain) IBOutlet UIWindow* window;
+@property (nonatomic, retain) IBOutlet CDVViewController* viewController;
+
+@end
+
View
142 kitchensink-cordova/ios/KitchensinkCordova/Classes/AppDelegate.m
@@ -0,0 +1,142 @@
+/*
+ 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.
+ */
+
+//
+// AppDelegate.m
+// KitchensinkCordova
+//
+// Created by ___FULLUSERNAME___ on ___DATE___.
+// Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved.
+//
+
+#import "AppDelegate.h"
+#import "MainViewController.h"
+
+#import <Cordova/CDVPlugin.h>
+#import <Cordova/CDVURLProtocol.h>
+
+
+@implementation AppDelegate
+
+@synthesize window, viewController;
+
++ (void)initialize {
+ // Set user agent
+ NSDictionary *dictionnary = [[NSDictionary alloc] initWithObjectsAndKeys:@"Kitchensink Cordova Webview iOS", @"UserAgent", nil];
+ [[NSUserDefaults standardUserDefaults] registerDefaults:dictionnary];
+ [dictionnary release];
+}
+
+- (id) init
+{
+ /** If you need to do any extra app-specific initialization, you can do it here
+ * -jm
+ **/
+ NSHTTPCookieStorage *cookieStorage = [NSHTTPCookieStorage sharedHTTPCookieStorage];
+ [cookieStorage setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways];
+
+ [CDVURLProtocol registerURLProtocol];
+
+ return [super init];
+}
+
+#pragma UIApplicationDelegate implementation
+
+/**
+ * This is main kick off after the app inits, the views and Settings are setup here. (preferred - iOS4 and up)
+ */
+- (BOOL) application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions
+{
+ NSURL* url = [launchOptions objectForKey:UIApplicationLaunchOptionsURLKey];
+ NSString* invokeString = nil;
+
+ if (url && [url isKindOfClass:[NSURL class]]) {
+ invokeString = [url absoluteString];
+ NSLog(@"KitchensinkCordova launchOptions = %@", url);
+ }
+
+ CGRect screenBounds = [[UIScreen mainScreen] bounds];
+ self.window = [[[UIWindow alloc] initWithFrame:screenBounds] autorelease];
+ self.window.autoresizesSubviews = YES;
+
+ CGRect viewBounds = [[UIScreen mainScreen] applicationFrame];
+
+ self.viewController = [[[MainViewController alloc] init] autorelease];
+ self.viewController.useSplashScreen = YES;
+ self.viewController.wwwFolderName = @"www";
+ self.viewController.startPage = @"index.html";
+ self.viewController.invokeString = invokeString;
+ self.viewController.view.frame = viewBounds;
+
+ // check whether the current orientation is supported: if it is, keep it, rather than forcing a rotation
+ BOOL forceStartupRotation = YES;
+ UIDeviceOrientation curDevOrientation = [[UIDevice currentDevice] orientation];
+
+ if (UIDeviceOrientationUnknown == curDevOrientation) {
+ // UIDevice isn't firing orientation notifications yet… go look at the status bar
+ curDevOrientation = (UIDeviceOrientation)[[UIApplication sharedApplication] statusBarOrientation];
+ }
+
+ if (UIDeviceOrientationIsValidInterfaceOrientation(curDevOrientation)) {
+ for (NSNumber *orient in self.viewController.supportedOrientations) {
+ if ([orient intValue] == curDevOrientation) {
+ forceStartupRotation = NO;
+ break;
+ }
+ }
+ }
+
+ if (forceStartupRotation) {
+ NSLog(@"supportedOrientations: %@", self.viewController.supportedOrientations);
+ // The first item in the supportedOrientations array is the start orientation (guaranteed to be at least Portrait)
+ UIInterfaceOrientation newOrient = [[self.viewController.supportedOrientations objectAtIndex:0] intValue];
+ NSLog(@"AppDelegate forcing status bar to: %d from: %d", newOrient, curDevOrientation);
+ [[UIApplication sharedApplication] setStatusBarOrientation:newOrient];
+ }
+
+ [self.window addSubview:self.viewController.view];
+ [self.window makeKeyAndVisible];
+
+ return YES;
+}
+
+// this happens while we are running ( in the background, or from within our own app )
+// only valid if KitchensinkCordova-Info.plist specifies a protocol to handle
+- (BOOL) application:(UIApplication*)application handleOpenURL:(NSURL*)url
+{
+ if (!url) {
+ return NO;
+ }
+
+ // calls into javascript global function 'handleOpenURL'
+ NSString* jsString = [NSString stringWithFormat:@"handleOpenURL(\"%@\");", url];
+ [self.viewController.webView stringByEvaluatingJavaScriptFromString:jsString];
+
+ // all plugins will get the notification, and their handlers will be called
+ [[NSNotificationCenter defaultCenter] postNotification:[NSNotification notificationWithName:CDVPluginHandleOpenURLNotification object:url]];
+
+ return YES;
+}
+
+- (void) dealloc
+{
+ [super dealloc];
+}
+
+@end
View
32 kitchensink-cordova/ios/KitchensinkCordova/Classes/MainViewController.h
@@ -0,0 +1,32 @@
+/*
+ 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.
+ */
+
+//
+// MainViewController.h
+// KitchensinkCordova
+//
+// Created by ___FULLUSERNAME___ on ___DATE___.
+// Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved.
+//
+
+#import <Cordova/CDVViewController.h>
+
+@interface MainViewController : CDVViewController
+
+@end
View
141 kitchensink-cordova/ios/KitchensinkCordova/Classes/MainViewController.m
@@ -0,0 +1,141 @@
+/*
+ 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.
+ */
+
+//
+// MainViewController.h
+// KitchensinkCordova
+//
+// Created by ___FULLUSERNAME___ on ___DATE___.
+// Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved.
+//
+
+#import "MainViewController.h"
+
+@implementation MainViewController
+
+- (id) initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
+{
+ self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
+ if (self) {
+ // Custom initialization
+ }
+ return self;
+}
+
+- (void) didReceiveMemoryWarning
+{
+ // Releases the view if it doesn't have a superview.
+ [super didReceiveMemoryWarning];
+
+ // Release any cached data, images, etc that aren't in use.
+}
+
+#pragma mark - View lifecycle
+
+- (void) viewDidLoad
+{
+ [super viewDidLoad];
+ // Do any additional setup after loading the view from its nib.
+}
+
+- (void) viewDidUnload
+{
+ [super viewDidUnload];
+ // Release any retained subviews of the main view.
+ // e.g. self.myOutlet = nil;
+}
+
+- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
+{
+ // Return YES for supported orientations
+ return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation];
+}
+
+/* Comment out the block below to over-ride */
+/*
+- (CDVCordovaView*) newCordovaViewWithFrame:(CGRect)bounds
+{
+ return[super newCordovaViewWithFrame:bounds];
+}
+*/
+
+/* Comment out the block below to over-ride */
+/*
+#pragma CDVCommandDelegate implementation
+
+- (id) getCommandInstance:(NSString*)className
+{
+ return [super getCommandInstance:className];
+}
+
+- (BOOL) execute:(CDVInvokedUrlCommand*)command
+{
+ return [super execute:command];
+}
+
+- (NSString*) pathForResource:(NSString*)resourcepath;
+{
+ return [super pathForResource:resourcepath];
+}
+
+- (void) registerPlugin:(CDVPlugin*)plugin withClassName:(NSString*)className
+{
+ return [super registerPlugin:plugin withClassName:className];
+}
+*/
+
+#pragma UIWebDelegate implementation
+
+- (void) webViewDidFinishLoad:(UIWebView*) theWebView
+{
+ // only valid if ___PROJECTNAME__-Info.plist specifies a protocol to handle
+ if (self.invokeString)
+ {
+ // this is passed before the deviceready event is fired, so you can access it in js when you receive deviceready
+ NSLog(@"DEPRECATED: window.invokeString - use the window.handleOpenURL(url) function instead, which is always called when the app is launched through a custom scheme url.");
+ NSString* jsString = [NSString stringWithFormat:@"var invokeString = \"%@\";", self.invokeString];
+ [theWebView stringByEvaluatingJavaScriptFromString:jsString];
+ }
+
+ // Black base color for background matches the native apps
+ theWebView.backgroundColor = [UIColor blackColor];
+
+ return [super webViewDidFinishLoad:theWebView];
+}
+
+/* Comment out the block below to over-ride */
+/*
+
+- (void) webViewDidStartLoad:(UIWebView*)theWebView
+{
+ return [super webViewDidStartLoad:theWebView];
+}
+
+- (void) webView:(UIWebView*)theWebView didFailLoadWithError:(NSError*)error
+{
+ return [super webView:theWebView didFailLoadWithError:error];
+}
+
+- (BOOL) webView:(UIWebView*)theWebView shouldStartLoadWithRequest:(NSURLRequest*)request navigationType:(UIWebViewNavigationType)navigationType
+{
+ return [super webView:theWebView shouldStartLoadWithRequest:request navigationType:navigationType];
+}
+*/
+
+@end
View
138 kitchensink-cordova/ios/KitchensinkCordova/Classes/MainViewController.xib
@@ -0,0 +1,138 @@
+<?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.
+#
+-->
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
+ <data>
+ <int key="IBDocument.SystemTarget">1280</int>
+ <string key="IBDocument.SystemVersion">11C25</string>
+ <string key="IBDocument.InterfaceBuilderVersion">1919</string>
+ <string key="IBDocument.AppKitVersion">1138.11</string>
+ <string key="IBDocument.HIToolboxVersion">566.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">916</string>
+ </object>
+ <array key="IBDocument.IntegratedClassDependencies">
+ <string>IBProxyObject</string>
+ <string>IBUIView</string>
+ </array>
+ <array key="IBDocument.PluginDependencies">
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </array>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
+ <integer value="1" key="NS.object.0"/>
+ </object>
+ <array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+ <object class="IBProxyObject" id="372490531">
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBProxyObject" id="975951072">
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUIView" id="191373211">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">274</int>
+ <string key="NSFrame">{{0, 20}, {320, 460}}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MQA</bytes>
+ <object class="NSColorSpace" key="NSCustomColorSpace">
+ <int key="NSID">2</int>
+ </object>
+ </object>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ </array>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <array class="NSMutableArray" key="connectionRecords">
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">view</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="191373211"/>
+ </object>
+ <int key="connectionID">3</int>
+ </object>
+ </array>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <array key="orderedObjects">
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <array key="object" id="0"/>
+ <reference key="children" ref="1000"/>
+ <nil key="parent"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">1</int>
+ <reference key="object" ref="191373211"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-1</int>
+ <reference key="object" ref="372490531"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">File's Owner</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-2</int>
+ <reference key="object" ref="975951072"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ </array>
+ </object>
+ <dictionary class="NSMutableDictionary" key="flattenedProperties">
+ <string key="-1.CustomClassName">MainViewController</string>
+ <string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="-2.CustomClassName">UIResponder</string>
+ <string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </dictionary>
+ <dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
+ <nil key="activeLocalization"/>
+ <dictionary class="NSMutableDictionary" key="localizations"/>
+ <nil key="sourceID"/>
+ <int key="maxID">3</int>
+ </object>
+ <object class="IBClassDescriber" key="IBDocument.Classes">
+ <array class="NSMutableArray" key="referencedPartialClassDescriptions">
+ <object class="IBPartialClassDescription">
+ <string key="className">MainViewController</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">./Classes/MainViewController.h</string>
+ </object>
+ </object>
+ </array>
+ </object>
+ <int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <string key="IBCocoaTouchPluginVersion">916</string>
+ </data>
+</archive>
View
65 kitchensink-cordova/ios/KitchensinkCordova/Cordova.plist
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>UIWebViewBounce</key>
+ <true/>
+ <key>TopActivityIndicator</key>
+ <string>gray</string>
+ <key>EnableLocation</key>
+ <false/>
+ <key>EnableViewportScale</key>
+ <false/>
+ <key>AutoHideSplashScreen</key>
+ <true/>
+ <key>ShowSplashScreenSpinner</key>
+ <true/>
+ <key>MediaPlaybackRequiresUserAction</key>
+ <false/>
+ <key>AllowInlineMediaPlayback</key>
+ <false/>
+ <key>OpenAllWhitelistURLsInWebView</key>
+ <false/>
+ <key>BackupWebStorage</key>
+ <true/>
+ <key>ExternalHosts</key>
+ <array>
+ <string>html5-aerogear.rhcloud.com</string>
+ </array>
+ <key>Plugins</key>
+ <dict>
+ <key>Device</key>
+ <string>CDVDevice</string>
+ <key>Logger</key>
+ <string>CDVLogger</string>
+ <key>Compass</key>
+ <string>CDVLocation</string>
+ <key>Accelerometer</key>
+ <string>CDVAccelerometer</string>
+ <key>Camera</key>
+ <string>CDVCamera</string>
+ <key>NetworkStatus</key>
+ <string>CDVConnection</string>
+ <key>Contacts</key>
+ <string>CDVContacts</string>
+ <key>Debug Console</key>
+ <string>CDVDebugConsole</string>
+ <key>File</key>
+ <string>CDVFile</string>
+ <key>FileTransfer</key>
+ <string>CDVFileTransfer</string>
+ <key>Geolocation</key>
+ <string>CDVLocation</string>
+ <key>Notification</key>
+ <string>CDVNotification</string>
+ <key>Media</key>
+ <string>CDVSound</string>
+ <key>Capture</key>
+ <string>CDVCapture</string>
+ <key>SplashScreen</key>
+ <string>CDVSplashScreen</string>
+ <key>Battery</key>
+ <string>CDVBattery</string>
+ </dict>
+</dict>
+</plist>
View
26 kitchensink-cordova/ios/KitchensinkCordova/CordovaBuildSettings.xcconfig
@@ -0,0 +1,26 @@
+//
+// 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.
+//
+
+// Cordova.xcconfig
+// __TESTING__
+//
+
+// Override this to use your project specific CORDOVALIB.
+// You can base it off the current project path, $(PROJECT_DIR)
+CORDOVALIB = $(CORDOVALIB)
View
78 kitchensink-cordova/ios/KitchensinkCordova/KitchensinkCordova-Info.plist
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleDisplayName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string>ios-57.png</string>
+ <key>CFBundleIconFiles</key>
+ <array>
+ <string>ios-57.png</string>
+ <string>ios-114.png</string>
+ <string>ios-72.png</string>
+ <string>icon-72@2x.png</string>
+ <string>ios-144.png</string>
+ <string>Default.png</string>
+ <string>Default@2x.png</string>
+ <string>Default-Portrait~ipad.png</string>
+ <string>Default-Portrait@2x~ipad.png</string>
+ <string>Default-Landscape~ipad.png</string>
+ </array>
+ <key>CFBundleIcons</key>
+ <dict>
+ <key>CFBundlePrimaryIcon</key>
+ <dict>
+ <key>CFBundleIconFiles</key>
+ <array>
+ <string>ios-57.png</string>
+ <string>ios-114.png</string>
+ <string>ios-72.png</string>
+ <string>icon-72@2x.png</string>
+ <string>ios-144.png</string>
+ <string>Default.png</string>
+ <string>Default@2x.png</string>
+ <string>Default-Portrait~ipad.png</string>
+ <string>Default-Portrait@2x~ipad.png</string>
+ <string>Default-Landscape~ipad.png</string>
+ </array>
+ </dict>
+ </dict>
+ <key>CFBundleIdentifier</key>
+ <string>org.jboss.as.quickstarts.kitchensinkcordova.KitchensinkCordova</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>NSMainNibFile</key>
+ <string></string>
+ <key>NSMainNibFile~ipad</key>
+ <string></string>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+ <key>UISupportedInterfaceOrientations~ipad</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
View
26 kitchensink-cordova/ios/KitchensinkCordova/KitchensinkCordova-Prefix.pch
@@ -0,0 +1,26 @@
+/*
+ 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.
+ */
+//
+// Prefix header for all source files of the 'KitchensinkCordova' target in the 'KitchensinkCordova' project
+//
+
+#ifdef __OBJC__
+ #import <Foundation/Foundation.h>
+ #import <UIKit/UIKit.h>
+#endif
View
20 kitchensink-cordova/ios/KitchensinkCordova/Plugins/README
@@ -0,0 +1,20 @@
+#
+# 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.
+#
+
+Put the .h and .m files of your plugin here. The .js files of your plugin belong in the www folder.
View
BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/controls_bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/controls_bg@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/controls_bg@2x~ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/controls_bg~ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/microphone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/microphone@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/microphone@2x~ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/microphone~ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/record_button.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  kitchensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/record_button@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  ...hensink-cordova/ios/KitchensinkCordova/Resources/Capture.bundle/record_button@2x~ipad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  kitchensink-cordova/ios/Kitchensi