2015-07-26 02:23:21 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
package="com.termux.api"
|
2015-11-28 11:56:37 +01:00
|
|
|
android:sharedUserId="com.termux">
|
2015-07-26 02:23:21 +02:00
|
|
|
|
|
|
|
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
|
|
|
|
|
|
|
|
<uses-permission android:name="android.permission.READ_SMS" />
|
|
|
|
<uses-permission android:name="android.permission.SEND_SMS" />
|
|
|
|
<!-- Resolve phone numbers to contact names: -->
|
|
|
|
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
|
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
|
|
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
|
|
|
|
|
|
|
<!-- Some of the used permissions imply uses-feature, so we need to make it optional.
|
|
|
|
See http://developer.android.com/guide/topics/manifest/uses-feature-element.html#permissions -->
|
|
|
|
<uses-feature android:name="android.hardware.camera" android:required="false" />
|
|
|
|
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
|
|
|
|
<uses-feature android:name="android.hardware.location" android:required="false" />
|
|
|
|
<uses-feature android:name="android.hardware.location.gps" android:required="false" />
|
|
|
|
<uses-feature android:name="android.hardware.microphone" android:required="false" />
|
|
|
|
<uses-feature android:name="android.hardware.telephony" android:required="false" />
|
|
|
|
|
2015-08-01 02:26:19 +02:00
|
|
|
<!-- This permission is not used, but a permission is needed on the sharedfiles contentprovider,
|
|
|
|
which will always use FLAG_GRANT_READ_URI_PERMISSION. -->
|
|
|
|
<permission android:name="com.termux.sharedfiles.READ" android:protectionLevel="signature" />
|
|
|
|
|
2015-07-26 02:23:21 +02:00
|
|
|
<application
|
|
|
|
android:allowBackup="true"
|
|
|
|
android:icon="@drawable/ic_launcher"
|
|
|
|
android:label="@string/app_name"
|
2015-08-01 02:31:21 +02:00
|
|
|
android:supportsRtl="true"
|
2015-07-26 02:23:21 +02:00
|
|
|
android:theme="@android:style/Theme.Material.Light" >
|
|
|
|
<receiver android:name="com.termux.api.TermuxApiReceiver"/>
|
|
|
|
<activity android:name="com.termux.api.DialogActivity" android:theme="@android:style/Theme.Material.Light.Dialog.Alert" android:noHistory="true" android:excludeFromRecents="true" android:exported="false"/>
|
|
|
|
<service android:name="com.termux.api.SpeechToTextAPI$SpeechToTextService"/>
|
|
|
|
<service android:name="com.termux.api.TextToSpeechAPI$TextToSpeechService" />
|
2015-07-29 04:19:45 +02:00
|
|
|
<provider android:authorities="com.termux.sharedfiles"
|
2015-08-01 02:26:19 +02:00
|
|
|
android:readPermission="com.termux.sharedfiles.READ"
|
2015-07-29 04:19:45 +02:00
|
|
|
android:exported="true"
|
|
|
|
android:grantUriPermissions="true"
|
|
|
|
android:name="com.termux.api.ShareAPI$ContentProvider" />
|
2015-07-26 02:23:21 +02:00
|
|
|
</application>
|
|
|
|
|
2015-07-26 02:26:33 +02:00
|
|
|
</manifest>
|