A link connects with its nickname, passwords, channel (path or cid) and privilege key, the key used once on; addbookmark saves it as a bookmark. A link to a server we are on already goes to its channel instead. Android takes the links from browsers and other apps through an intent filter, and from chat. The desktop opens them from chat and descriptions, and its launcher entry claims the scheme when run from the jar; a second launch hands its link to the running instance over a Unix socket in the user's runtime directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
55 lines
2.3 KiB
XML
55 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE" />
|
|
|
|
<!-- Speech sound packs talk through the phone's text-to-speech engine. -->
|
|
<queries>
|
|
<intent>
|
|
<action android:name="android.intent.action.TTS_SERVICE" />
|
|
</intent>
|
|
</queries>
|
|
|
|
<application
|
|
android:name=".Ts3Application"
|
|
android:label="@string/app_name"
|
|
android:theme="@android:style/Theme.Material.NoActionBar">
|
|
|
|
<activity
|
|
android:name=".MainActivity"
|
|
android:exported="true"
|
|
android:launchMode="singleTop"
|
|
android:windowSoftInputMode="adjustResize">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
<!-- TeamSpeak server links from browsers and other apps connect. -->
|
|
<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="ts3server" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<service
|
|
android:name=".ConnectionService"
|
|
android:exported="false"
|
|
android:foregroundServiceType="mediaPlayback|microphone" />
|
|
|
|
<receiver
|
|
android:name=".ReplyReceiver"
|
|
android:exported="false" />
|
|
</application>
|
|
</manifest>
|