mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-02 06:20:14 +01:00
f4dc8a6b41
email and launches Crosswords when the attachment is opened. Shouldn't, or at least shouldn't launch ONLY Crosswords, as the mime type's not in the filter, but it does.
205 lines
8 KiB
XML
205 lines
8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- -*- compile-command: "ant install"; -*- -->
|
|
<!-- Copyright (C) 2007 The Android Open Source Project
|
|
|
|
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.
|
|
-->
|
|
|
|
<!-- Declare the contents of this Android application. The namespace
|
|
attribute brings in the Android platform namespace, and the package
|
|
supplies a unique name for the application. When writing your
|
|
own application, the package name must be changed from "com.example.*"
|
|
to come from a domain that you own or have control over. -->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="org.eehouse.android.xw4"
|
|
android:versionCode="48"
|
|
android:versionName="@string/app_version"
|
|
>
|
|
|
|
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="7" />
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
|
<uses-permission android:name="android.permission.RECEIVE_SMS" />
|
|
<uses-permission android:name="android.permission.SEND_SMS" />
|
|
<uses-permission android:name="android.permission.READ_SMS" />
|
|
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
|
|
|
<!-- GCM stuff -->
|
|
<permission android:name="org.eehouse.android.xw4.permission.C2D_MESSAGE"
|
|
android:protectionLevel="signature" />
|
|
<uses-permission android:name="org.eehouse.android.xw4.permission.C2D_MESSAGE" />
|
|
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
|
|
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
|
|
<application android:icon="@drawable/icon48x48"
|
|
android:label="@string/app_name"
|
|
android:name=".XWApp"
|
|
>
|
|
|
|
<activity android:name="GamesList"
|
|
android:label="@string/app_name"
|
|
android:launchMode="standard"
|
|
android:configChanges="keyboardHidden|orientation"
|
|
>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity android:name="DictsActivity"
|
|
android:label="@string/title_dicts_list"
|
|
android:configChanges="keyboardHidden|orientation"
|
|
/>
|
|
|
|
<activity android:name="NewGameActivity"
|
|
android:theme="@android:style/Theme.NoTitleBar"
|
|
android:configChanges="keyboardHidden|orientation"
|
|
/>
|
|
<activity android:name="SMSInviteActivity"
|
|
android:theme="@android:style/Theme.Dialog"
|
|
android:configChanges="keyboardHidden|orientation"
|
|
android:screenOrientation="portrait"
|
|
/>
|
|
|
|
<activity android:name="GameConfig"
|
|
android:screenOrientation="sensor"
|
|
android:configChanges="keyboardHidden|orientation"
|
|
>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.EDIT" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity android:name="PrefsActivity"
|
|
android:label="@string/title_prefs"
|
|
android:screenOrientation="sensor"
|
|
android:configChanges="keyboardHidden|orientation"
|
|
/>
|
|
|
|
<activity android:name="BoardActivity"
|
|
android:theme="@android:style/Theme.Light"
|
|
android:screenOrientation="portrait"
|
|
android:configChanges="keyboardHidden"
|
|
/>
|
|
|
|
<activity android:name="LookupActivity"
|
|
android:configChanges="keyboardHidden|orientation"
|
|
android:theme="@android:style/Theme.Dialog"
|
|
/>
|
|
|
|
<receiver android:name="RelayReceiver">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.BOOT_COMPLETED"/>
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<receiver android:name="UpdateCheckReceiver">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.BOOT_COMPLETED"/>
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<activity android:name="DispatchNotify">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
<data android:scheme="newxwgame"/>
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data android:scheme="http"
|
|
android:host="@string/invite_host"
|
|
android:pathPrefix="@string/invite_prefix"
|
|
/>
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
<data android:mimeType="*/*"
|
|
android:scheme="content"
|
|
/>
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<!-- downloading dicts -->
|
|
<activity android:name=".DictImportActivity"
|
|
android:label="@string/app_name"
|
|
android:theme="@android:style/Theme.Dialog">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW"></action>
|
|
<category android:name="android.intent.category.DEFAULT"></category>
|
|
<category android:name="android.intent.category.BROWSABLE"></category>
|
|
<data android:scheme="file" android:host="*"
|
|
android:pathPattern=".*\\.xwd" />
|
|
<data android:scheme="http"
|
|
android:mimeType="application/x-xwordsdict"
|
|
android:host="*"
|
|
android:pathPattern=".*\\.xwd" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity android:name="RelayGameActivity"/>
|
|
<activity android:name="DictBrowseActivity"
|
|
android:configChanges="keyboardHidden|orientation"
|
|
/>
|
|
<activity android:name="ChatActivity"
|
|
android:configChanges="keyboardHidden|orientation"
|
|
/>
|
|
|
|
<service android:name="RelayService"/>
|
|
|
|
<receiver android:name=".MountEventReceiver">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MEDIA_MOUNTED" />
|
|
<data android:scheme="file" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MEDIA_EJECT" />
|
|
<data android:scheme="file" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<receiver android:name="SMSReceiver" >
|
|
<intent-filter android:priority="999" >
|
|
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<service android:name="SMSService"/>
|
|
|
|
<receiver android:name="com.google.android.gcm.GCMBroadcastReceiver"
|
|
android:permission="com.google.android.c2dm.permission.SEND" >
|
|
<intent-filter>
|
|
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
|
|
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
|
|
<category android:name="org.eehouse.android.xw4" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<service android:name=".GCMIntentService" />
|
|
|
|
</application>
|
|
</manifest>
|