mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
b895a0c335
- Found stale cordova.js in the test project. Changed ant script to copy in a fresh one in the pre-build stage. Removed stale copies from git, added to .gitignore. This is what was causing the test failure when sending javascript to the webview. - Found almost-stale copy of device plugin, did the same as above. - Fixed spacing in log messages in CordovaWebView. - Updated README.md with current information. - Removed dollar signs that were previously accidently appended to the license. - Added cordova version to html pages, next to the other metadata. - Fix incorrect separator in the viewport meta tag. - Changed old-style <log> tag to <preference name="loglevel"> in config.xml. - In BackButtonMultiPageTest, increased the TIMEOUT so the deviceready event can trigger the referenced javascript, improved the setup() method to explicitly load the starting point.
260 lines
12 KiB
XML
Executable File
260 lines
12 KiB
XML
Executable File
<?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.
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:windowSoftInputMode="adjustPan"
|
|
package="org.apache.cordova.test" android:versionName="1.0" android:versionCode="1">
|
|
<supports-screens
|
|
android:largeScreens="true"
|
|
android:normalScreens="true"
|
|
android:smallScreens="true"
|
|
android:xlargeScreens="true"
|
|
android:resizeable="true"
|
|
android:anyDensity="true"
|
|
/>
|
|
|
|
<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.READ_PHONE_STATE" />
|
|
<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="8" />
|
|
|
|
<instrumentation
|
|
android:name="android.test.InstrumentationTestRunner"
|
|
android:targetPackage="org.apache.cordova.test" />
|
|
|
|
<application
|
|
android:icon="@drawable/icon"
|
|
android:label="@string/app_name" >
|
|
<uses-library android:name="android.test.runner" />
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.CordovaWebViewTestActivity" >
|
|
<intent-filter >
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.background" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.backgroundcolor" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.basicauth" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.CordovaActivity" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.CordovaDriverAction" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.errorurl" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.fullscreen" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.htmlnotfound" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.iframe" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.lifecycle" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.loading" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.menus" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.splashscreen" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.tests" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.timeout" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.userwebview" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.whitelist" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.xhr" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:name="org.apache.cordova.test.backbuttonmultipage" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.SAMPLE_CODE" />
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
</manifest>
|