cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject [1/4] android commit: Updating the project so that the activities are clearly separated from Test and Helper code
Date Fri, 02 Nov 2012 23:16:14 GMT
Updated Branches:
  refs/heads/master cf494f323 -> 69f11a29e


Updating the project so that the activities are clearly separated from Test and Helper code


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/69f11a29
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/69f11a29
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/69f11a29

Branch: refs/heads/master
Commit: 69f11a29e112a6dc462d547cd9df907a0a75559e
Parents: cf494f3
Author: Joe Bowser <bowserj@apache.org>
Authored: Fri Nov 2 16:15:51 2012 -0700
Committer: Joe Bowser <bowserj@apache.org>
Committed: Fri Nov 2 16:15:51 2012 -0700

----------------------------------------------------------------------
 test/AndroidManifest.xml                           |  190 +-
 test/assets/www/cordova.android.js                 | 6516 +++++++++++++++
 test/assets/www/index.html                         |   36 +-
 test/res/xml/config.xml                            |   56 +
 .../cordova/test/BackButtonMultiPageTest.java      |    1 +
 .../org/apache/cordova/test/CordovaActivity.java   |   33 -
 .../apache/cordova/test/CordovaActivityTest.java   |    1 +
 .../apache/cordova/test/CordovaDriverAction.java   |   78 -
 test/src/org/apache/cordova/test/CordovaTest.java  |    1 +
 .../cordova/test/CordovaWebViewTestActivity.java   |   95 -
 test/src/org/apache/cordova/test/ErrorUrlTest.java |    1 +
 .../src/org/apache/cordova/test/GapClientTest.java |    1 +
 .../org/apache/cordova/test/HtmlNotFoundTest.java  |    1 +
 test/src/org/apache/cordova/test/IFrameTest.java   |    2 +
 test/src/org/apache/cordova/test/JQMTabTest.java   |    2 +
 .../src/org/apache/cordova/test/LifecycleTest.java |    2 +
 .../org/apache/cordova/test/PluginManagerTest.java |    1 +
 .../org/apache/cordova/test/SplashscreenTest.java  |    1 +
 .../org/apache/cordova/test/UserWebViewTest.java   |    1 +
 test/src/org/apache/cordova/test/XhrTest.java      |    2 +
 .../cordova/test/actions/CordovaActivity.java      |   33 +
 .../cordova/test/actions/CordovaDriverAction.java  |   78 +
 .../test/actions/CordovaWebViewTestActivity.java   |   98 +
 .../cordova/test/actions/backbuttonmultipage.java  |   30 +
 .../apache/cordova/test/actions/background.java    |   33 +
 .../org/apache/cordova/test/actions/basicauth.java |   43 +
 .../org/apache/cordova/test/actions/errorurl.java  |   34 +
 .../apache/cordova/test/actions/fullscreen.java    |   39 +
 .../apache/cordova/test/actions/htmlnotfound.java  |   31 +
 .../org/apache/cordova/test/actions/iframe.java    |   30 +
 .../cordova/test/actions/jqmtabbackbutton.java     |   30 +
 .../org/apache/cordova/test/actions/lifecycle.java |   30 +
 .../org/apache/cordova/test/actions/loading.java   |   31 +
 .../src/org/apache/cordova/test/actions/menus.java |   80 +
 .../apache/cordova/test/actions/splashscreen.java  |   37 +
 .../src/org/apache/cordova/test/actions/tests.java |   32 +
 .../org/apache/cordova/test/actions/timeout.java   |   34 +
 .../apache/cordova/test/actions/userwebview.java   |   78 +
 .../org/apache/cordova/test/actions/whitelist.java |   51 +
 test/src/org/apache/cordova/test/actions/xhr.java  |   30 +
 .../apache/cordova/test/backbuttonmultipage.java   |   30 -
 test/src/org/apache/cordova/test/background.java   |   33 -
 test/src/org/apache/cordova/test/basicauth.java    |   43 -
 test/src/org/apache/cordova/test/errorurl.java     |   34 -
 test/src/org/apache/cordova/test/fullscreen.java   |   39 -
 test/src/org/apache/cordova/test/htmlnotfound.java |   31 -
 test/src/org/apache/cordova/test/iframe.java       |   30 -
 .../org/apache/cordova/test/jqmtabbackbutton.java  |   30 -
 test/src/org/apache/cordova/test/lifecycle.java    |   30 -
 test/src/org/apache/cordova/test/loading.java      |   31 -
 test/src/org/apache/cordova/test/menus.java        |   80 -
 test/src/org/apache/cordova/test/splashscreen.java |   35 -
 test/src/org/apache/cordova/test/tests.java        |   32 -
 test/src/org/apache/cordova/test/timeout.java      |   34 -
 test/src/org/apache/cordova/test/userwebview.java  |   78 -
 test/src/org/apache/cordova/test/whitelist.java    |   51 -
 test/src/org/apache/cordova/test/xhr.java          |   30 -
 57 files changed, 7635 insertions(+), 939 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/69f11a29/test/AndroidManifest.xml
