mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
0bbcf5cfd2
A solution was needed to notify the audio player to pause when a phone call comes in. The option was to add a specific onPhone() method or generalize it. Since there are other "events" that are useful to plugins, a generalized solution was used. It is also extensible without changing the plugin API again. Any plugin can call DroidGap.onMessage() to send a message/event to all other plugins. NetworkManager was updated to send changes in connection status to plugins, so they can intelligently handle lost connections.
51 lines
2.6 KiB
XML
Executable File
51 lines
2.6 KiB
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:windowSoftInputMode="adjustPan"
|
|
package="com.phonegap" android:versionName="1.1" android:versionCode="5">
|
|
<supports-screens
|
|
android:largeScreens="true"
|
|
android:normalScreens="true"
|
|
android:smallScreens="true"
|
|
android:resizeable="true"
|
|
android:anyDensity="true"
|
|
/>
|
|
<!-- android:xlargeScreens="true" screen supported only after Android-9 -->
|
|
|
|
<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-feature android:name="android.hardware.camera" />
|
|
<uses-feature android:name="android.hardware.camera.autofocus" />
|
|
|
|
<application android:icon="@drawable/icon" android:label="@string/app_name"
|
|
android:debuggable="true">
|
|
<activity android:name=".StandAlone" android:windowSoftInputMode="adjustPan"
|
|
android:label="@string/app_name" android:configChanges="orientation|keyboardHidden">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name="com.phonegap.DroidGap" android:label="@string/app_name"
|
|
android:configChanges="orientation|keyboardHidden">
|
|
<intent-filter>
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
|
|
<uses-sdk android:minSdkVersion="2" />
|
|
</manifest>
|