2010-01-02 19:30:20 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2011-03-04 07:13:00 -08:00
|
|
|
<!-- -*- compile-command: "ant install"; -*- -->
|
2010-01-02 19:30:20 +00:00
|
|
|
<!-- 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"
|
2014-04-17 08:27:42 -07:00
|
|
|
android:versionCode="76"
|
2011-04-25 20:46:23 -07:00
|
|
|
android:versionName="@string/app_version"
|
2010-01-02 19:30:20 +00:00
|
|
|
>
|
2010-06-06 09:04:08 -07:00
|
|
|
|
2013-07-08 07:13:04 -07:00
|
|
|
<!-- BE SURE TO MODIFY project.project AND the variable TARGET in
|
|
|
|
../scripts/setup_local_props.sh if targetSdkVersion changes!!!
|
|
|
|
-->
|
2013-11-11 21:36:19 -08:00
|
|
|
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="14" />
|
2012-11-05 06:55:54 -08:00
|
|
|
|
2013-06-25 20:03:03 -07:00
|
|
|
<supports-screens android:resizeable="true"
|
|
|
|
android:smallScreens="true"
|
|
|
|
android:normalScreens="true"
|
|
|
|
android:largeScreens="true"
|
|
|
|
android:xlargeScreens="true"
|
|
|
|
/>
|
2012-11-05 06:55:54 -08:00
|
|
|
|
2010-01-25 02:20:32 +00:00
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
2011-01-06 08:08:36 -08:00
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
2010-01-25 02:20:32 +00:00
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
2011-02-23 07:39:14 -08:00
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
2012-10-15 08:29:46 -07:00
|
|
|
<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" />
|
2012-01-18 18:30:53 -08:00
|
|
|
|
2013-06-27 07:58:02 -07:00
|
|
|
<uses-feature android:name="android.hardware.telephony"
|
2013-06-25 20:03:03 -07:00
|
|
|
android:required = "false"
|
|
|
|
/>
|
2013-11-25 05:52:09 -08:00
|
|
|
<uses-feature android:name="android.hardware.nfc" android:required="false" />
|
2013-06-25 20:03:03 -07:00
|
|
|
|
2012-11-02 05:35:31 -07:00
|
|
|
<!-- 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" />
|
2013-11-11 21:36:19 -08:00
|
|
|
<uses-permission android:name="android.permission.NFC" />
|
2010-05-12 11:47:22 +00:00
|
|
|
|
2010-01-02 19:30:20 +00:00
|
|
|
<application android:icon="@drawable/icon48x48"
|
|
|
|
android:label="@string/app_name"
|
2011-02-28 20:07:07 -08:00
|
|
|
android:name=".XWApp"
|
2010-01-02 19:30:20 +00:00
|
|
|
>
|
|
|
|
|
2014-03-24 21:10:02 -07:00
|
|
|
<activity android:name="GamesListActivity"
|
2012-02-27 19:38:27 -08:00
|
|
|
android:label="@string/app_name"
|
2011-12-16 19:02:20 -08:00
|
|
|
android:launchMode="standard"
|
2013-11-21 07:34:38 -08:00
|
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
2010-10-08 17:33:44 -07:00
|
|
|
>
|
2010-01-02 19:30:20 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
</intent-filter>
|
2013-11-11 21:36:19 -08:00
|
|
|
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
2013-11-13 06:51:36 -08:00
|
|
|
<data android:mimeType="@string/xwords_nfc_mime" />
|
2013-11-11 21:36:19 -08:00
|
|
|
</intent-filter>
|
|
|
|
|
2010-01-02 19:30:20 +00:00
|
|
|
</activity>
|
2010-03-14 05:01:55 +00:00
|
|
|
|
|
|
|
<activity android:name="DictsActivity"
|
|
|
|
android:label="@string/title_dicts_list"
|
2013-11-21 07:34:38 -08:00
|
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
2011-08-06 23:03:11 -07:00
|
|
|
/>
|
|
|
|
|
2011-05-06 06:52:10 -07:00
|
|
|
<activity android:name="NewGameActivity"
|
2011-06-10 22:51:54 -07:00
|
|
|
android:theme="@android:style/Theme.NoTitleBar"
|
2013-11-21 07:34:38 -08:00
|
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
2011-05-06 06:52:10 -07:00
|
|
|
/>
|
2012-10-15 08:29:46 -07:00
|
|
|
<activity android:name="SMSInviteActivity"
|
|
|
|
android:theme="@android:style/Theme.Dialog"
|
2013-11-21 07:34:38 -08:00
|
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
2012-10-15 08:29:46 -07:00
|
|
|
android:screenOrientation="portrait"
|
|
|
|
/>
|
2011-05-06 06:52:10 -07:00
|
|
|
|
2014-04-16 06:44:38 -07:00
|
|
|
<activity android:name="GameConfigActivity"
|
2010-01-02 19:30:20 +00:00
|
|
|
android:screenOrientation="sensor"
|
2013-11-21 07:34:38 -08:00
|
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
2010-01-02 19:30:20 +00:00
|
|
|
>
|
2011-09-15 18:05:45 -07:00
|
|
|
<intent-filter>
|
2010-01-02 19:30:20 +00:00
|
|
|
<action android:name="android.intent.action.EDIT" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
2010-01-26 14:38:31 +00:00
|
|
|
<activity android:name="PrefsActivity"
|
2010-04-25 03:37:52 +00:00
|
|
|
android:label="@string/title_prefs"
|
2010-01-26 14:38:31 +00:00
|
|
|
android:screenOrientation="sensor"
|
2013-11-21 07:34:38 -08:00
|
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
2012-07-23 22:36:50 -07:00
|
|
|
/>
|
2010-01-26 14:38:31 +00:00
|
|
|
|
2010-01-02 19:30:20 +00:00
|
|
|
<activity android:name="BoardActivity"
|
2011-03-11 19:07:05 -08:00
|
|
|
android:screenOrientation="portrait"
|
2011-03-14 18:32:36 -07:00
|
|
|
android:configChanges="keyboardHidden"
|
2012-07-23 22:36:50 -07:00
|
|
|
/>
|
2010-01-10 17:20:18 +00:00
|
|
|
|
2014-03-25 06:31:59 -07:00
|
|
|
<activity android:name="StudyListActivity"
|
2014-01-28 06:50:27 -08:00
|
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
|
|
/>
|
|
|
|
|
2011-02-23 07:39:14 -08:00
|
|
|
<receiver android:name="RelayReceiver">
|
|
|
|
<intent-filter>
|
2011-02-28 18:36:47 -08:00
|
|
|
<action android:name="android.intent.action.BOOT_COMPLETED"/>
|
2012-08-16 07:43:57 -07:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
|
|
|
<receiver android:name="UpdateCheckReceiver">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.BOOT_COMPLETED"/>
|
2011-02-23 07:39:14 -08:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
2010-08-19 08:45:18 -07:00
|
|
|
|
2012-11-26 05:41:42 -08:00
|
|
|
<activity android:name="DispatchNotify">
|
2011-07-13 18:42:03 -07:00
|
|
|
<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>
|
2012-11-26 05:41:42 -08:00
|
|
|
|
|
|
|
<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"
|
2012-11-28 06:30:35 -08:00
|
|
|
android:host="@string/invite_host"
|
|
|
|
android:pathPrefix="@string/invite_prefix"
|
|
|
|
/>
|
2012-11-26 05:41:42 -08:00
|
|
|
</intent-filter>
|
2012-11-29 08:19:07 -08:00
|
|
|
|
2012-12-03 23:10:31 -08:00
|
|
|
<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="@string/invite_mime" />
|
|
|
|
</intent-filter>
|
2011-07-13 18:42:03 -07:00
|
|
|
</activity>
|
2010-10-12 18:28:05 -07:00
|
|
|
|
2010-03-13 23:10:58 +00:00
|
|
|
<!-- 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>
|
2010-09-20 19:38:26 -07:00
|
|
|
<data android:scheme="file" android:host="*"
|
|
|
|
android:pathPattern=".*\\.xwd" />
|
|
|
|
<data android:scheme="http"
|
|
|
|
android:mimeType="application/x-xwordsdict"
|
|
|
|
android:host="*"
|
|
|
|
android:pathPattern=".*\\.xwd" />
|
2010-03-13 23:10:58 +00:00
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
2010-11-04 19:48:46 -07:00
|
|
|
<activity android:name="RelayGameActivity"/>
|
2011-11-03 05:32:36 -07:00
|
|
|
<activity android:name="DictBrowseActivity"
|
2013-11-21 07:34:38 -08:00
|
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
2011-11-03 05:32:36 -07:00
|
|
|
/>
|
2011-11-04 07:11:34 -07:00
|
|
|
<activity android:name="ChatActivity"
|
2013-11-21 07:34:38 -08:00
|
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
2011-11-04 07:11:34 -07:00
|
|
|
/>
|
2014-04-05 10:27:05 -07:00
|
|
|
<activity android:name=".loc.LocActivity"
|
|
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
|
|
/>
|
2011-02-16 06:55:46 -08:00
|
|
|
|
2011-02-21 18:12:15 -08:00
|
|
|
<service android:name="RelayService"/>
|
|
|
|
|
2011-09-12 18:28:43 -07:00
|
|
|
<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>
|
|
|
|
|
2012-10-15 08:29:46 -07:00
|
|
|
<receiver android:name="SMSReceiver" >
|
|
|
|
<intent-filter android:priority="999" >
|
|
|
|
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
|
|
|
<service android:name="SMSService"/>
|
|
|
|
|
2012-11-02 05:35:31 -07:00
|
|
|
<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" />
|
|
|
|
|
2010-01-02 19:30:20 +00:00
|
|
|
</application>
|
|
|
|
</manifest>
|