<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="tk.tcl.wish"
          android:installLocation="auto"
          android:versionCode="1"
          android:versionName="1.0">
  <application android:label="@string/app_name"
               android:icon="@drawable/androwish"
               android:allowBackup="true"
               android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
               android:hardwareAccelerated="true">
    <activity android:name="tk.tcl.wish.AndroWishLauncher"
              android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mnc|mcc|locale|fontScale|uiMode|touchscreen|navigation|screenLayout|smallestScreenSize"
              android:exported="true"
              android:label="@string/app_name">
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
      <intent-filter>
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.BROWSABLE" />
        <category android:name="android.intent.category.DEFAULT" />
        <data android:scheme="file"
              android:host="*"
              android:pathPattern=".*" />
      </intent-filter>
      <intent-filter>
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.BROWSABLE" />
        <category android:name="android.intent.category.DEFAULT" />
        <data android:scheme="file"
              android:host="*"
              android:pathPattern=".*" />
        <data android:mimeType="text/plain" />
        <data android:mimeType="text/*" />
        <data android:mimeType="application/x-tcl" />
      </intent-filter>
      <intent-filter>
        <action android:name="android.intent.action.SEND" />
        <category android:name="android.intent.category.BROWSABLE" />
        <category android:name="android.intent.category.DEFAULT" />
        <data android:mimeType="text/plain" />
        <data android:mimeType="text/*" />
        <data android:mimeType="application/x-tcl" />
      </intent-filter>
      <intent-filter>
	<action android:name="android.intent.action.VIEW" />
	<category android:name="android.intent.category.BROWSABLE" />
	<category android:name="android.intent.category.DEFAULT" />
	<data android:scheme="androwish"
              android:host="*"
	      android:pathPrefix="" />
      </intent-filter>
    </activity>
    <activity android:name="tk.tcl.wish.AndroWish"
              android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mnc|mcc|locale|fontScale|uiMode|touchscreen|navigation|screenLayout|smallestScreenSize"
              android:icon="@drawable/androwish"
              android:label="@string/app_name"
              android:process=":CONSOLE">
    </activity>
    <activity android:name="tk.tcl.wish.AndroWishScript0"
              android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mnc|mcc|locale|fontScale|uiMode|touchscreen|navigation|screenLayout|smallestScreenSize"
              android:label="@string/app_name"
              android:process=":S0">
    </activity>
    <activity android:name="tk.tcl.wish.AndroWishScript1"
              android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mnc|mcc|locale|fontScale|uiMode|touchscreen|navigation|screenLayout|smallestScreenSize"
              android:label="@string/app_name"
              android:process=":S1">
    </activity>
    <activity android:name="tk.tcl.wish.AndroWishScript2"
              android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mnc|mcc|locale|fontScale|uiMode|touchscreen|navigation|screenLayout|smallestScreenSize"
              android:label="@string/app_name"
              android:process=":S2">
    </activity>
    <activity android:name="tk.tcl.wish.AndroWishScript3"
              android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mnc|mcc|locale|fontScale|uiMode|touchscreen|navigation|screenLayout|smallestScreenSize"
              android:label="@string/app_name"
              android:process=":S3">
    </activity>
  </application>

  <!-- Android 2.3.3 -->
  <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="14" />

  <!-- OpenGL ES 2.0 -->
  <uses-feature android:glEsVersion="0x00020000" />

  <!-- USB support -->
  <uses-feature android:name="android.hardware.usb.host" />

  <!-- Don't require touchscreen -->
  <uses-feature android:name="android.hardware.touchscreen" required="false" />

  <!-- Don't require NFC -->
  <uses-feature android:name="android.hardware.nfc" required="false" />

  <!-- Don't require gamepad -->
  <uses-feature android:name="android.hardware.gamepad" required="false" />

  <!-- Don't require external mouse -->
  <uses-feature android:name="android.hardware.type.pc" required="false" />

  <!-- Disable screen compatibility modes -->
  <supports-screens android:smallScreens="true"
                    android:normalScreens="true"
                    android:largeScreens="true"
                    android:xlargeScreens="true" />

  <!-- Permissions: allow writing to external storage etc. -->
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  <uses-permission android:name="android.permission.INTERNET" />
  <uses-permission android:name="android.permission.VIBRATE" />
  <uses-permission android:name="android.permission.BLUETOOTH" />
  <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  <uses-permission android:name="android.permission.READ_CALENDAR" />
  <uses-permission android:name="android.permission.READ_CALL_LOG" />
  <uses-permission android:name="android.permission.READ_CONTACTS" />
  <uses-permission android:name="android.permission.READ_SMS" />
  <uses-permission android:name="android.permission.RECORD_AUDIO" />
  <uses-permission android:name="android.permission.WAKE_LOCK" />
  <uses-permission android:name="android.permission.WRITE_CALENDAR" />
  <uses-permission android:name="android.permission.WRITE_CONTACTS" />
  <uses-permission android:name="android.permission.WRITE_SETTINGS" />
  <uses-permission android:name="android.permission.WRITE_SMS" />
  <uses-permission android:name="android.permission.CAMERA" />
  <!-- Uncomment this for "borg phoneinfo" and "<<Phone*>>" virtual events
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
  -->
  <!-- Uncomment this for "borg sendsms ..."
    <uses-permission android:name="android.permission.SEND_SMS" />
  -->
  <!-- Uncomment this for "borg broadcast register android.provider.telephony.SMS_RECEIVED ..."
    <uses-permission android:name="android.permission.RECEIVE_SMS" />
  -->
  <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
  <uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />
  <uses-permission android:name="android.permission.NFC" />
</manifest>
