view AndroidManifest.xml @ 54:a7e660661e08 tn5250

start tn5250 integration
author Carl Byington <carl@five-ten-sg.com>
date Wed, 11 Jun 2014 14:01:43 -0700
parents 7ac846a07ed4
children 4bccac50fd0b
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<!--
 ConnectBot: simple, powerful, open-source SSH client for Android
 Copyright 2007 Kenny Root, Jeffrey Sharkey

 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
	package="com.five_ten_sg.connectbot"
	android:versionName="1.8.0-1"
	android:versionCode="1"
	android:installLocation="auto">

	<uses-sdk android:targetSdkVersion="15" android:minSdkVersion="8" />

	<uses-permission android:name="android.permission.INTERNET" />
	<uses-permission android:name="android.permission.VIBRATE" />
	<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
	<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
	<uses-permission android:name="android.permission.WAKE_LOCK" />

	<permission
		android:name="org.openintents.ssh.permission.ACCESS_SSH_AGENT"
		android:protectionLevel="dangerous"
		android:permissionGroup="android.permission-group.PERSONAL_INFO"
		android:label="@string/ssh_agent_permission_label"
		android:description="@string/ssh_agent_permission_desc"
		android:icon="@drawable/pubkey">
	</permission>

	<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>

	<supports-screens />

	<application
        android:debuggable="true"
		android:icon="@drawable/icon"
		android:label="@string/app_name"
		android:description="@string/app_desc"
		android:allowBackup="false"
		android:backupAgent=".service.BackupAgent"
		android:killAfterRestore="true">

		<activity android:name=".HostListActivity" >
			<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.CREATE_SHORTCUT" />
				<category android:name="android.intent.category.DEFAULT" />
			</intent-filter>
			<intent-filter>
				<action android:name="android.intent.action.PICK" />
				<category android:name="android.intent.category.DEFAULT" />
				<data android:scheme="tn5250" />
				<data android:scheme="ssh"    />
				<data android:scheme="telnet" />
				<data android:scheme="local"  />
			</intent-filter>
		</activity>

		<activity android:name=".PubkeyListActivity" android:configChanges="keyboardHidden|orientation" >
			<intent-filter>
				<action android:name="org.openintents.ssh.agent.IDENTITY_ADMIN" />
				<category android:name="android.intent.category.DEFAULT" />
			</intent-filter>
		</activity>
		<activity android:name=".GeneratePubkeyActivity" android:configChanges="keyboardHidden|orientation" />
		<activity android:name=".HostEditorActivity" android:configChanges="keyboardHidden|orientation" />
		<activity android:name=".PortForwardListActivity" android:configChanges="keyboardHidden|orientation" />
		<activity android:name=".SettingsActivity" android:configChanges="keyboardHidden|orientation" />
		<activity android:name=".WizardActivity" android:configChanges="keyboardHidden|orientation" />
		<activity android:name=".HelpActivity" android:configChanges="keyboardHidden|orientation" />
		<activity android:name=".HelpTopicActivity" android:configChanges="keyboardHidden|orientation" />
		<activity android:name=".ColorsActivity" android:configChanges="keyboardHidden|orientation" />
		<activity android:name="com.lamerman.FileDialog" android:configChanges="keyboardHidden|orientation" />

		<service android:name="com.five_ten_sg.connectbot.service.TerminalManager"
			android:configChanges="keyboardHidden|orientation"
			android:description="@string/service_desc" />

		<service android:name="com.five_ten_sg.connectbot.service.AuthAgentService"
			android:description="@string/auth_agent_service_desc"
			android:permission="org.openintents.ssh.permission.ACCESS_SSH_AGENT">
			<intent-filter>
				<action android:name="org.openintents.ssh.BIND_SSH_AGENT_SERVICE" />
			</intent-filter>
		</service>

		<activity android:name=".ConsoleActivity" android:configChanges="keyboardHidden|orientation"
			android:theme="@style/NoTitle" android:windowSoftInputMode="stateAlwaysVisible|adjustResize"
			android:launchMode="singleTop" android:hardwareAccelerated="false">
			<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="tn5250" />
				<data android:scheme="ssh"    />
				<data android:scheme="telnet" />
				<data android:scheme="local"  />
				<!-- format:  ssh://user@host:port/#nickname  -->
				<!-- format:  telnet://host:port/#nickname  -->
				<!-- format:  local://  -->
			</intent-filter>
		</activity>

		<meta-data android:name="com.google.android.backup.api_key"
			android:value="AEdPqrEAAAAIDlFz9nSUr2g0gSytW0t2cNnYAGHDkptlVohsBA" />

	</application>
</manifest>