----------------------------------------------------------------------
diff --git a/test/AndroidManifest.xml b/test/AndroidManifest.xml
index 06216ec..e35f6c6 100755
--- a/test/AndroidManifest.xml
+++ b/test/AndroidManifest.xml
@@ -59,24 +59,27 @@
             android:windowSoftInputMode="adjustPan"
             android:label="@string/app_name" 
             android:configChanges="orientation|keyboardHidden"
-            android:name=".CordovaWebViewTestActivity" >
+            android:name=".actions.CordovaWebViewTestActivity" >
             <intent-filter >
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
         </activity>
-        <activity android:name="tests" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
+        <activity
+            android:windowSoftInputMode="adjustPan"
+            android:label="@string/app_name" 
+            android:configChanges="orientation|keyboardHidden"
+            android:name=".actions.backbbuttonmultipage" >
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.SAMPLE_CODE" />
             </intent-filter>
-        </activity> 
+        </activity>
         <activity
             android:windowSoftInputMode="adjustPan"
             android:label="@string/app_name" 
             android:configChanges="orientation|keyboardHidden"
-            android:name=".JailActivity" >
+            android:name=".actions.background" >
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.SAMPLE_CODE" />
@@ -86,8 +89,8 @@
             android:windowSoftInputMode="adjustPan"
             android:label="@string/app_name" 
             android:configChanges="orientation|keyboardHidden"
-            android:name=".CordovaDriverAction" >
-            <intent-filter >
+            android:name=".actions.basicauth" >
+            <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.SAMPLE_CODE" />
             </intent-filter>
@@ -96,62 +99,161 @@
             android:windowSoftInputMode="adjustPan"
             android:label="@string/app_name" 
             android:configChanges="orientation|keyboardHidden"
-            android:name=".CordovaActivity" >
+            android:name=".actions.CordovaActivity" >
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.SAMPLE_CODE" />
             </intent-filter>
         </activity>
-        <activity android:name="splashscreen" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
-        </activity>
-        <activity android:name="timeout" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
-        </activity>
-        <activity android:name="htmlnotfound" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
+        <activity
+            android:windowSoftInputMode="adjustPan"
+            android:label="@string/app_name" 
+            android:configChanges="orientation|keyboardHidden"
+            android:name=".actions.CordovaDriverAction" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.SAMPLE_CODE" />
+            </intent-filter>
         </activity>
-        <activity android:name="errorurl" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
+        <activity
+            android:windowSoftInputMode="adjustPan"
+            android:label="@string/app_name" 
+            android:configChanges="orientation|keyboardHidden"
+            android:name=".actions.errorurl" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.SAMPLE_CODE" />
+            </intent-filter>
         </activity>
-        <activity android:name="userwebview" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
+        <activity
+            android:windowSoftInputMode="adjustPan"
+            android:label="@string/app_name" 
+            android:configChanges="orientation|keyboardHidden"
+            android:name=".actions.fullscreen" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.SAMPLE_CODE" />
+            </intent-filter>
         </activity>
-        <activity android:name="menus" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
+        <activity
+            android:windowSoftInputMode="adjustPan"
+            android:label="@string/app_name" 
+            android:configChanges="orientation|keyboardHidden"
+            android:name=".actions.htmlnotfound" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.SAMPLE_CODE" />
+            </intent-filter>
         </activity>
-        <activity android:name="loading" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
+        <activity
+            android:windowSoftInputMode="adjustPan"
+            android:label="@string/app_name" 
+            android:configChanges="orientation|keyboardHidden"
+            android:name=".actions.iframe" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.SAMPLE_CODE" />
+            </intent-filter>
         </activity>
-        <activity android:name="lifecycle" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
+        <activity
+            android:windowSoftInputMode="adjustPan"
+            android:label="@string/app_name" 
+            android:configChanges="orientation|keyboardHidden"
+            android:name=".actions.jqmtabbackbutton" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.SAMPLE_CODE" />
+            </intent-filter>
         </activity>
-        <activity android:name="jqmtabbackbutton" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
+        <activity
+            android:windowSoftInputMode="adjustPan"
+            android:label="@string/app_name" 
+            android:configChanges="orientation|keyboardHidden"
+            android:name=".actions.lifecycle" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.SAMPLE_CODE" />
+            </intent-filter>
         </activity>
-        <activity android:name="backbuttonmultipage" android:label="@string/app_name"

-                  android:configChanges="orientation|keyboardHidden">
+        <activity
+            android:windowSoftInputMode="adjustPan"
+            android:label="@string/app_name" 
+            android:configChanges="orientation|keyboardHidden"
+            android:name=".actions.loading" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.SAMPLE_CODE" />
+            </intent-filter>
         </activity>
-        <activity android:name="whitelist" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
+        <activity
+            android:windowSoftInputMode="adjustPan"
+            android:label="@string/app_name" 
+            android:configChanges="orientation|keyboardHidden"
+            android:name=".actions.menus" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.SAMPLE_CODE" />
+            </intent-filter>
         </activity>
-        <activity android:name="background" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
+        <activity
+            android:windowSoftInputMode="adjustPan"
+            android:label="@string/app_name" 
+            android:configChanges="orientation|keyboardHidden"
+            android:name=".actions.splashscreen" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.SAMPLE_CODE" />
+            </intent-filter>
         </activity>
-        <activity android:name="iframe" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
+        <activity
+            android:windowSoftInputMode="adjustPan"
+            android:label="@string/app_name" 
+            android:configChanges="orientation|keyboardHidden"
+            android:name=".actions.tests" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.SAMPLE_CODE" />
+            </intent-filter>
         </activity>
-        <activity android:name="xhr" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
+        <activity
+            android:windowSoftInputMode="adjustPan"
+            android:label="@string/app_name" 
+            android:configChanges="orientation|keyboardHidden"
+            android:name=".actions.timeout" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.SAMPLE_CODE" />
+            </intent-filter>
         </activity>
-        <activity android:name="basicauth" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
+        <activity
+            android:windowSoftInputMode="adjustPan"
+            android:label="@string/app_name" 
+            android:configChanges="orientation|keyboardHidden"
+            android:name=".actions.userwebview" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.SAMPLE_CODE" />
+            </intent-filter>
         </activity>
-        <activity android:name="fullscreen" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
+        <activity
+            android:windowSoftInputMode="adjustPan"
+            android:label="@string/app_name" 
+            android:configChanges="orientation|keyboardHidden"
+            android:name=".actions.whitelist" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.SAMPLE_CODE" />
+            </intent-filter>
         </activity>
-        <activity android:name="backgroundcolor" android:label="@string/app_name" 
-                  android:configChanges="orientation|keyboardHidden">
+        <activity
+            android:windowSoftInputMode="adjustPan"
+            android:label="@string/app_name" 
+            android:configChanges="orientation|keyboardHidden"
+            android:name=".actions.xhr" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.SAMPLE_CODE" />
+            </intent-filter>
         </activity>
         </application>
 </manifest> 


Mime
View raw message