Add files using upload-large-folder tool
Browse files- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/aFreeRDP/src/main/assets/de_about_page/about_phone.html +412 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/aFreeRDP/src/main/assets/help_page/gestures.html +32 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/AndroidManifest.xml +116 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/cpp/CMakeLists.txt +83 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/cpp/android_cliprdr.c +509 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/cpp/android_jni_callback.h +28 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/cpp/android_jni_utils.c +191 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/activity_about.xml +12 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/home.xml +36 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-es/strings.xml +176 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-ko/strings.xml +175 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-land/dimens.xml +4 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-nl/strings.xml +176 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values/dimens.xml +7 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values/integers.xml +72 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/xml/advanced_settings.xml +81 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/xml/bookmark_settings.xml +96 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/xml/credentials_settings.xml +28 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/xml/gateway_settings.xml +43 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/xml/settings_app_client.xml +7 -0
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/aFreeRDP/src/main/assets/de_about_page/about_phone.html
ADDED
|
@@ -0,0 +1,412 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
| 5 |
+
<title></title>
|
| 6 |
+
<meta name="" content=""/>
|
| 7 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
|
| 8 |
+
|
| 9 |
+
<meta name="changed" content="2017-02-23T09:47:39.760769965">
|
| 10 |
+
<link rel="stylesheet" type="text/css" href="../about.css">
|
| 11 |
+
</head>
|
| 12 |
+
<body lang="de-AT" link="#0000ff" bgcolor="#e9ebf8" dir="ltr">
|
| 13 |
+
<div id="container" dir="ltr">
|
| 14 |
+
<p><br/>
|
| 15 |
+
<br/>
|
| 16 |
+
|
| 17 |
+
</p>
|
| 18 |
+
<div id="introduction_headline" dir="ltr" style="background: #353639">
|
| 19 |
+
<h2 class="western"><font color="#ffffff">aFreeRDP<br/>
|
| 20 |
+
Remote
|
| 21 |
+
Desktop Client</font>
|
| 22 |
+
</h2>
|
| 23 |
+
</div>
|
| 24 |
+
<div id="introduction" dir="ltr" style="background: #ffffff">
|
| 25 |
+
<p align="center"><font color="#000000"><img src="../FreeRDP_Logo.png" name="FreeRDP-Logo"
|
| 26 |
+
align="top" hspace="6" vspace="6" width="25%"
|
| 27 |
+
border="0"/>
|
| 28 |
+
|
| 29 |
+
</font>
|
| 30 |
+
</p>
|
| 31 |
+
</div>
|
| 32 |
+
<div id="article" dir="ltr" style="background: #ffffff">
|
| 33 |
+
<p align="center"
|
| 34 |
+
style="margin-left: 0.1in; margin-right: 0.1in; margin-top: 0.1in; margin-bottom: 0.1in">
|
| 35 |
+
<font color="#000000"><b>aFreeRDP</b> ist ein Open Source Programm
|
| 36 |
+
mit nativer Unterstützung des Remote Desktop Protocol (RDP)<br/>
|
| 37 |
+
um
|
| 38 |
+
einen entfernten Zugriff auf Windows Desktops zu ermöglichen. </font>
|
| 39 |
+
</p>
|
| 40 |
+
<div id="headline" dir="ltr" style="background: #353639">
|
| 41 |
+
<h3 class="western" align="center"
|
| 42 |
+
style="margin-left: 0.1in; margin-right: 0.1in; margin-top: 0.1in; margin-bottom: 0.1in">
|
| 43 |
+
Versions Information</h3>
|
| 44 |
+
</div>
|
| 45 |
+
<table cellpadding="3" cellspacing="1" align="center">
|
| 46 |
+
<tr>
|
| 47 |
+
<td style="border: none; padding: 0in">
|
| 48 |
+
<p><b>aFreeRDP</b> Version</p>
|
| 49 |
+
</td>
|
| 50 |
+
<td style="border: none; padding: 0in">
|
| 51 |
+
<p>%AFREERDP_VERSION%</p>
|
| 52 |
+
</td>
|
| 53 |
+
</tr>
|
| 54 |
+
<tr>
|
| 55 |
+
<td style="border: none; padding: 0in">
|
| 56 |
+
<p>System Version</p>
|
| 57 |
+
</td>
|
| 58 |
+
<td style="border: none; padding: 0in">
|
| 59 |
+
<p>%SYSTEM_VERSION%</p>
|
| 60 |
+
</td>
|
| 61 |
+
</tr>
|
| 62 |
+
<tr>
|
| 63 |
+
<td style="border: none; padding: 0in">
|
| 64 |
+
<p>Model</p>
|
| 65 |
+
</td>
|
| 66 |
+
<td style="border: none; padding: 0in">
|
| 67 |
+
<p>%DEVICE_MODEL%</p>
|
| 68 |
+
</td>
|
| 69 |
+
</tr>
|
| 70 |
+
</table>
|
| 71 |
+
</div>
|
| 72 |
+
<div id="Section1" dir="ltr" style="background: #ffffff">
|
| 73 |
+
<p style="margin-left: 0.1in; margin-right: 0.1in; margin-top: 0.1in; margin-bottom: 0.1in">
|
| 74 |
+
<a name="article"></a>
|
| 75 |
+
<br/>
|
| 76 |
+
<br/>
|
| 77 |
+
|
| 78 |
+
</p>
|
| 79 |
+
<div id="Section2" dir="ltr" style="background: #353639">
|
| 80 |
+
<h3 class="western" align="center"
|
| 81 |
+
style="margin-left: 0.1in; margin-right: 0.1in; margin-top: 0.1in; margin-bottom: 0.1in">
|
| 82 |
+
<a name="headline"></a>
|
| 83 |
+
Credits</h3>
|
| 84 |
+
</div>
|
| 85 |
+
<p style="margin-top: 0.1in; margin-bottom: 0.1in"><font
|
| 86 |
+
color="#000000"><b>aFreeRDP</b></font><font color="#000000">
|
| 87 |
+
ist ein Teil von <a href="http://www.freerdp.com/">FreeRDP</a> </font>
|
| 88 |
+
</p>
|
| 89 |
+
</div>
|
| 90 |
+
<div id="Section3" dir="ltr" style="background: #ffffff">
|
| 91 |
+
<p style="margin-left: 0.1in; margin-right: 0.1in; margin-top: 0.1in; margin-bottom: 0.1in">
|
| 92 |
+
<a name="article1"></a>
|
| 93 |
+
<br/>
|
| 94 |
+
<br/>
|
| 95 |
+
|
| 96 |
+
</p>
|
| 97 |
+
<div id="Section4" dir="ltr" style="background: #353639">
|
| 98 |
+
<h3 class="western" align="center"
|
| 99 |
+
style="margin-left: 0.1in; margin-right: 0.1in; margin-top: 0.1in; margin-bottom: 0.1in">
|
| 100 |
+
<a name="headline1"></a>
|
| 101 |
+
Datenschutz</h3>
|
| 102 |
+
</div>
|
| 103 |
+
<p style="margin-top: 0.1in; margin-bottom: 0.1in"><font color="#000000">Details
|
| 104 |
+
zu den Daten die aFreeRDP sammelt und verarbeitet sind unter</font></p>
|
| 105 |
+
<p style="margin-top: 0.1in; margin-bottom: 0.1in"><font color="#000000"><a
|
| 106 |
+
href="http://www.freerdp.com/privacy">http://www.freerdp.com/privacy</a>
|
| 107 |
+
zu finden.</font></p>
|
| 108 |
+
<div id="Section5" dir="ltr" style="background: #353639">
|
| 109 |
+
<h3 class="western" align="center"
|
| 110 |
+
style="margin-left: 0.1in; margin-right: 0.1in; margin-top: 0.1in; margin-bottom: 0.1in">
|
| 111 |
+
<a name="headline2"></a>
|
| 112 |
+
Lizenzen</h3>
|
| 113 |
+
</div>
|
| 114 |
+
<div id="Section6" dir="ltr" style="background: #353639">
|
| 115 |
+
<h4 class="western"><a name="headline3"></a>aFreeRDP</h4>
|
| 116 |
+
</div>
|
| 117 |
+
<pre class="western">This program is free software;
|
| 118 |
+
|
| 119 |
+
you can redistribute it and/or modify it under the terms
|
| 120 |
+
|
| 121 |
+
of the Mozilla Public License, v. 2.0.
|
| 122 |
+
|
| 123 |
+
You can obtain an online version of the License from
|
| 124 |
+
|
| 125 |
+
<a href="http://mozilla.org/MPL/2.0/">http://mozilla.org/MPL/2.0/</a>.
|
| 126 |
+
This program is distributed in the hope
|
| 127 |
+
that it will be useful, but WITHOUT ANY WARRANTY;
|
| 128 |
+
|
| 129 |
+
without even the implied warranty of
|
| 130 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
| 131 |
+
A copy of the product's source code can be
|
| 132 |
+
obtained from the FreeRDP GitHub repository at
|
| 133 |
+
|
| 134 |
+
<a href="https://github.com/FreeRDP/FreeRDP">https://github.com/FreeRDP/FreeRDP</a>.</pre>
|
| 135 |
+
<div id="Section7" dir="ltr" style="background: #353639">
|
| 136 |
+
<h4 class="western" align="center"
|
| 137 |
+
style="margin-left: 0.1in; margin-right: 0.1in; margin-top: 0.1in; margin-bottom: 0.1in">
|
| 138 |
+
<a name="headline4"></a>
|
| 139 |
+
FreeRDP</h4>
|
| 140 |
+
</div>
|
| 141 |
+
<pre class="western">Licensed under the Apache License, Version 2.0 (the "License");
|
| 142 |
+
|
| 143 |
+
you may not use this file except in compliance with the License.
|
| 144 |
+
|
| 145 |
+
You may obtain a copy of the License at
|
| 146 |
+
<a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>
|
| 147 |
+
Unless required by applicable law or agreed to in writing, software
|
| 148 |
+
|
| 149 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 150 |
+
|
| 151 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 152 |
+
|
| 153 |
+
See the License for the specific language governing permissions and
|
| 154 |
+
|
| 155 |
+
limitations under the License.
|
| 156 |
+
A copy of the product's source code can be obtained
|
| 157 |
+
from the FreeRDP GitHub repository at
|
| 158 |
+
|
| 159 |
+
<a href="https://github.com/FreeRDP/FreeRDP">https://github.com/FreeRDP/FreeRDP</a>.</pre>
|
| 160 |
+
<div id="Section8" dir="ltr" style="background: #353639">
|
| 161 |
+
<h4 class="western" align="center"
|
| 162 |
+
style="margin-left: 0.1in; margin-right: 0.1in; margin-top: 0.1in; margin-bottom: 0.1in">
|
| 163 |
+
<a name="headline5"></a>
|
| 164 |
+
OpenSSL</h4>
|
| 165 |
+
</div>
|
| 166 |
+
<pre class="western">LICENSE ISSUES
|
| 167 |
+
|
| 168 |
+
==============
|
| 169 |
+
|
| 170 |
+
|
| 171 |
+
The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
|
| 172 |
+
|
| 173 |
+
the OpenSSL License and the original SSLeay license apply to the toolkit.
|
| 174 |
+
|
| 175 |
+
See below for the actual license texts.
|
| 176 |
+
|
| 177 |
+
|
| 178 |
+
OpenSSL License
|
| 179 |
+
|
| 180 |
+
---------------
|
| 181 |
+
|
| 182 |
+
|
| 183 |
+
/* ====================================================================
|
| 184 |
+
|
| 185 |
+
* Copyright (c) 1998-2016 The OpenSSL Project. All rights reserved.
|
| 186 |
+
|
| 187 |
+
*
|
| 188 |
+
|
| 189 |
+
* Redistribution and use in source and binary forms, with or without
|
| 190 |
+
|
| 191 |
+
* modification, are permitted provided that the following conditions
|
| 192 |
+
|
| 193 |
+
* are met:
|
| 194 |
+
|
| 195 |
+
*
|
| 196 |
+
|
| 197 |
+
* 1. Redistributions of source code must retain the above copyright
|
| 198 |
+
|
| 199 |
+
* notice, this list of conditions and the following disclaimer.
|
| 200 |
+
|
| 201 |
+
*
|
| 202 |
+
|
| 203 |
+
* 2. Redistributions in binary form must reproduce the above copyright
|
| 204 |
+
|
| 205 |
+
* notice, this list of conditions and the following disclaimer in
|
| 206 |
+
|
| 207 |
+
* the documentation and/or other materials provided with the
|
| 208 |
+
|
| 209 |
+
* distribution.
|
| 210 |
+
|
| 211 |
+
*
|
| 212 |
+
|
| 213 |
+
* 3. All advertising materials mentioning features or use of this
|
| 214 |
+
|
| 215 |
+
* software must display the following acknowledgment:
|
| 216 |
+
|
| 217 |
+
* "This product includes software developed by the OpenSSL Project
|
| 218 |
+
|
| 219 |
+
* for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
|
| 220 |
+
|
| 221 |
+
*
|
| 222 |
+
|
| 223 |
+
* 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
|
| 224 |
+
|
| 225 |
+
* endorse or promote products derived from this software without
|
| 226 |
+
|
| 227 |
+
* prior written permission. For written permission, please contact
|
| 228 |
+
|
| 229 |
+
* [email protected].
|
| 230 |
+
|
| 231 |
+
*
|
| 232 |
+
|
| 233 |
+
* 5. Products derived from this software may not be called "OpenSSL"
|
| 234 |
+
|
| 235 |
+
* nor may "OpenSSL" appear in their names without prior written
|
| 236 |
+
|
| 237 |
+
* permission of the OpenSSL Project.
|
| 238 |
+
|
| 239 |
+
*
|
| 240 |
+
|
| 241 |
+
* 6. Redistributions of any form whatsoever must retain the following
|
| 242 |
+
|
| 243 |
+
* acknowledgment:
|
| 244 |
+
|
| 245 |
+
* "This product includes software developed by the OpenSSL Project
|
| 246 |
+
|
| 247 |
+
* for use in the OpenSSL Toolkit (http://www.openssl.org/)"
|
| 248 |
+
|
| 249 |
+
*
|
| 250 |
+
|
| 251 |
+
* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
|
| 252 |
+
|
| 253 |
+
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 254 |
+
|
| 255 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 256 |
+
|
| 257 |
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
|
| 258 |
+
|
| 259 |
+
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 260 |
+
|
| 261 |
+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
| 262 |
+
|
| 263 |
+
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
| 264 |
+
|
| 265 |
+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
| 266 |
+
|
| 267 |
+
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
| 268 |
+
|
| 269 |
+
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
| 270 |
+
|
| 271 |
+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
| 272 |
+
|
| 273 |
+
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 274 |
+
|
| 275 |
+
* ====================================================================
|
| 276 |
+
|
| 277 |
+
*
|
| 278 |
+
|
| 279 |
+
* This product includes cryptographic software written by Eric Young
|
| 280 |
+
|
| 281 |
+
* ([email protected]). This product includes software written by Tim
|
| 282 |
+
|
| 283 |
+
* Hudson ([email protected]).
|
| 284 |
+
|
| 285 |
+
*
|
| 286 |
+
|
| 287 |
+
*/
|
| 288 |
+
|
| 289 |
+
|
| 290 |
+
Original SSLeay License
|
| 291 |
+
|
| 292 |
+
-----------------------
|
| 293 |
+
|
| 294 |
+
|
| 295 |
+
/* Copyright (C) 1995-1998 Eric Young ([email protected])
|
| 296 |
+
|
| 297 |
+
* All rights reserved.
|
| 298 |
+
|
| 299 |
+
*
|
| 300 |
+
|
| 301 |
+
* This package is an SSL implementation written
|
| 302 |
+
|
| 303 |
+
* by Eric Young ([email protected]).
|
| 304 |
+
|
| 305 |
+
* The implementation was written so as to conform with Netscapes SSL.
|
| 306 |
+
|
| 307 |
+
*
|
| 308 |
+
|
| 309 |
+
* This library is free for commercial and non-commercial use as long as
|
| 310 |
+
|
| 311 |
+
* the following conditions are aheared to. The following conditions
|
| 312 |
+
|
| 313 |
+
* apply to all code found in this distribution, be it the RC4, RSA,
|
| 314 |
+
|
| 315 |
+
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
|
| 316 |
+
|
| 317 |
+
* included with this distribution is covered by the same copyright terms
|
| 318 |
+
|
| 319 |
+
* except that the holder is Tim Hudson ([email protected]).
|
| 320 |
+
|
| 321 |
+
*
|
| 322 |
+
|
| 323 |
+
* Copyright remains Eric Young's, and as such any Copyright notices in
|
| 324 |
+
|
| 325 |
+
* the code are not to be removed.
|
| 326 |
+
|
| 327 |
+
* If this package is used in a product, Eric Young should be given attribution
|
| 328 |
+
|
| 329 |
+
* as the author of the parts of the library used.
|
| 330 |
+
|
| 331 |
+
* This can be in the form of a textual message at program startup or
|
| 332 |
+
|
| 333 |
+
* in documentation (online or textual) provided with the package.
|
| 334 |
+
|
| 335 |
+
*
|
| 336 |
+
|
| 337 |
+
* Redistribution and use in source and binary forms, with or without
|
| 338 |
+
|
| 339 |
+
* modification, are permitted provided that the following conditions
|
| 340 |
+
|
| 341 |
+
* are met:
|
| 342 |
+
|
| 343 |
+
* 1. Redistributions of source code must retain the copyright
|
| 344 |
+
|
| 345 |
+
* notice, this list of conditions and the following disclaimer.
|
| 346 |
+
|
| 347 |
+
* 2. Redistributions in binary form must reproduce the above copyright
|
| 348 |
+
|
| 349 |
+
* notice, this list of conditions and the following disclaimer in the
|
| 350 |
+
|
| 351 |
+
* documentation and/or other materials provided with the distribution.
|
| 352 |
+
|
| 353 |
+
* 3. All advertising materials mentioning features or use of this software
|
| 354 |
+
|
| 355 |
+
* must display the following acknowledgement:
|
| 356 |
+
|
| 357 |
+
* "This product includes cryptographic software written by
|
| 358 |
+
|
| 359 |
+
* Eric Young ([email protected])"
|
| 360 |
+
|
| 361 |
+
* The word 'cryptographic' can be left out if the rouines from the library
|
| 362 |
+
|
| 363 |
+
* being used are not cryptographic related :-).
|
| 364 |
+
|
| 365 |
+
* 4. If you include any Windows specific code (or a derivative thereof) from
|
| 366 |
+
|
| 367 |
+
* the apps directory (application code) you must include an acknowledgement:
|
| 368 |
+
|
| 369 |
+
* "This product includes software written by Tim Hudson ([email protected])"
|
| 370 |
+
|
| 371 |
+
*
|
| 372 |
+
|
| 373 |
+
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
|
| 374 |
+
|
| 375 |
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 376 |
+
|
| 377 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 378 |
+
|
| 379 |
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
| 380 |
+
|
| 381 |
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 382 |
+
|
| 383 |
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
| 384 |
+
|
| 385 |
+
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
| 386 |
+
|
| 387 |
+
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
| 388 |
+
|
| 389 |
+
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
| 390 |
+
|
| 391 |
+
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
| 392 |
+
|
| 393 |
+
* SUCH DAMAGE.
|
| 394 |
+
|
| 395 |
+
*
|
| 396 |
+
|
| 397 |
+
* The licence and distribution terms for any publicly available version or
|
| 398 |
+
|
| 399 |
+
* derivative of this code cannot be changed. i.e. this code cannot simply be
|
| 400 |
+
|
| 401 |
+
* copied and put under another distribution licence
|
| 402 |
+
|
| 403 |
+
* [including the GNU Public Licence.]
|
| 404 |
+
|
| 405 |
+
*/
|
| 406 |
+
A copy of the product's source code can be obtained from the project page at
|
| 407 |
+
|
| 408 |
+
<a href="https://www.openssl.org/">https://www.openssl.org/</a>.</pre>
|
| 409 |
+
</div>
|
| 410 |
+
</div>
|
| 411 |
+
</body>
|
| 412 |
+
</html>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/aFreeRDP/src/main/assets/help_page/gestures.html
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
| 2 |
+
|
| 3 |
+
<html>
|
| 4 |
+
|
| 5 |
+
<head>
|
| 6 |
+
<meta charset="utf-8">
|
| 7 |
+
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;"/>
|
| 8 |
+
<title>Help</title>
|
| 9 |
+
|
| 10 |
+
<link rel="stylesheet" type="text/css" href="../help.css">
|
| 11 |
+
</head>
|
| 12 |
+
|
| 13 |
+
<body>
|
| 14 |
+
<div id="container">
|
| 15 |
+
<center>
|
| 16 |
+
<div id="header">
|
| 17 |
+
<a href="gestures.html"><img src="nav_gestures.png"></a>
|
| 18 |
+
<a href="toolbar.html"><img src="nav_toolbar.png"></a>
|
| 19 |
+
<a href="touch_pointer.html"><img src="nav_touch_pointer.png"></a>
|
| 20 |
+
</div>
|
| 21 |
+
|
| 22 |
+
<div id="content">
|
| 23 |
+
<h1>Gestures</h1>
|
| 24 |
+
<p>
|
| 25 |
+
aFreeRDP is designed for touch sensitive devices.
|
| 26 |
+
These gestures let you do the most usual operations with your fingers.</p>
|
| 27 |
+
<p><img src="gestures.png"></p>
|
| 28 |
+
</div>
|
| 29 |
+
</center>
|
| 30 |
+
</div>
|
| 31 |
+
</body>
|
| 32 |
+
</html>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/AndroidManifest.xml
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
| 3 |
+
android:installLocation="auto">
|
| 4 |
+
|
| 5 |
+
<uses-permission android:name="android.permission.INTERNET" />
|
| 6 |
+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
| 7 |
+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"
|
| 8 |
+
android:maxSdkVersion="32" />
|
| 9 |
+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
| 10 |
+
android:maxSdkVersion="32" />
|
| 11 |
+
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
| 12 |
+
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
| 13 |
+
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
| 14 |
+
|
| 15 |
+
<supports-screens
|
| 16 |
+
android:anyDensity="true"
|
| 17 |
+
android:largeScreens="true"
|
| 18 |
+
android:normalScreens="true"
|
| 19 |
+
android:smallScreens="true"
|
| 20 |
+
android:xlargeScreens="true" />
|
| 21 |
+
|
| 22 |
+
<application
|
| 23 |
+
android:theme="@style/Theme.Main"
|
| 24 |
+
android:resizeableActivity="true"
|
| 25 |
+
>
|
| 26 |
+
<meta-data android:name="com.samsung.android.keepalive.density" android:value="true"/>
|
| 27 |
+
<!-- Activity to create shortcuts -->
|
| 28 |
+
<activity
|
| 29 |
+
android:exported="true"
|
| 30 |
+
android:name=".presentation.ShortcutsActivity"
|
| 31 |
+
android:label="@string/title_create_shortcut"
|
| 32 |
+
android:theme="@style/Theme.Main">
|
| 33 |
+
<intent-filter>
|
| 34 |
+
<action android:name="android.intent.action.MAIN" />
|
| 35 |
+
|
| 36 |
+
<category android:name="android.intent.category.DEFAULT" />
|
| 37 |
+
</intent-filter>
|
| 38 |
+
</activity>
|
| 39 |
+
|
| 40 |
+
<!-- It is recommended that you use an activity-alias to provide the "CREATE_SHORTCUT" -->
|
| 41 |
+
<!-- intent-filter. This gives you a way to set the text (and optionally the -->
|
| 42 |
+
<!-- icon) that will be seen in the launcher's create-shortcut user interface. -->
|
| 43 |
+
<activity-alias
|
| 44 |
+
android:exported="true"
|
| 45 |
+
android:name=".presentation.CreateShortcuts"
|
| 46 |
+
android:label="@string/title_create_shortcut"
|
| 47 |
+
android:targetActivity=".presentation.ShortcutsActivity">
|
| 48 |
+
|
| 49 |
+
<!-- This intent-filter allows your shortcuts to be created in the launcher. -->
|
| 50 |
+
<intent-filter>
|
| 51 |
+
<action android:name="android.intent.action.CREATE_SHORTCUT" />
|
| 52 |
+
|
| 53 |
+
<category android:name="android.intent.category.DEFAULT" />
|
| 54 |
+
</intent-filter>
|
| 55 |
+
</activity-alias>
|
| 56 |
+
|
| 57 |
+
<activity
|
| 58 |
+
android:exported="false"
|
| 59 |
+
android:name=".presentation.BookmarkActivity"
|
| 60 |
+
android:label="@string/title_bookmark_settings"
|
| 61 |
+
android:theme="@style/Theme.Settings">
|
| 62 |
+
<intent-filter>
|
| 63 |
+
<action android:name="freerdp.intent.action.BOOKMARK" />
|
| 64 |
+
|
| 65 |
+
<category android:name="android.intent.category.DEFAULT" />
|
| 66 |
+
|
| 67 |
+
<data android:scheme="preferences" />
|
| 68 |
+
</intent-filter>
|
| 69 |
+
</activity>
|
| 70 |
+
<activity
|
| 71 |
+
android:exported="true"
|
| 72 |
+
android:name=".presentation.ApplicationSettingsActivity"
|
| 73 |
+
android:label="@string/title_application_settings"
|
| 74 |
+
android:theme="@style/Theme.Settings"
|
| 75 |
+
android:windowSoftInputMode="stateHidden" />
|
| 76 |
+
<activity
|
| 77 |
+
android:exported="true"
|
| 78 |
+
android:name=".presentation.SessionActivity"
|
| 79 |
+
android:theme="@style/Theme.Main"
|
| 80 |
+
android:configChanges="orientation|keyboard|keyboardHidden|screenSize|smallestScreenSize|density|screenLayout|navigation"
|
| 81 |
+
android:windowSoftInputMode="adjustResize">
|
| 82 |
+
<!--android:configChanges="orientation|keyboardHidden|screenSize|keyboard"-->
|
| 83 |
+
<intent-filter>
|
| 84 |
+
<action android:name="android.intent.action.VIEW" />
|
| 85 |
+
|
| 86 |
+
<category android:name="android.intent.category.DEFAULT" />
|
| 87 |
+
<category android:name="android.intent.category.BROWSABLE" />
|
| 88 |
+
|
| 89 |
+
<data
|
| 90 |
+
android:host="*"
|
| 91 |
+
android:scheme="freerdp" />
|
| 92 |
+
</intent-filter>
|
| 93 |
+
</activity>
|
| 94 |
+
<activity
|
| 95 |
+
android:exported="true"
|
| 96 |
+
android:name=".presentation.AboutActivity"
|
| 97 |
+
android:label="@string/title_about"
|
| 98 |
+
android:theme="@style/Theme.Main" />
|
| 99 |
+
<activity
|
| 100 |
+
android:exported="true"
|
| 101 |
+
android:name=".presentation.HelpActivity"
|
| 102 |
+
android:label="@string/title_help"
|
| 103 |
+
android:theme="@style/Theme.Main" />
|
| 104 |
+
|
| 105 |
+
<receiver
|
| 106 |
+
android:exported="true"
|
| 107 |
+
android:name=".application.NetworkStateReceiver"
|
| 108 |
+
android:enabled="true">
|
| 109 |
+
<intent-filter>
|
| 110 |
+
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
|
| 111 |
+
</intent-filter>
|
| 112 |
+
</receiver>
|
| 113 |
+
|
| 114 |
+
</application>
|
| 115 |
+
|
| 116 |
+
</manifest>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/cpp/CMakeLists.txt
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# FreeRDP: A Remote Desktop Protocol Implementation
|
| 2 |
+
# Android Client
|
| 3 |
+
#
|
| 4 |
+
# Copyright 2012 Marc-Andre Moreau <[email protected]>
|
| 5 |
+
# Copyright 2013 Bernhard Miklautz <[email protected]>
|
| 6 |
+
# Copyright 2022 Ely Ronnen <[email protected]>
|
| 7 |
+
#
|
| 8 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 9 |
+
# you may not use this file except in compliance with the License.
|
| 10 |
+
# You may obtain a copy of the License at
|
| 11 |
+
#
|
| 12 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
+
#
|
| 14 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 15 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 16 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 17 |
+
# See the License for the specific language governing permissions and
|
| 18 |
+
# limitations under the License.
|
| 19 |
+
|
| 20 |
+
cmake_minimum_required(VERSION 3.13)
|
| 21 |
+
|
| 22 |
+
if(NOT FREERDP_DEFAULT_PROJECT_VERSION)
|
| 23 |
+
set(FREERDP_DEFAULT_PROJECT_VERSION "1.0.0.0")
|
| 24 |
+
endif()
|
| 25 |
+
|
| 26 |
+
project("freerdp-android" LANGUAGES C VERSION ${FREERDP_DEFAULT_PROJECT_VERSION})
|
| 27 |
+
|
| 28 |
+
message("project ${PROJECT_NAME} is using version ${PROJECT_VERSION}")
|
| 29 |
+
|
| 30 |
+
set(MODULE_NAME "freerdp-android")
|
| 31 |
+
set(MODULE_PREFIX "FREERDP_CLIENT_ANDROID")
|
| 32 |
+
|
| 33 |
+
set(FREERDP_IMPORT_DIR_RELATIVE ../jniLibs/${CMAKE_ANDROID_ARCH_ABI})
|
| 34 |
+
get_filename_component(FREERDP_IMPORT_DIR ${FREERDP_IMPORT_DIR_RELATIVE} ABSOLUTE)
|
| 35 |
+
|
| 36 |
+
include_directories(
|
| 37 |
+
SYSTEM ${FREERDP_IMPORT_DIR}/include/freerdp3 ${FREERDP_IMPORT_DIR}/include/winpr3
|
| 38 |
+
${FREERDP_IMPORT_DIR}/include/openssl
|
| 39 |
+
)
|
| 40 |
+
|
| 41 |
+
set(${MODULE_PREFIX}_SRCS
|
| 42 |
+
android_event.c
|
| 43 |
+
android_event.h
|
| 44 |
+
android_freerdp.c
|
| 45 |
+
android_freerdp.h
|
| 46 |
+
android_jni_utils.c
|
| 47 |
+
android_jni_utils.h
|
| 48 |
+
android_jni_callback.c
|
| 49 |
+
android_jni_callback.h
|
| 50 |
+
)
|
| 51 |
+
|
| 52 |
+
if(WITH_CLIENT_CHANNELS)
|
| 53 |
+
set(${MODULE_PREFIX}_SRCS ${${MODULE_PREFIX}_SRCS} android_cliprdr.c android_cliprdr.h)
|
| 54 |
+
endif()
|
| 55 |
+
|
| 56 |
+
add_library(${MODULE_NAME} SHARED ${${MODULE_PREFIX}_SRCS})
|
| 57 |
+
|
| 58 |
+
add_library(freerdp3-lib SHARED IMPORTED)
|
| 59 |
+
set_property(TARGET freerdp3-lib PROPERTY IMPORTED_LOCATION ${FREERDP_IMPORT_DIR}/libfreerdp3.so)
|
| 60 |
+
|
| 61 |
+
add_library(freerdp-client3-lib SHARED IMPORTED)
|
| 62 |
+
set_property(TARGET freerdp-client3-lib PROPERTY IMPORTED_LOCATION ${FREERDP_IMPORT_DIR}/libfreerdp-client3.so)
|
| 63 |
+
|
| 64 |
+
add_library(winpr3-lib SHARED IMPORTED)
|
| 65 |
+
set_property(TARGET winpr3-lib PROPERTY IMPORTED_LOCATION ${FREERDP_IMPORT_DIR}/libwinpr3.so)
|
| 66 |
+
|
| 67 |
+
find_library(log-lib log)
|
| 68 |
+
find_library(dl-lib dl)
|
| 69 |
+
find_library(jnigraphics-lib jnigraphics)
|
| 70 |
+
|
| 71 |
+
# Specifies libraries CMake should link to your target library. You
|
| 72 |
+
# can link multiple libraries, such as libraries you define in this
|
| 73 |
+
# build script, prebuilt third-party libraries, or system libraries.
|
| 74 |
+
|
| 75 |
+
target_link_libraries(
|
| 76 |
+
${MODULE_NAME}
|
| 77 |
+
freerdp3-lib
|
| 78 |
+
freerdp-client3-lib
|
| 79 |
+
winpr3-lib
|
| 80 |
+
${log-lib}
|
| 81 |
+
${dl-lib}
|
| 82 |
+
${jnigraphics-lib}
|
| 83 |
+
)
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/cpp/android_cliprdr.c
ADDED
|
@@ -0,0 +1,509 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/**
|
| 2 |
+
* FreeRDP: A Remote Desktop Protocol Implementation
|
| 3 |
+
* Android Clipboard Redirection
|
| 4 |
+
*
|
| 5 |
+
* Copyright 2013 Felix Long
|
| 6 |
+
* Copyright 2015 Thincast Technologies GmbH
|
| 7 |
+
* Copyright 2015 DI (FH) Martin Haimberger <[email protected]>
|
| 8 |
+
*
|
| 9 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
| 10 |
+
* you may not use this file except in compliance with the License.
|
| 11 |
+
* You may obtain a copy of the License at
|
| 12 |
+
*
|
| 13 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
| 14 |
+
*
|
| 15 |
+
* Unless required by applicable law or agreed to in writing, software
|
| 16 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
| 17 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 18 |
+
* See the License for the specific language governing permissions and
|
| 19 |
+
* limitations under the License.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#include <freerdp/config.h>
|
| 23 |
+
|
| 24 |
+
#include <jni.h>
|
| 25 |
+
|
| 26 |
+
#include <winpr/crt.h>
|
| 27 |
+
#include <winpr/stream.h>
|
| 28 |
+
|
| 29 |
+
#include <freerdp/client/channels.h>
|
| 30 |
+
#include <freerdp/client/cliprdr.h>
|
| 31 |
+
|
| 32 |
+
#include "android_cliprdr.h"
|
| 33 |
+
#include "android_jni_utils.h"
|
| 34 |
+
#include "android_jni_callback.h"
|
| 35 |
+
|
| 36 |
+
UINT android_cliprdr_send_client_format_list(CliprdrClientContext* cliprdr)
|
| 37 |
+
{
|
| 38 |
+
UINT rc = ERROR_INTERNAL_ERROR;
|
| 39 |
+
UINT32 formatId;
|
| 40 |
+
UINT32 numFormats;
|
| 41 |
+
UINT32* pFormatIds;
|
| 42 |
+
const char* formatName;
|
| 43 |
+
CLIPRDR_FORMAT* formats;
|
| 44 |
+
CLIPRDR_FORMAT_LIST formatList = { 0 };
|
| 45 |
+
|
| 46 |
+
if (!cliprdr)
|
| 47 |
+
return ERROR_INVALID_PARAMETER;
|
| 48 |
+
|
| 49 |
+
androidContext* afc = (androidContext*)cliprdr->custom;
|
| 50 |
+
|
| 51 |
+
if (!afc || !afc->cliprdr)
|
| 52 |
+
return ERROR_INVALID_PARAMETER;
|
| 53 |
+
|
| 54 |
+
pFormatIds = NULL;
|
| 55 |
+
numFormats = ClipboardGetFormatIds(afc->clipboard, &pFormatIds);
|
| 56 |
+
formats = (CLIPRDR_FORMAT*)calloc(numFormats, sizeof(CLIPRDR_FORMAT));
|
| 57 |
+
|
| 58 |
+
if (!formats)
|
| 59 |
+
goto fail;
|
| 60 |
+
|
| 61 |
+
for (UINT32 index = 0; index < numFormats; index++)
|
| 62 |
+
{
|
| 63 |
+
formatId = pFormatIds[index];
|
| 64 |
+
formatName = ClipboardGetFormatName(afc->clipboard, formatId);
|
| 65 |
+
formats[index].formatId = formatId;
|
| 66 |
+
formats[index].formatName = NULL;
|
| 67 |
+
|
| 68 |
+
if ((formatId > CF_MAX) && formatName)
|
| 69 |
+
{
|
| 70 |
+
formats[index].formatName = _strdup(formatName);
|
| 71 |
+
|
| 72 |
+
if (!formats[index].formatName)
|
| 73 |
+
goto fail;
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
formatList.common.msgFlags = 0;
|
| 78 |
+
formatList.numFormats = numFormats;
|
| 79 |
+
formatList.formats = formats;
|
| 80 |
+
formatList.common.msgType = CB_FORMAT_LIST;
|
| 81 |
+
|
| 82 |
+
if (!afc->cliprdr->ClientFormatList)
|
| 83 |
+
goto fail;
|
| 84 |
+
|
| 85 |
+
rc = afc->cliprdr->ClientFormatList(afc->cliprdr, &formatList);
|
| 86 |
+
fail:
|
| 87 |
+
free(pFormatIds);
|
| 88 |
+
free(formats);
|
| 89 |
+
return rc;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
static UINT android_cliprdr_send_client_format_data_request(CliprdrClientContext* cliprdr,
|
| 93 |
+
UINT32 formatId)
|
| 94 |
+
{
|
| 95 |
+
UINT rc = ERROR_INVALID_PARAMETER;
|
| 96 |
+
CLIPRDR_FORMAT_DATA_REQUEST formatDataRequest = { 0 };
|
| 97 |
+
androidContext* afc;
|
| 98 |
+
|
| 99 |
+
if (!cliprdr)
|
| 100 |
+
goto fail;
|
| 101 |
+
|
| 102 |
+
afc = (androidContext*)cliprdr->custom;
|
| 103 |
+
|
| 104 |
+
if (!afc || !afc->clipboardRequestEvent || !cliprdr->ClientFormatDataRequest)
|
| 105 |
+
goto fail;
|
| 106 |
+
|
| 107 |
+
formatDataRequest.common.msgType = CB_FORMAT_DATA_REQUEST;
|
| 108 |
+
formatDataRequest.common.msgFlags = 0;
|
| 109 |
+
formatDataRequest.requestedFormatId = formatId;
|
| 110 |
+
afc->requestedFormatId = formatId;
|
| 111 |
+
(void)ResetEvent(afc->clipboardRequestEvent);
|
| 112 |
+
rc = cliprdr->ClientFormatDataRequest(cliprdr, &formatDataRequest);
|
| 113 |
+
fail:
|
| 114 |
+
return rc;
|
| 115 |
+
}
|
| 116 |
+
|
| 117 |
+
static UINT android_cliprdr_send_client_capabilities(CliprdrClientContext* cliprdr)
|
| 118 |
+
{
|
| 119 |
+
CLIPRDR_CAPABILITIES capabilities;
|
| 120 |
+
CLIPRDR_GENERAL_CAPABILITY_SET generalCapabilitySet;
|
| 121 |
+
|
| 122 |
+
if (!cliprdr || !cliprdr->ClientCapabilities)
|
| 123 |
+
return ERROR_INVALID_PARAMETER;
|
| 124 |
+
|
| 125 |
+
capabilities.cCapabilitiesSets = 1;
|
| 126 |
+
capabilities.capabilitySets = (CLIPRDR_CAPABILITY_SET*)&(generalCapabilitySet);
|
| 127 |
+
generalCapabilitySet.capabilitySetType = CB_CAPSTYPE_GENERAL;
|
| 128 |
+
generalCapabilitySet.capabilitySetLength = 12;
|
| 129 |
+
generalCapabilitySet.version = CB_CAPS_VERSION_2;
|
| 130 |
+
generalCapabilitySet.generalFlags = CB_USE_LONG_FORMAT_NAMES;
|
| 131 |
+
return cliprdr->ClientCapabilities(cliprdr, &capabilities);
|
| 132 |
+
}
|
| 133 |
+
|
| 134 |
+
/**
|
| 135 |
+
* Function description
|
| 136 |
+
*
|
| 137 |
+
* @return 0 on success, otherwise a Win32 error code
|
| 138 |
+
*/
|
| 139 |
+
static UINT android_cliprdr_monitor_ready(CliprdrClientContext* cliprdr,
|
| 140 |
+
const CLIPRDR_MONITOR_READY* monitorReady)
|
| 141 |
+
{
|
| 142 |
+
UINT rc;
|
| 143 |
+
androidContext* afc;
|
| 144 |
+
|
| 145 |
+
if (!cliprdr || !monitorReady)
|
| 146 |
+
return ERROR_INVALID_PARAMETER;
|
| 147 |
+
|
| 148 |
+
afc = (androidContext*)cliprdr->custom;
|
| 149 |
+
|
| 150 |
+
if (!afc)
|
| 151 |
+
return ERROR_INVALID_PARAMETER;
|
| 152 |
+
|
| 153 |
+
if ((rc = android_cliprdr_send_client_capabilities(cliprdr)) != CHANNEL_RC_OK)
|
| 154 |
+
return rc;
|
| 155 |
+
|
| 156 |
+
if ((rc = android_cliprdr_send_client_format_list(cliprdr)) != CHANNEL_RC_OK)
|
| 157 |
+
return rc;
|
| 158 |
+
|
| 159 |
+
afc->clipboardSync = TRUE;
|
| 160 |
+
return CHANNEL_RC_OK;
|
| 161 |
+
}
|
| 162 |
+
|
| 163 |
+
/**
|
| 164 |
+
* Function description
|
| 165 |
+
*
|
| 166 |
+
* @return 0 on success, otherwise a Win32 error code
|
| 167 |
+
*/
|
| 168 |
+
static UINT android_cliprdr_server_capabilities(CliprdrClientContext* cliprdr,
|
| 169 |
+
const CLIPRDR_CAPABILITIES* capabilities)
|
| 170 |
+
{
|
| 171 |
+
CLIPRDR_CAPABILITY_SET* capabilitySet;
|
| 172 |
+
androidContext* afc;
|
| 173 |
+
|
| 174 |
+
if (!cliprdr || !capabilities)
|
| 175 |
+
return ERROR_INVALID_PARAMETER;
|
| 176 |
+
|
| 177 |
+
afc = (androidContext*)cliprdr->custom;
|
| 178 |
+
|
| 179 |
+
if (!afc)
|
| 180 |
+
return ERROR_INVALID_PARAMETER;
|
| 181 |
+
|
| 182 |
+
for (UINT32 index = 0; index < capabilities->cCapabilitiesSets; index++)
|
| 183 |
+
{
|
| 184 |
+
capabilitySet = &(capabilities->capabilitySets[index]);
|
| 185 |
+
|
| 186 |
+
if ((capabilitySet->capabilitySetType == CB_CAPSTYPE_GENERAL) &&
|
| 187 |
+
(capabilitySet->capabilitySetLength >= CB_CAPSTYPE_GENERAL_LEN))
|
| 188 |
+
{
|
| 189 |
+
CLIPRDR_GENERAL_CAPABILITY_SET* generalCapabilitySet =
|
| 190 |
+
(CLIPRDR_GENERAL_CAPABILITY_SET*)capabilitySet;
|
| 191 |
+
afc->clipboardCapabilities = generalCapabilitySet->generalFlags;
|
| 192 |
+
break;
|
| 193 |
+
}
|
| 194 |
+
}
|
| 195 |
+
|
| 196 |
+
return CHANNEL_RC_OK;
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
/**
|
| 200 |
+
* Function description
|
| 201 |
+
*
|
| 202 |
+
* @return 0 on success, otherwise a Win32 error code
|
| 203 |
+
*/
|
| 204 |
+
static UINT android_cliprdr_server_format_list(CliprdrClientContext* cliprdr,
|
| 205 |
+
const CLIPRDR_FORMAT_LIST* formatList)
|
| 206 |
+
{
|
| 207 |
+
UINT rc;
|
| 208 |
+
CLIPRDR_FORMAT* format;
|
| 209 |
+
androidContext* afc;
|
| 210 |
+
|
| 211 |
+
if (!cliprdr || !formatList)
|
| 212 |
+
return ERROR_INVALID_PARAMETER;
|
| 213 |
+
|
| 214 |
+
afc = (androidContext*)cliprdr->custom;
|
| 215 |
+
|
| 216 |
+
if (!afc)
|
| 217 |
+
return ERROR_INVALID_PARAMETER;
|
| 218 |
+
|
| 219 |
+
if (afc->serverFormats)
|
| 220 |
+
{
|
| 221 |
+
for (UINT32 index = 0; index < afc->numServerFormats; index++)
|
| 222 |
+
free(afc->serverFormats[index].formatName);
|
| 223 |
+
|
| 224 |
+
free(afc->serverFormats);
|
| 225 |
+
afc->serverFormats = NULL;
|
| 226 |
+
afc->numServerFormats = 0;
|
| 227 |
+
}
|
| 228 |
+
|
| 229 |
+
if (formatList->numFormats < 1)
|
| 230 |
+
return CHANNEL_RC_OK;
|
| 231 |
+
|
| 232 |
+
afc->numServerFormats = formatList->numFormats;
|
| 233 |
+
afc->serverFormats = (CLIPRDR_FORMAT*)calloc(afc->numServerFormats, sizeof(CLIPRDR_FORMAT));
|
| 234 |
+
|
| 235 |
+
if (!afc->serverFormats)
|
| 236 |
+
return CHANNEL_RC_NO_MEMORY;
|
| 237 |
+
|
| 238 |
+
for (UINT32 index = 0; index < afc->numServerFormats; index++)
|
| 239 |
+
{
|
| 240 |
+
afc->serverFormats[index].formatId = formatList->formats[index].formatId;
|
| 241 |
+
afc->serverFormats[index].formatName = NULL;
|
| 242 |
+
|
| 243 |
+
if (formatList->formats[index].formatName)
|
| 244 |
+
{
|
| 245 |
+
afc->serverFormats[index].formatName = _strdup(formatList->formats[index].formatName);
|
| 246 |
+
|
| 247 |
+
if (!afc->serverFormats[index].formatName)
|
| 248 |
+
return CHANNEL_RC_NO_MEMORY;
|
| 249 |
+
}
|
| 250 |
+
}
|
| 251 |
+
|
| 252 |
+
for (UINT32 index = 0; index < afc->numServerFormats; index++)
|
| 253 |
+
{
|
| 254 |
+
format = &(afc->serverFormats[index]);
|
| 255 |
+
|
| 256 |
+
if (format->formatId == CF_UNICODETEXT)
|
| 257 |
+
{
|
| 258 |
+
if ((rc = android_cliprdr_send_client_format_data_request(cliprdr, CF_UNICODETEXT)) !=
|
| 259 |
+
CHANNEL_RC_OK)
|
| 260 |
+
return rc;
|
| 261 |
+
|
| 262 |
+
break;
|
| 263 |
+
}
|
| 264 |
+
else if (format->formatId == CF_TEXT)
|
| 265 |
+
{
|
| 266 |
+
if ((rc = android_cliprdr_send_client_format_data_request(cliprdr, CF_TEXT)) !=
|
| 267 |
+
CHANNEL_RC_OK)
|
| 268 |
+
return rc;
|
| 269 |
+
|
| 270 |
+
break;
|
| 271 |
+
}
|
| 272 |
+
}
|
| 273 |
+
|
| 274 |
+
return CHANNEL_RC_OK;
|
| 275 |
+
}
|
| 276 |
+
|
| 277 |
+
/**
|
| 278 |
+
* Function description
|
| 279 |
+
*
|
| 280 |
+
* @return 0 on success, otherwise a Win32 error code
|
| 281 |
+
*/
|
| 282 |
+
static UINT
|
| 283 |
+
android_cliprdr_server_format_list_response(CliprdrClientContext* cliprdr,
|
| 284 |
+
const CLIPRDR_FORMAT_LIST_RESPONSE* formatListResponse)
|
| 285 |
+
{
|
| 286 |
+
if (!cliprdr || !formatListResponse)
|
| 287 |
+
return ERROR_INVALID_PARAMETER;
|
| 288 |
+
|
| 289 |
+
return CHANNEL_RC_OK;
|
| 290 |
+
}
|
| 291 |
+
|
| 292 |
+
/**
|
| 293 |
+
* Function description
|
| 294 |
+
*
|
| 295 |
+
* @return 0 on success, otherwise a Win32 error code
|
| 296 |
+
*/
|
| 297 |
+
static UINT
|
| 298 |
+
android_cliprdr_server_lock_clipboard_data(CliprdrClientContext* cliprdr,
|
| 299 |
+
const CLIPRDR_LOCK_CLIPBOARD_DATA* lockClipboardData)
|
| 300 |
+
{
|
| 301 |
+
if (!cliprdr || !lockClipboardData)
|
| 302 |
+
return ERROR_INVALID_PARAMETER;
|
| 303 |
+
|
| 304 |
+
return CHANNEL_RC_OK;
|
| 305 |
+
}
|
| 306 |
+
|
| 307 |
+
/**
|
| 308 |
+
* Function description
|
| 309 |
+
*
|
| 310 |
+
* @return 0 on success, otherwise a Win32 error code
|
| 311 |
+
*/
|
| 312 |
+
static UINT android_cliprdr_server_unlock_clipboard_data(
|
| 313 |
+
CliprdrClientContext* cliprdr, const CLIPRDR_UNLOCK_CLIPBOARD_DATA* unlockClipboardData)
|
| 314 |
+
{
|
| 315 |
+
if (!cliprdr || !unlockClipboardData)
|
| 316 |
+
return ERROR_INVALID_PARAMETER;
|
| 317 |
+
|
| 318 |
+
return CHANNEL_RC_OK;
|
| 319 |
+
}
|
| 320 |
+
|
| 321 |
+
/**
|
| 322 |
+
* Function description
|
| 323 |
+
*
|
| 324 |
+
* @return 0 on success, otherwise a Win32 error code
|
| 325 |
+
*/
|
| 326 |
+
static UINT
|
| 327 |
+
android_cliprdr_server_format_data_request(CliprdrClientContext* cliprdr,
|
| 328 |
+
const CLIPRDR_FORMAT_DATA_REQUEST* formatDataRequest)
|
| 329 |
+
{
|
| 330 |
+
UINT rc;
|
| 331 |
+
BYTE* data;
|
| 332 |
+
UINT32 size;
|
| 333 |
+
UINT32 formatId;
|
| 334 |
+
CLIPRDR_FORMAT_DATA_RESPONSE response = { 0 };
|
| 335 |
+
androidContext* afc;
|
| 336 |
+
|
| 337 |
+
if (!cliprdr || !formatDataRequest || !cliprdr->ClientFormatDataResponse)
|
| 338 |
+
return ERROR_INVALID_PARAMETER;
|
| 339 |
+
|
| 340 |
+
afc = (androidContext*)cliprdr->custom;
|
| 341 |
+
|
| 342 |
+
if (!afc)
|
| 343 |
+
return ERROR_INVALID_PARAMETER;
|
| 344 |
+
|
| 345 |
+
formatId = formatDataRequest->requestedFormatId;
|
| 346 |
+
data = (BYTE*)ClipboardGetData(afc->clipboard, formatId, &size);
|
| 347 |
+
response.common.msgFlags = CB_RESPONSE_OK;
|
| 348 |
+
response.common.dataLen = size;
|
| 349 |
+
response.requestedFormatData = data;
|
| 350 |
+
|
| 351 |
+
if (!data)
|
| 352 |
+
{
|
| 353 |
+
response.common.msgFlags = CB_RESPONSE_FAIL;
|
| 354 |
+
response.common.dataLen = 0;
|
| 355 |
+
response.requestedFormatData = NULL;
|
| 356 |
+
}
|
| 357 |
+
|
| 358 |
+
rc = cliprdr->ClientFormatDataResponse(cliprdr, &response);
|
| 359 |
+
free(data);
|
| 360 |
+
return rc;
|
| 361 |
+
}
|
| 362 |
+
|
| 363 |
+
/**
|
| 364 |
+
* Function description
|
| 365 |
+
*
|
| 366 |
+
* @return 0 on success, otherwise a Win32 error code
|
| 367 |
+
*/
|
| 368 |
+
static UINT
|
| 369 |
+
android_cliprdr_server_format_data_response(CliprdrClientContext* cliprdr,
|
| 370 |
+
const CLIPRDR_FORMAT_DATA_RESPONSE* formatDataResponse)
|
| 371 |
+
{
|
| 372 |
+
BYTE* data;
|
| 373 |
+
UINT32 size;
|
| 374 |
+
UINT32 formatId;
|
| 375 |
+
CLIPRDR_FORMAT* format = NULL;
|
| 376 |
+
androidContext* afc;
|
| 377 |
+
freerdp* instance;
|
| 378 |
+
|
| 379 |
+
if (!cliprdr || !formatDataResponse)
|
| 380 |
+
return ERROR_INVALID_PARAMETER;
|
| 381 |
+
|
| 382 |
+
afc = (androidContext*)cliprdr->custom;
|
| 383 |
+
|
| 384 |
+
if (!afc)
|
| 385 |
+
return ERROR_INVALID_PARAMETER;
|
| 386 |
+
|
| 387 |
+
instance = ((rdpContext*)afc)->instance;
|
| 388 |
+
|
| 389 |
+
if (!instance)
|
| 390 |
+
return ERROR_INVALID_PARAMETER;
|
| 391 |
+
|
| 392 |
+
for (UINT32 index = 0; index < afc->numServerFormats; index++)
|
| 393 |
+
{
|
| 394 |
+
if (afc->requestedFormatId == afc->serverFormats[index].formatId)
|
| 395 |
+
format = &(afc->serverFormats[index]);
|
| 396 |
+
}
|
| 397 |
+
|
| 398 |
+
if (!format)
|
| 399 |
+
{
|
| 400 |
+
(void)SetEvent(afc->clipboardRequestEvent);
|
| 401 |
+
return ERROR_INTERNAL_ERROR;
|
| 402 |
+
}
|
| 403 |
+
|
| 404 |
+
if (format->formatName)
|
| 405 |
+
formatId = ClipboardRegisterFormat(afc->clipboard, format->formatName);
|
| 406 |
+
else
|
| 407 |
+
formatId = format->formatId;
|
| 408 |
+
|
| 409 |
+
size = formatDataResponse->common.dataLen;
|
| 410 |
+
|
| 411 |
+
if (!ClipboardSetData(afc->clipboard, formatId, formatDataResponse->requestedFormatData, size))
|
| 412 |
+
return ERROR_INTERNAL_ERROR;
|
| 413 |
+
|
| 414 |
+
(void)SetEvent(afc->clipboardRequestEvent);
|
| 415 |
+
|
| 416 |
+
if ((formatId == CF_TEXT) || (formatId == CF_UNICODETEXT))
|
| 417 |
+
{
|
| 418 |
+
JNIEnv* env;
|
| 419 |
+
jstring jdata;
|
| 420 |
+
jboolean attached;
|
| 421 |
+
formatId = ClipboardRegisterFormat(afc->clipboard, "text/plain");
|
| 422 |
+
data = (void*)ClipboardGetData(afc->clipboard, formatId, &size);
|
| 423 |
+
attached = jni_attach_thread(&env);
|
| 424 |
+
size = strnlen(data, size);
|
| 425 |
+
jdata = jniNewStringUTF(env, data, size);
|
| 426 |
+
freerdp_callback("OnRemoteClipboardChanged", "(JLjava/lang/String;)V", (jlong)instance,
|
| 427 |
+
jdata);
|
| 428 |
+
(*env)->DeleteLocalRef(env, jdata);
|
| 429 |
+
|
| 430 |
+
if (attached == JNI_TRUE)
|
| 431 |
+
jni_detach_thread();
|
| 432 |
+
}
|
| 433 |
+
|
| 434 |
+
return CHANNEL_RC_OK;
|
| 435 |
+
}
|
| 436 |
+
|
| 437 |
+
/**
|
| 438 |
+
* Function description
|
| 439 |
+
*
|
| 440 |
+
* @return 0 on success, otherwise a Win32 error code
|
| 441 |
+
*/
|
| 442 |
+
static UINT android_cliprdr_server_file_contents_request(
|
| 443 |
+
CliprdrClientContext* cliprdr, const CLIPRDR_FILE_CONTENTS_REQUEST* fileContentsRequest)
|
| 444 |
+
{
|
| 445 |
+
if (!cliprdr || !fileContentsRequest)
|
| 446 |
+
return ERROR_INVALID_PARAMETER;
|
| 447 |
+
|
| 448 |
+
return CHANNEL_RC_OK;
|
| 449 |
+
}
|
| 450 |
+
|
| 451 |
+
/**
|
| 452 |
+
* Function description
|
| 453 |
+
*
|
| 454 |
+
* @return 0 on success, otherwise a Win32 error code
|
| 455 |
+
*/
|
| 456 |
+
static UINT android_cliprdr_server_file_contents_response(
|
| 457 |
+
CliprdrClientContext* cliprdr, const CLIPRDR_FILE_CONTENTS_RESPONSE* fileContentsResponse)
|
| 458 |
+
{
|
| 459 |
+
if (!cliprdr || !fileContentsResponse)
|
| 460 |
+
return ERROR_INVALID_PARAMETER;
|
| 461 |
+
|
| 462 |
+
return CHANNEL_RC_OK;
|
| 463 |
+
}
|
| 464 |
+
|
| 465 |
+
BOOL android_cliprdr_init(androidContext* afc, CliprdrClientContext* cliprdr)
|
| 466 |
+
{
|
| 467 |
+
wClipboard* clipboard;
|
| 468 |
+
HANDLE hevent;
|
| 469 |
+
|
| 470 |
+
if (!afc || !cliprdr)
|
| 471 |
+
return FALSE;
|
| 472 |
+
|
| 473 |
+
if (!(hevent = CreateEvent(NULL, TRUE, FALSE, NULL)))
|
| 474 |
+
return FALSE;
|
| 475 |
+
|
| 476 |
+
if (!(clipboard = ClipboardCreate()))
|
| 477 |
+
{
|
| 478 |
+
(void)CloseHandle(hevent);
|
| 479 |
+
return FALSE;
|
| 480 |
+
}
|
| 481 |
+
|
| 482 |
+
afc->cliprdr = cliprdr;
|
| 483 |
+
afc->clipboard = clipboard;
|
| 484 |
+
afc->clipboardRequestEvent = hevent;
|
| 485 |
+
cliprdr->custom = (void*)afc;
|
| 486 |
+
cliprdr->MonitorReady = android_cliprdr_monitor_ready;
|
| 487 |
+
cliprdr->ServerCapabilities = android_cliprdr_server_capabilities;
|
| 488 |
+
cliprdr->ServerFormatList = android_cliprdr_server_format_list;
|
| 489 |
+
cliprdr->ServerFormatListResponse = android_cliprdr_server_format_list_response;
|
| 490 |
+
cliprdr->ServerLockClipboardData = android_cliprdr_server_lock_clipboard_data;
|
| 491 |
+
cliprdr->ServerUnlockClipboardData = android_cliprdr_server_unlock_clipboard_data;
|
| 492 |
+
cliprdr->ServerFormatDataRequest = android_cliprdr_server_format_data_request;
|
| 493 |
+
cliprdr->ServerFormatDataResponse = android_cliprdr_server_format_data_response;
|
| 494 |
+
cliprdr->ServerFileContentsRequest = android_cliprdr_server_file_contents_request;
|
| 495 |
+
cliprdr->ServerFileContentsResponse = android_cliprdr_server_file_contents_response;
|
| 496 |
+
return TRUE;
|
| 497 |
+
}
|
| 498 |
+
|
| 499 |
+
BOOL android_cliprdr_uninit(androidContext* afc, CliprdrClientContext* cliprdr)
|
| 500 |
+
{
|
| 501 |
+
if (!afc || !cliprdr)
|
| 502 |
+
return FALSE;
|
| 503 |
+
|
| 504 |
+
cliprdr->custom = NULL;
|
| 505 |
+
afc->cliprdr = NULL;
|
| 506 |
+
ClipboardDestroy(afc->clipboard);
|
| 507 |
+
(void)CloseHandle(afc->clipboardRequestEvent);
|
| 508 |
+
return TRUE;
|
| 509 |
+
}
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/cpp/android_jni_callback.h
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/**
|
| 2 |
+
* FreeRDP: A Remote Desktop Protocol Implementation
|
| 3 |
+
* Android JNI Callback Helpers
|
| 4 |
+
*
|
| 5 |
+
* Copyright 2010-2012 Marc-Andre Moreau <[email protected]>
|
| 6 |
+
* Copyright 2011-2013 Thincast Technologies GmbH, Author: Martin Fleisz
|
| 7 |
+
*
|
| 8 |
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
| 9 |
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
| 10 |
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
| 11 |
+
*/
|
| 12 |
+
|
| 13 |
+
#ifndef FREERDP_CLIENT_ANDROID_JNI_CALLBACK_H
|
| 14 |
+
#define FREERDP_CLIENT_ANDROID_JNI_CALLBACK_H
|
| 15 |
+
|
| 16 |
+
#include <jni.h>
|
| 17 |
+
#include <stdarg.h>
|
| 18 |
+
#include <freerdp/api.h>
|
| 19 |
+
|
| 20 |
+
FREERDP_LOCAL jint init_callback_environment(JavaVM* vm, JNIEnv* env);
|
| 21 |
+
FREERDP_LOCAL jboolean jni_attach_thread(JNIEnv** env);
|
| 22 |
+
FREERDP_LOCAL void jni_detach_thread(void);
|
| 23 |
+
FREERDP_LOCAL void freerdp_callback(const char* callback, const char* signature, ...);
|
| 24 |
+
FREERDP_LOCAL jboolean freerdp_callback_bool_result(const char* callback, const char* signature,
|
| 25 |
+
...);
|
| 26 |
+
FREERDP_LOCAL jint freerdp_callback_int_result(const char* callback, const char* signature, ...);
|
| 27 |
+
|
| 28 |
+
#endif /* FREERDP_CLIENT_ANDROID_JNI_CALLBACK_H */
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/cpp/android_jni_utils.c
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/**
|
| 2 |
+
* FreeRDP: A Remote Desktop Protocol Implementation
|
| 3 |
+
* Android Event System
|
| 4 |
+
*
|
| 5 |
+
* Copyright 2013 Felix Long
|
| 6 |
+
* Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
|
| 7 |
+
*
|
| 8 |
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
| 9 |
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
| 10 |
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
| 11 |
+
*/
|
| 12 |
+
|
| 13 |
+
#include "android_jni_utils.h"
|
| 14 |
+
|
| 15 |
+
#include <locale.h>
|
| 16 |
+
#include <freerdp/channels/channels.h>
|
| 17 |
+
#include <freerdp/log.h>
|
| 18 |
+
|
| 19 |
+
#include "android_jni_callback.h"
|
| 20 |
+
|
| 21 |
+
#define TAG CLIENT_TAG("android.utils")
|
| 22 |
+
|
| 23 |
+
JavaVM* g_JavaVm;
|
| 24 |
+
|
| 25 |
+
JavaVM* getJavaVM()
|
| 26 |
+
{
|
| 27 |
+
return g_JavaVm;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
JNIEnv* getJNIEnv()
|
| 31 |
+
{
|
| 32 |
+
JNIEnv* env = NULL;
|
| 33 |
+
if ((*g_JavaVm)->GetEnv(g_JavaVm, (void**)&env, JNI_VERSION_1_4) != JNI_OK)
|
| 34 |
+
{
|
| 35 |
+
WLog_FATAL(TAG, "Failed to obtain JNIEnv");
|
| 36 |
+
return NULL;
|
| 37 |
+
}
|
| 38 |
+
return env;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
jobject create_string_builder(JNIEnv* env, char* initialStr)
|
| 42 |
+
{
|
| 43 |
+
jclass cls;
|
| 44 |
+
jmethodID methodId;
|
| 45 |
+
jobject obj;
|
| 46 |
+
|
| 47 |
+
// get class
|
| 48 |
+
cls = (*env)->FindClass(env, "java/lang/StringBuilder");
|
| 49 |
+
if (!cls)
|
| 50 |
+
return NULL;
|
| 51 |
+
|
| 52 |
+
if (initialStr)
|
| 53 |
+
{
|
| 54 |
+
// get method id for constructor
|
| 55 |
+
methodId = (*env)->GetMethodID(env, cls, "<init>", "(Ljava/lang/String;)V");
|
| 56 |
+
if (!methodId)
|
| 57 |
+
return NULL;
|
| 58 |
+
|
| 59 |
+
// create string that holds our initial string
|
| 60 |
+
jstring jstr = (*env)->NewStringUTF(env, initialStr);
|
| 61 |
+
|
| 62 |
+
// construct new StringBuilder
|
| 63 |
+
obj = (*env)->NewObject(env, cls, methodId, jstr);
|
| 64 |
+
}
|
| 65 |
+
else
|
| 66 |
+
{
|
| 67 |
+
// get method id for constructor
|
| 68 |
+
methodId = (*env)->GetMethodID(env, cls, "<init>", "()V");
|
| 69 |
+
if (!methodId)
|
| 70 |
+
return NULL;
|
| 71 |
+
|
| 72 |
+
// construct new StringBuilder
|
| 73 |
+
obj = (*env)->NewObject(env, cls, methodId);
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
return obj;
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
char* get_string_from_string_builder(JNIEnv* env, jobject strBuilder)
|
| 80 |
+
{
|
| 81 |
+
jclass cls;
|
| 82 |
+
jmethodID methodId;
|
| 83 |
+
jstring strObj;
|
| 84 |
+
const char* native_str;
|
| 85 |
+
char* result;
|
| 86 |
+
|
| 87 |
+
// get class
|
| 88 |
+
cls = (*env)->FindClass(env, "java/lang/StringBuilder");
|
| 89 |
+
if (!cls)
|
| 90 |
+
return NULL;
|
| 91 |
+
|
| 92 |
+
// get method id for constructor
|
| 93 |
+
methodId = (*env)->GetMethodID(env, cls, "toString", "()Ljava/lang/String;");
|
| 94 |
+
if (!methodId)
|
| 95 |
+
return NULL;
|
| 96 |
+
|
| 97 |
+
// get jstring representation of our buffer
|
| 98 |
+
strObj = (*env)->CallObjectMethod(env, strBuilder, methodId);
|
| 99 |
+
|
| 100 |
+
// read string
|
| 101 |
+
native_str = (*env)->GetStringUTFChars(env, strObj, NULL);
|
| 102 |
+
if (!native_str)
|
| 103 |
+
return NULL;
|
| 104 |
+
result = _strdup(native_str);
|
| 105 |
+
(*env)->ReleaseStringUTFChars(env, strObj, native_str);
|
| 106 |
+
|
| 107 |
+
return result;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
jstring jniNewStringUTF(JNIEnv* env, const char* in, int len)
|
| 111 |
+
{
|
| 112 |
+
jstring out = NULL;
|
| 113 |
+
jchar* unicode = NULL;
|
| 114 |
+
jint result_size = 0;
|
| 115 |
+
unsigned char* utf8 = (unsigned char*)in;
|
| 116 |
+
|
| 117 |
+
if (!in)
|
| 118 |
+
{
|
| 119 |
+
return NULL;
|
| 120 |
+
}
|
| 121 |
+
if (len < 0)
|
| 122 |
+
len = strlen(in);
|
| 123 |
+
|
| 124 |
+
unicode = (jchar*)malloc(sizeof(jchar) * (len + 1));
|
| 125 |
+
if (!unicode)
|
| 126 |
+
{
|
| 127 |
+
return NULL;
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
for (jint i = 0; i < len; i++)
|
| 131 |
+
{
|
| 132 |
+
unsigned char one = utf8[i];
|
| 133 |
+
switch (one >> 4)
|
| 134 |
+
{
|
| 135 |
+
case 0x00:
|
| 136 |
+
case 0x01:
|
| 137 |
+
case 0x02:
|
| 138 |
+
case 0x03:
|
| 139 |
+
case 0x04:
|
| 140 |
+
case 0x05:
|
| 141 |
+
case 0x06:
|
| 142 |
+
case 0x07:
|
| 143 |
+
unicode[result_size++] = one;
|
| 144 |
+
break;
|
| 145 |
+
case 0x08:
|
| 146 |
+
case 0x09:
|
| 147 |
+
case 0x0a:
|
| 148 |
+
case 0x0b:
|
| 149 |
+
// case 0x0f:
|
| 150 |
+
/*
|
| 151 |
+
* Bit pattern 10xx or 1111, which are illegal start bytes.
|
| 152 |
+
* Note: 1111 is valid for normal UTF-8, but not the
|
| 153 |
+
* modified UTF-8 used here.
|
| 154 |
+
*/
|
| 155 |
+
break;
|
| 156 |
+
case 0x0f:
|
| 157 |
+
case 0x0e:
|
| 158 |
+
// Bit pattern 111x, so there are two additional bytes.
|
| 159 |
+
if (i < (len - 2))
|
| 160 |
+
{
|
| 161 |
+
unsigned char two = utf8[i + 1];
|
| 162 |
+
unsigned char three = utf8[i + 2];
|
| 163 |
+
if ((two & 0xc0) == 0x80 && (three & 0xc0) == 0x80)
|
| 164 |
+
{
|
| 165 |
+
i += 2;
|
| 166 |
+
unicode[result_size++] =
|
| 167 |
+
((one & 0x0f) << 12) | ((two & 0x3f) << 6) | (three & 0x3f);
|
| 168 |
+
}
|
| 169 |
+
}
|
| 170 |
+
break;
|
| 171 |
+
case 0x0c:
|
| 172 |
+
case 0x0d:
|
| 173 |
+
// Bit pattern 110x, so there is one additional byte.
|
| 174 |
+
if (i < (len - 1))
|
| 175 |
+
{
|
| 176 |
+
unsigned char two = utf8[i + 1];
|
| 177 |
+
if ((two & 0xc0) == 0x80)
|
| 178 |
+
{
|
| 179 |
+
i += 1;
|
| 180 |
+
unicode[result_size++] = ((one & 0x1f) << 6) | (two & 0x3f);
|
| 181 |
+
}
|
| 182 |
+
}
|
| 183 |
+
break;
|
| 184 |
+
}
|
| 185 |
+
}
|
| 186 |
+
|
| 187 |
+
out = (*env)->NewString(env, unicode, result_size);
|
| 188 |
+
free(unicode);
|
| 189 |
+
|
| 190 |
+
return out;
|
| 191 |
+
}
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/activity_about.xml
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| 3 |
+
xmlns:tools="http://schemas.android.com/tools"
|
| 4 |
+
android:layout_width="fill_parent"
|
| 5 |
+
android:layout_height="fill_parent"
|
| 6 |
+
tools:context="com.freerdp.freerdpcore.presentation.AboutActivity">
|
| 7 |
+
|
| 8 |
+
<WebView
|
| 9 |
+
android:id="@+id/activity_about_webview"
|
| 10 |
+
android:layout_width="fill_parent"
|
| 11 |
+
android:layout_height="fill_parent"/>
|
| 12 |
+
</LinearLayout>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/home.xml
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?><!--
|
| 2 |
+
/*
|
| 3 |
+
Main screen layout
|
| 4 |
+
|
| 5 |
+
Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
|
| 6 |
+
|
| 7 |
+
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
| 8 |
+
If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
| 9 |
+
*/
|
| 10 |
+
-->
|
| 11 |
+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| 12 |
+
android:layout_width="match_parent"
|
| 13 |
+
android:layout_height="match_parent">
|
| 14 |
+
|
| 15 |
+
<!-- Dummy item to prevent SuperBarView from receiving focus (and showing the keyboard) -->
|
| 16 |
+
|
| 17 |
+
<LinearLayout
|
| 18 |
+
android:layout_width="0px"
|
| 19 |
+
android:layout_height="0px"
|
| 20 |
+
android:focusable="true"
|
| 21 |
+
android:focusableInTouchMode="true" />
|
| 22 |
+
|
| 23 |
+
<include
|
| 24 |
+
android:id="@+id/superBar"
|
| 25 |
+
layout="@layout/super_bar"
|
| 26 |
+
android:layout_alignParentTop="true" />
|
| 27 |
+
|
| 28 |
+
<ListView
|
| 29 |
+
android:id="@+id/listViewBookmarks"
|
| 30 |
+
android:layout_width="match_parent"
|
| 31 |
+
android:layout_height="match_parent"
|
| 32 |
+
android:layout_below="@id/superBar"
|
| 33 |
+
android:divider="@android:drawable/divider_horizontal_dark"
|
| 34 |
+
android:dividerHeight="1dp" />
|
| 35 |
+
|
| 36 |
+
</RelativeLayout>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-es/strings.xml
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<resources>
|
| 3 |
+
<!-- Button labels -->
|
| 4 |
+
<string name="yes">Si</string>
|
| 5 |
+
<string name="no">No</string>
|
| 6 |
+
<string name="cancel">Cancelar</string>
|
| 7 |
+
<string name="cont">Continuar</string>
|
| 8 |
+
<string name="login">Ingresar</string>
|
| 9 |
+
<string name="logout">Salir</string>
|
| 10 |
+
<!-- Home menu items -->
|
| 11 |
+
<string name="menu_exit">Salida</string>
|
| 12 |
+
<string name="menu_about">Sobre</string>
|
| 13 |
+
<string name="menu_help">Ayuda</string>
|
| 14 |
+
<string name="menu_new_bookmark">Nueva conexión</string>
|
| 15 |
+
<string name="menu_app_settings">Configuracion</string>
|
| 16 |
+
<!-- Bookmark menu items -->
|
| 17 |
+
<string name="menu_title_bookmark">Conexión</string>
|
| 18 |
+
<string name="menu_connect">Conectar</string>
|
| 19 |
+
<string name="menu_edit">Editar</string>
|
| 20 |
+
<string name="menu_delete">Borrar</string>
|
| 21 |
+
<!-- Session menu items -->
|
| 22 |
+
<string name="menu_sys_keyboard">Teclado</string>
|
| 23 |
+
<string name="menu_ext_keyboard">Funcion teclado</string>
|
| 24 |
+
<string name="menu_touch_pointer">Puntero Tactil</string>
|
| 25 |
+
<string name="menu_home">Inicio</string>
|
| 26 |
+
<string name="menu_disconnect">Desconectart</string>
|
| 27 |
+
<!-- List section headers -->
|
| 28 |
+
<string name="section_bookmarks">Conexión Manual</string>
|
| 29 |
+
<string name="section_active_sessions">Sesiones Activas</string>
|
| 30 |
+
<!-- Search strings -->
|
| 31 |
+
<string name="search_hint">Connect to Computer</string>
|
| 32 |
+
<!-- List placeholder labels -->
|
| 33 |
+
<string name="list_placeholder_login">Login</string>
|
| 34 |
+
<string name="list_placeholder_no_servers">No hay escritorios virtuales</string>
|
| 35 |
+
<string name="list_placeholder_connecting">Conectando ...</string>
|
| 36 |
+
<string name="list_placeholder_disconnecting">Desconectando ...</string>
|
| 37 |
+
<string name="list_placeholder_connection_error">Conexión perdida</string>
|
| 38 |
+
<string name="list_placeholder_wrong_password">Contraseña equivocada</string>
|
| 39 |
+
<string name="list_placeholder_invalid_username">Usuario Invalido</string>
|
| 40 |
+
<string name="list_placeholder_add_bookmark">Add Connection</string>
|
| 41 |
+
<!-- Bookmark settings strings -->
|
| 42 |
+
<string name="settings_cat_host">Host</string>
|
| 43 |
+
<string name="settings_label">Su nombre</string>
|
| 44 |
+
<string name="settings_hostname">IP</string>
|
| 45 |
+
<string name="settings_port">Puerto</string>
|
| 46 |
+
<string name="settings_cat_credentials">Credenciales</string>
|
| 47 |
+
<string name="settings_credentials">Credenciales</string>
|
| 48 |
+
<string name="settings_username">Usuario</string>
|
| 49 |
+
<string name="settings_password">Contraseña</string>
|
| 50 |
+
<string name="settings_domain">Dominio</string>
|
| 51 |
+
<string name="settings_cat_settings">Configuracion</string>
|
| 52 |
+
<string name="settings_screen">Pantalla</string>
|
| 53 |
+
<string name="settings_cat_screen">Configuracion Pantalla</string>
|
| 54 |
+
<string name="settings_colors">Colores</string>
|
| 55 |
+
<string-array name="colors_array">
|
| 56 |
+
<item>Gama de colores (8 Bit)</item>
|
| 57 |
+
<item>Calidad Normal (15 Bit)</item>
|
| 58 |
+
<item>Calidad Normal (16 Bit)</item>
|
| 59 |
+
<item>Calidad Optima (24 Bit)</item>
|
| 60 |
+
<item>Calidad maxima (32 Bit)</item>
|
| 61 |
+
</string-array>
|
| 62 |
+
<string name="settings_resolution">Resolucion</string>
|
| 63 |
+
<string name="resolution_automatic">Automatico</string>
|
| 64 |
+
<string name="resolution_fit">Pantalla</string>
|
| 65 |
+
<string name="resolution_custom">Manual</string>
|
| 66 |
+
<string-array name="resolutions_array">
|
| 67 |
+
<item>Automatico</item>
|
| 68 |
+
<item>Ajuste a la pantalla</item>
|
| 69 |
+
<item>Manual</item>
|
| 70 |
+
<item>640x480</item>
|
| 71 |
+
<item>720x480</item>
|
| 72 |
+
<item>800x600</item>
|
| 73 |
+
<item>1024x768</item>
|
| 74 |
+
<item>1280x1024</item>
|
| 75 |
+
<item>1440x900</item>
|
| 76 |
+
<item>1920x1080</item>
|
| 77 |
+
<item>1920x1200</item>
|
| 78 |
+
</string-array>
|
| 79 |
+
<!-- end protected string section -->
|
| 80 |
+
<string name="settings_width">Ancho</string>
|
| 81 |
+
<string name="settings_height">Altura</string>
|
| 82 |
+
<string name="settings_performance">Rendimiento</string>
|
| 83 |
+
<string name="settings_cat_performance">Configuracion Rendimiento</string>
|
| 84 |
+
<string name="settings_perf_remotefx">RemoteFX</string>
|
| 85 |
+
<string name="settings_perf_wallpaper">Fondo escritorio</string>
|
| 86 |
+
<string name="settings_perf_font_smoothing">Fuente suave</string>
|
| 87 |
+
<string name="settings_perf_desktop_composition">Composicion escritorio</string>
|
| 88 |
+
<string name="settings_perf_full_window_drag">Contenidos de la ventana mientras se arrastra</string>
|
| 89 |
+
<string name="settings_perf_menu_animation">Animacion del menu</string>
|
| 90 |
+
<string name="settings_perf_theming">Estilo visual</string>
|
| 91 |
+
<string name="settings_advanced">Avanzado</string>
|
| 92 |
+
<string name="settings_cat_advanced">Configuracion Avanzada</string>
|
| 93 |
+
<string name="settings_enable_3g_settings">Configuracion 3G</string>
|
| 94 |
+
<string name="settings_screen_3g">Pantalla 3G</string>
|
| 95 |
+
<string name="settings_performance_3g">Rendimiento 3G</string>
|
| 96 |
+
<string name="settings_cat_gateway">Gateway</string>
|
| 97 |
+
<string name="settings_enable_gateway_settings">Enable Gateway</string>
|
| 98 |
+
<string name="settings_gateway_settings">Gateway Settings</string>
|
| 99 |
+
<string name="settings_redirect_sdcard">Redirect SDCard</string>
|
| 100 |
+
<string name="settings_redirect_sound">Redirect Sound</string>
|
| 101 |
+
<string-array name="redirect_sound_array">
|
| 102 |
+
<item>Do not play</item>
|
| 103 |
+
<item>Play on Server</item>
|
| 104 |
+
<item>Play on Device</item>
|
| 105 |
+
</string-array>
|
| 106 |
+
<string name="settings_redirect_microphone">Redirect Microphone</string>
|
| 107 |
+
<string name="settings_security">Seguridad</string>
|
| 108 |
+
<string-array name="security_array">
|
| 109 |
+
<item>Automatico</item>
|
| 110 |
+
<item>RDP</item>
|
| 111 |
+
<item>TLS</item>
|
| 112 |
+
<item>NLA</item>
|
| 113 |
+
</string-array>
|
| 114 |
+
<string name="settings_remote_program">Programa Remoto</string>
|
| 115 |
+
<string name="settings_work_dir">Directorio de trabajo</string>
|
| 116 |
+
<string name="settings_async_channel">Async channel</string>
|
| 117 |
+
<string name="settings_async_update">Async update</string>
|
| 118 |
+
<string name="settings_console_mode">Modo Consola</string>
|
| 119 |
+
<!-- App settings strings -->
|
| 120 |
+
<string name="settings_password_present">*******</string>
|
| 121 |
+
<string name="settings_password_empty">no configurado</string>
|
| 122 |
+
<string name="settings_cat_ui">Interfaze Usuario</string>
|
| 123 |
+
<string name="settings_ui_hide_status_bar">Ocultar barra de estado</string>
|
| 124 |
+
<string name="settings_ui_hide_action_bar">\"Ocultar barra de acción\"</string>
|
| 125 |
+
<string name="settings_ui_hide_zoom_controls">Ocultar controles de zoom</string>
|
| 126 |
+
<string name="settings_ui_swap_mouse_buttons">Intercambiar botones del mouse</string>
|
| 127 |
+
<string name="settings_ui_invert_scrolling">invertir desplazamiento</string>
|
| 128 |
+
<string name="settings_ui_auto_scroll_touchpointer">Puntero táctil de desplazamiento automático</string>
|
| 129 |
+
<string name="settings_ui_ask_on_exit">Mostrar cuadro de diálogo en la salida</string>
|
| 130 |
+
<string name="settings_ui_use_back_as_altf4">Usar el botón "atrás" como Alt+F4</string>
|
| 131 |
+
<string name="settings_cat_power">Ahorro de energía</string>
|
| 132 |
+
<string name="settings_power_disconnect_timeout">Cerrar las conexiones inactivas</string>
|
| 133 |
+
<string name="settings_cat_security">Seguridad</string>
|
| 134 |
+
<string name="settings_security_accept_certificates">Aceptar todos los certificados</string>
|
| 135 |
+
<string name="settings_security_clear_certificate_cache">Borrar el Cache de los certificados</string>
|
| 136 |
+
<string name="settings_description_after_minutes">Despues %1$d Minutos</string>
|
| 137 |
+
<string name="settings_description_disabled">Desabilitado</string>
|
| 138 |
+
<!-- Activity titles -->
|
| 139 |
+
<string name="title_bookmark_settings">Configuración de la conexión</string>
|
| 140 |
+
<string name="title_application_settings">Configuración</string>
|
| 141 |
+
<string name="title_home">aFreeRDP - aFreeRDP para Android</string>
|
| 142 |
+
<string name="title_create_shortcut">Conexiones RDP</string>
|
| 143 |
+
<string name="title_help">Ayuda</string>
|
| 144 |
+
<string name="title_about">Sobre</string>
|
| 145 |
+
<!-- Error message strings -->
|
| 146 |
+
<string name="error_bookmark_incomplete_title">Cancelar sin guardar?</string>
|
| 147 |
+
<string name="error_bookmark_incomplete">Pulse el botón "Cancelar" para abortar! \ NPulse "Continuar" para especificar los campos obligatorios!</string>
|
| 148 |
+
<string name="error_connection_failure">Failed to establish a connection to the server!</string>
|
| 149 |
+
<!-- Info message strings -->
|
| 150 |
+
<string name="info_capabilities_changed">Los ajustes de pantalla se han cambiado porque el escritorio virtual no es compatible con la configuración especificada!</string>
|
| 151 |
+
<string name="info_reset_success">Eliminado el cache del certificado!</string>
|
| 152 |
+
<string name="info_reset_failed">No se pudo borrar el caché del certificado!</string>
|
| 153 |
+
<!-- Dialog strings -->
|
| 154 |
+
<string name="dlg_title_verify_certificate">verificar el certificado</string>
|
| 155 |
+
<string name="dlg_msg_verify_certificate">The identity of the remote computer cannot be verified. Do you want to connect anyway?</string>
|
| 156 |
+
<string name="dlg_title_credentials">Por favor, introduzca sus credenciales</string>
|
| 157 |
+
<string name="dlg_title_create_shortcut">Crear acceso directo</string>
|
| 158 |
+
<string name="dlg_msg_create_shortcut">Nombre corto:</string>
|
| 159 |
+
<string name="dlg_msg_connecting">Conectando ...</string>
|
| 160 |
+
<string name="dlg_msg_logging_in">Ingresando a ...</string>
|
| 161 |
+
<string name="dlg_title_about">Sobre aFreeRDP</string>
|
| 162 |
+
<string name="dlg_title_create_bookmark_after_qc">Guardar configuración de conexión?</string>
|
| 163 |
+
<string name="dlg_msg_create_bookmark_after_qc">La configuración de conexión no se han guardado! ¿Quieres guardarlos?</string>
|
| 164 |
+
<string name="dlg_title_save_bookmark">Guardar Conexión</string>
|
| 165 |
+
<string name="dlg_save_bookmark">¿Desea guardar los cambios realizados en la configuración de conexión?</string>
|
| 166 |
+
<string name="dlg_dont_show_again">No volver a preguntar</string>
|
| 167 |
+
<string name="dlg_title_exit">Salir del programa?</string>
|
| 168 |
+
<string name="dlg_msg_exit">Esta seguro que desea salir del programa?</string>
|
| 169 |
+
<string name="dlg_title_clear_cert_cache">Borrar Certificados?</string>
|
| 170 |
+
<string name="dlg_msg_clear_cert_cache">Esta seguro que desea borrar todos los certificados?</string>
|
| 171 |
+
<string name="debug_level">Debug Level</string>
|
| 172 |
+
<string name="settings_debug">Debug Settings</string>
|
| 173 |
+
<string name="preference_title_client">Cliente</string>
|
| 174 |
+
<string name="settings_cat_client">Cliente</string>
|
| 175 |
+
<string name="preference_title_client_name">Identificador del cliente</string>
|
| 176 |
+
</resources>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-ko/strings.xml
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<resources>
|
| 3 |
+
<!-- Button labels -->
|
| 4 |
+
<string name="yes">예</string>
|
| 5 |
+
<string name="no">아니오</string>
|
| 6 |
+
<string name="cancel">취소</string>
|
| 7 |
+
<string name="cont">계속</string>
|
| 8 |
+
<string name="login">로그인</string>
|
| 9 |
+
<string name="logout">로그아웃</string>
|
| 10 |
+
<!-- Home menu items -->
|
| 11 |
+
<string name="menu_exit">종료</string>
|
| 12 |
+
<string name="menu_about">정보</string>
|
| 13 |
+
<string name="menu_help">도움</string>
|
| 14 |
+
<string name="menu_new_bookmark">새 연결</string>
|
| 15 |
+
<string name="menu_app_settings">설정</string>
|
| 16 |
+
<!-- Bookmark menu items -->
|
| 17 |
+
<string name="menu_title_bookmark">연결</string>
|
| 18 |
+
<string name="menu_connect">연결하기</string>
|
| 19 |
+
<string name="menu_edit">수정</string>
|
| 20 |
+
<string name="menu_delete">삭제</string>
|
| 21 |
+
<!-- Session menu items -->
|
| 22 |
+
<string name="menu_sys_keyboard">키보드</string>
|
| 23 |
+
<string name="menu_ext_keyboard">기능 키</string>
|
| 24 |
+
<string name="menu_touch_pointer">터치 포인터</string>
|
| 25 |
+
<string name="menu_home">홈</string>
|
| 26 |
+
<string name="menu_disconnect">연결종료</string>
|
| 27 |
+
<!-- List section headers -->
|
| 28 |
+
<string name="section_bookmarks">수동 연결</string>
|
| 29 |
+
<string name="section_active_sessions">연결 중인 세션</string>
|
| 30 |
+
<!-- Search strings -->
|
| 31 |
+
<string name="search_hint">컴퓨터에 연결하기</string>
|
| 32 |
+
<!-- List placeholder labels -->
|
| 33 |
+
<string name="list_placeholder_login">로그인</string>
|
| 34 |
+
<string name="list_placeholder_no_servers">서버가 없습니다</string>
|
| 35 |
+
<string name="list_placeholder_connecting">연결중 …</string>
|
| 36 |
+
<string name="list_placeholder_disconnecting">연결종료중 …</string>
|
| 37 |
+
<string name="list_placeholder_connection_error">연결이 끊겼습니다</string>
|
| 38 |
+
<string name="list_placeholder_wrong_password">비밀번호가 다릅니다</string>
|
| 39 |
+
<string name="list_placeholder_invalid_username">사용자 이름이 다릅니다</string>
|
| 40 |
+
<string name="list_placeholder_add_bookmark">연결 추가</string>
|
| 41 |
+
<!-- Bookmark settings strings -->
|
| 42 |
+
<string name="settings_cat_host">호스트</string>
|
| 43 |
+
<string name="settings_label">이름</string>
|
| 44 |
+
<string name="settings_hostname">호스트 이름</string>
|
| 45 |
+
<string name="settings_port">포트</string>
|
| 46 |
+
<string name="settings_cat_credentials">계정</string>
|
| 47 |
+
<string name="settings_credentials">계정</string>
|
| 48 |
+
<string name="settings_username">사용자 이름</string>
|
| 49 |
+
<string name="settings_password">비밀번호</string>
|
| 50 |
+
<string name="settings_domain">도메인</string>
|
| 51 |
+
<string name="settings_cat_settings">설정</string>
|
| 52 |
+
<string name="settings_screen">화면</string>
|
| 53 |
+
<string name="settings_cat_screen">화면 설정</string>
|
| 54 |
+
<string name="settings_colors">색</string>
|
| 55 |
+
<string-array name="colors_array">
|
| 56 |
+
<item>Palette (8 Bit)</item>
|
| 57 |
+
<item>High Color (15 Bit)</item>
|
| 58 |
+
<item>High Color (16 Bit)</item>
|
| 59 |
+
<item>True Color (24 Bit)</item>
|
| 60 |
+
<item>Highest Quality (32 Bit)</item>
|
| 61 |
+
</string-array>
|
| 62 |
+
<string name="settings_resolution">해상도</string>
|
| 63 |
+
<string name="resolution_automatic">자동</string>
|
| 64 |
+
<string name="resolution_fit">화면에 맞게</string>
|
| 65 |
+
<string name="resolution_custom">수동</string>
|
| 66 |
+
<string-array name="resolutions_array">
|
| 67 |
+
<item>자동</item>
|
| 68 |
+
<item>화면에 맞게</item>
|
| 69 |
+
<item>수동</item>
|
| 70 |
+
<item>640x480</item>
|
| 71 |
+
<item>720x480</item>
|
| 72 |
+
<item>800x600</item>
|
| 73 |
+
<item>1024x768</item>
|
| 74 |
+
<item>1280x1024</item>
|
| 75 |
+
<item>1440x900</item>
|
| 76 |
+
<item>1920x1080</item>
|
| 77 |
+
<item>1920x1200</item>
|
| 78 |
+
</string-array>
|
| 79 |
+
<string name="settings_width">너비</string>
|
| 80 |
+
<string name="settings_height">높이</string>
|
| 81 |
+
<string name="settings_performance">성능</string>
|
| 82 |
+
<string name="settings_cat_performance">성능 설정</string>
|
| 83 |
+
<string name="settings_perf_remotefx">RemoteFX</string>
|
| 84 |
+
<string name="settings_perf_wallpaper">데스크톱 배경</string>
|
| 85 |
+
<string name="settings_perf_font_smoothing">부드러운 폰트</string>
|
| 86 |
+
<string name="settings_perf_desktop_composition">데스크톱 구성</string>
|
| 87 |
+
<string name="settings_perf_full_window_drag">윈도 끄는 동안 윈도 내용</string>
|
| 88 |
+
<string name="settings_perf_menu_animation">메뉴 에니메이션</string>
|
| 89 |
+
<string name="settings_perf_theming">테마 스타일</string>
|
| 90 |
+
<string name="settings_advanced">고급</string>
|
| 91 |
+
<string name="settings_cat_advanced">고급 설정</string>
|
| 92 |
+
<string name="settings_enable_3g_settings">3G 설정</string>
|
| 93 |
+
<string name="settings_screen_3g">3G 화면</string>
|
| 94 |
+
<string name="settings_performance_3g">3G 성능</string>
|
| 95 |
+
<string name="settings_cat_gateway">게이트웨이</string>
|
| 96 |
+
<string name="settings_enable_gateway_settings">게이트웨이 사용</string>
|
| 97 |
+
<string name="settings_gateway_settings">게이트��이 설정</string>
|
| 98 |
+
<string name="settings_redirect_sdcard">SDCard로 전달</string>
|
| 99 |
+
<string name="settings_redirect_sound">Sound 전달</string>
|
| 100 |
+
<string-array name="redirect_sound_array">
|
| 101 |
+
<item>플레이 하지 않음</item>
|
| 102 |
+
<item>서버에서 플레이</item>
|
| 103 |
+
<item>기기에서 플레이</item>
|
| 104 |
+
</string-array>
|
| 105 |
+
<string name="settings_redirect_microphone">마이크 리다이렉트</string>
|
| 106 |
+
<string name="settings_security">보안</string>
|
| 107 |
+
<string-array name="security_array">
|
| 108 |
+
<item>자동</item>
|
| 109 |
+
<item>RDP</item>
|
| 110 |
+
<item>TLS</item>
|
| 111 |
+
<item>NLA</item>
|
| 112 |
+
</string-array>
|
| 113 |
+
<string name="settings_remote_program">원격 프로그램</string>
|
| 114 |
+
<string name="settings_work_dir">작업 디렉터리</string>
|
| 115 |
+
<string name="settings_async_channel">비동기 채널</string>
|
| 116 |
+
<string name="settings_async_update">비동기 갱신</string>
|
| 117 |
+
<string name="settings_console_mode">콘솔 모드</string>
|
| 118 |
+
<!-- App settings strings -->
|
| 119 |
+
<string name="settings_password_present">*******</string>
|
| 120 |
+
<string name="settings_password_empty">비밀번호를 입력하세요</string>
|
| 121 |
+
<string name="settings_cat_ui">사용자 화면</string>
|
| 122 |
+
<string name="settings_ui_hide_status_bar">상태바 숨기기</string>
|
| 123 |
+
<string name="settings_ui_hide_action_bar">액션바 숨기기</string>
|
| 124 |
+
<string name="settings_ui_hide_zoom_controls">줌 컨트롤 숨기기</string>
|
| 125 |
+
<string name="settings_ui_swap_mouse_buttons">마우스 버튼 바꾸기</string>
|
| 126 |
+
<string name="settings_ui_invert_scrolling">스크롤 뒤집기</string>
|
| 127 |
+
<string name="settings_ui_auto_scroll_touchpointer">터치 포인터 자동 스크롤</string>
|
| 128 |
+
<string name="settings_ui_ask_on_exit">종료할 때 다이얼로그 보이기</string>
|
| 129 |
+
<string name="settings_ui_use_back_as_altf4">뒤로 버튼을 Alt+F4로 사용</string>
|
| 130 |
+
<string name="settings_cat_power">절전 기능</string>
|
| 131 |
+
<string name="settings_cat_client">클라이언트</string>
|
| 132 |
+
<string name="settings_power_disconnect_timeout">사용하지 않는 연결 종료</string>
|
| 133 |
+
<string name="settings_cat_security">보안</string>
|
| 134 |
+
<string name="settings_security_accept_certificates">모든 인증서 허용</string>
|
| 135 |
+
<string name="settings_security_clear_certificate_cache">인증서 캐시 삭제</string>
|
| 136 |
+
<string name="settings_description_after_minutes">%1$d 분 뒤</string>
|
| 137 |
+
<string name="settings_description_disabled">사용안함</string>
|
| 138 |
+
<!-- Activity titles -->
|
| 139 |
+
<string name="title_bookmark_settings">연결 설정</string>
|
| 140 |
+
<string name="title_application_settings">설정</string>
|
| 141 |
+
<string name="title_home">aFreeRDP - FreeRDP for Android</string>
|
| 142 |
+
<string name="title_create_shortcut">RDP 연결</string>
|
| 143 |
+
<string name="title_help">도움</string>
|
| 144 |
+
<string name="title_about">정보</string>
|
| 145 |
+
<!-- Error message strings -->
|
| 146 |
+
<string name="error_bookmark_incomplete_title">저장하지 않고 취소하기?</string>
|
| 147 |
+
<string name="error_bookmark_incomplete">중단하려면 "취소"를 탭 하세요!\n필수 입력을 채우고 "계속"을 탭 하세요!</string>
|
| 148 |
+
<string name="error_connection_failure">서버에 연결할 수 없습니다!</string>
|
| 149 |
+
<!-- Info message strings -->
|
| 150 |
+
<string name="info_capabilities_changed">화면 설정이 서버에서 지원하는 설정으로 변경되었습니다.</string>
|
| 151 |
+
<string name="info_reset_success">인증서 캐시가 삭제되었습니다.</string>
|
| 152 |
+
<string name="info_reset_failed">인증서 캐시를 삭제할 수 없습니다!</string>
|
| 153 |
+
<!-- Dialog strings -->
|
| 154 |
+
<string name="dlg_title_verify_certificate">인증서 검증하기</string>
|
| 155 |
+
<string name="dlg_msg_verify_certificate">인증서를 검증하지 못했습니다. 그래도 연결하시겠습니까?</string>
|
| 156 |
+
<string name="dlg_title_credentials">계정을 입력해 주세요</string>
|
| 157 |
+
<string name="dlg_title_create_shortcut">바로가기 만들기</string>
|
| 158 |
+
<string name="dlg_msg_create_shortcut">바로가기 이름:</string>
|
| 159 |
+
<string name="dlg_msg_connecting">연결중 …</string>
|
| 160 |
+
<string name="dlg_msg_logging_in">로그인중 …</string>
|
| 161 |
+
<string name="dlg_title_about">aFreeRDP 정보</string>
|
| 162 |
+
<string name="dlg_title_create_bookmark_after_qc">연결 설정 저장하기?</string>
|
| 163 |
+
<string name="dlg_msg_create_bookmark_after_qc">저장하지 않은 연결 설정을 저장하시겠습니까?</string>
|
| 164 |
+
<string name="dlg_title_save_bookmark">연결 저장?</string>
|
| 165 |
+
<string name="dlg_save_bookmark">연결 설정을 저장하시겠습니까?</string>
|
| 166 |
+
<string name="dlg_dont_show_again">다시 물어보지 않기</string>
|
| 167 |
+
<string name="dlg_title_exit">앱 종료?</string>
|
| 168 |
+
<string name="dlg_msg_exit">앱을 종료하시겠습니까?</string>
|
| 169 |
+
<string name="dlg_title_clear_cert_cache">인증서 삭제?</string>
|
| 170 |
+
<string name="dlg_msg_clear_cert_cache">캐시된 모든 인증서를 삭제하시겠습니까?</string>
|
| 171 |
+
<string name="debug_level">디버그 레벨</string>
|
| 172 |
+
<string name="settings_debug">디버그 설정</string>
|
| 173 |
+
<string name="preference_title_client">클라이언트</string>
|
| 174 |
+
<string name="preference_title_client_name">클라이언트 이름</string>
|
| 175 |
+
</resources>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-land/dimens.xml
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<resources>
|
| 3 |
+
<dimen name="key_height">46dip</dimen>
|
| 4 |
+
</resources>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-nl/strings.xml
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<resources>
|
| 3 |
+
<!-- Button labels -->
|
| 4 |
+
<string name="yes">Ja</string>
|
| 5 |
+
<string name="no">Nee</string>
|
| 6 |
+
<string name="cancel">Annuleren</string>
|
| 7 |
+
<string name="cont">Doorgaan</string>
|
| 8 |
+
<string name="login">Inloggen</string>
|
| 9 |
+
<string name="logout">Uitloggen</string>
|
| 10 |
+
<!-- Home menu items -->
|
| 11 |
+
<string name="menu_exit">Sluiten</string>
|
| 12 |
+
<string name="menu_about">Over</string>
|
| 13 |
+
<string name="menu_help">Help</string>
|
| 14 |
+
<string name="menu_new_bookmark">Nieuwe connectie</string>
|
| 15 |
+
<string name="menu_app_settings">Instellingen</string>
|
| 16 |
+
<!-- Bookmark menu items -->
|
| 17 |
+
<string name="menu_title_bookmark">Connectie</string>
|
| 18 |
+
<string name="menu_connect">Verbinden</string>
|
| 19 |
+
<string name="menu_edit">Bewerken</string>
|
| 20 |
+
<string name="menu_delete">Verwijderen</string>
|
| 21 |
+
<!-- Session menu items -->
|
| 22 |
+
<string name="menu_sys_keyboard">Toetsenbord</string>
|
| 23 |
+
<string name="menu_ext_keyboard">Functietoetsen</string>
|
| 24 |
+
<string name="menu_touch_pointer">Touch Pointer</string>
|
| 25 |
+
<string name="menu_home">home</string>
|
| 26 |
+
<string name="menu_disconnect">Verbinding verbreken</string>
|
| 27 |
+
<!-- List section headers -->
|
| 28 |
+
<string name="section_bookmarks">Handmatige connecties</string>
|
| 29 |
+
<string name="section_active_sessions">Actieve sessies</string>
|
| 30 |
+
<!-- Search strings -->
|
| 31 |
+
<string name="search_hint">Verbinden met computer</string>
|
| 32 |
+
<!-- List placeholder labels -->
|
| 33 |
+
<string name="list_placeholder_login">Login</string>
|
| 34 |
+
<string name="list_placeholder_no_servers">Geen servers</string>
|
| 35 |
+
<string name="list_placeholder_connecting">Verbinden ...</string>
|
| 36 |
+
<string name="list_placeholder_disconnecting">Verbinding verbreken ...</string>
|
| 37 |
+
<string name="list_placeholder_connection_error">Connectie verloren</string>
|
| 38 |
+
<string name="list_placeholder_wrong_password">Ongeldig wachtwoord</string>
|
| 39 |
+
<string name="list_placeholder_invalid_username">Ongeldige gebruikersnaam</string>
|
| 40 |
+
<string name="list_placeholder_add_bookmark">Connectie toevoegen</string>
|
| 41 |
+
<!-- Bookmark settings strings -->
|
| 42 |
+
<string name="settings_cat_host">Host</string>
|
| 43 |
+
<string name="settings_label">Label</string>
|
| 44 |
+
<string name="settings_hostname">Host</string>
|
| 45 |
+
<string name="settings_port">Poort</string>
|
| 46 |
+
<string name="settings_cat_credentials">Inloggegevens</string>
|
| 47 |
+
<string name="settings_credentials">Inloggegevens</string>
|
| 48 |
+
<string name="settings_username">Gebruikersnaam</string>
|
| 49 |
+
<string name="settings_password">Wachtwoord</string>
|
| 50 |
+
<string name="settings_domain">Domein</string>
|
| 51 |
+
<string name="settings_cat_settings">Instellingen</string>
|
| 52 |
+
<string name="settings_screen">Scherm</string>
|
| 53 |
+
<string name="settings_cat_screen">Scherminstellingen</string>
|
| 54 |
+
<string name="settings_colors">Kleuren</string>
|
| 55 |
+
<string-array name="colors_array">
|
| 56 |
+
<item>Pallet (8 Bit)</item>
|
| 57 |
+
<item>Hoge kleuren (15 Bit)</item>
|
| 58 |
+
<item>Hoge kleuren (16 Bit)</item>
|
| 59 |
+
<item>Ware kleuren (24 Bit)</item>
|
| 60 |
+
<item>Hoogste kwaliteit (32 Bit)</item>
|
| 61 |
+
</string-array>
|
| 62 |
+
<string name="settings_resolution">Resolutie</string>
|
| 63 |
+
<string name="resolution_automatic">Automatisch</string>
|
| 64 |
+
<string name="resolution_fit">Schermvullend</string>
|
| 65 |
+
<string name="resolution_custom">Aangepast</string>
|
| 66 |
+
<string-array name="resolutions_array">
|
| 67 |
+
<item>Automatisch</item>
|
| 68 |
+
<item>Schermvullend</item>
|
| 69 |
+
<item>Aangepast</item>
|
| 70 |
+
<item>640x480</item>
|
| 71 |
+
<item>720x480</item>
|
| 72 |
+
<item>800x600</item>
|
| 73 |
+
<item>1024x768</item>
|
| 74 |
+
<item>1280x1024</item>
|
| 75 |
+
<item>1440x900</item>
|
| 76 |
+
<item>1920x1080</item>
|
| 77 |
+
<item>1920x1200</item>
|
| 78 |
+
</string-array>
|
| 79 |
+
<!-- end protected string section -->
|
| 80 |
+
<string name="settings_width">Breedte</string>
|
| 81 |
+
<string name="settings_height">Hoogte</string>
|
| 82 |
+
<string name="settings_performance">Prestatie</string>
|
| 83 |
+
<string name="settings_cat_performance">Prestatieinstellingen</string>
|
| 84 |
+
<string name="settings_perf_remotefx">RemoteFX</string>
|
| 85 |
+
<string name="settings_perf_wallpaper">Bureaublad achtergrond</string>
|
| 86 |
+
<string name="settings_perf_font_smoothing">Lettertype Smoothing</string>
|
| 87 |
+
<string name="settings_perf_desktop_composition">Bureaublad compositie</string>
|
| 88 |
+
<string name="settings_perf_full_window_drag">Inhoud van het venster weergeven tijdens slepen</string>
|
| 89 |
+
<string name="settings_perf_menu_animation">Menu animatie</string>
|
| 90 |
+
<string name="settings_perf_theming">Visuele stijlen</string>
|
| 91 |
+
<string name="settings_advanced">Geavanceerd</string>
|
| 92 |
+
<string name="settings_cat_advanced">Geavanceerde instellingen</string>
|
| 93 |
+
<string name="settings_enable_3g_settings">3G Instellingen</string>
|
| 94 |
+
<string name="settings_screen_3g">3G Scherm</string>
|
| 95 |
+
<string name="settings_performance_3g">3G Prestatie</string>
|
| 96 |
+
<string name="settings_cat_gateway">Gateway</string>
|
| 97 |
+
<string name="settings_enable_gateway_settings">Gateway inschakelen</string>
|
| 98 |
+
<string name="settings_gateway_settings">Gateway instellingen</string>
|
| 99 |
+
<string name="settings_redirect_sdcard">SDCard aankoppelen</string>
|
| 100 |
+
<string name="settings_redirect_sound">Redirect Sound</string>
|
| 101 |
+
<string-array name="redirect_sound_array">
|
| 102 |
+
<item>Do not play</item>
|
| 103 |
+
<item>Play on Server</item>
|
| 104 |
+
<item>Play on Device</item>
|
| 105 |
+
</string-array>
|
| 106 |
+
<string name="settings_redirect_microphone">Redirect Microphone</string>
|
| 107 |
+
<string name="settings_security">Beveiliging</string>
|
| 108 |
+
<string-array name="security_array">
|
| 109 |
+
<item>Automatisch</item>
|
| 110 |
+
<item>RDP</item>
|
| 111 |
+
<item>TLS</item>
|
| 112 |
+
<item>NLA</item>
|
| 113 |
+
</string-array>
|
| 114 |
+
<string name="settings_remote_program">Extern programma</string>
|
| 115 |
+
<string name="settings_work_dir">Werkmap</string>
|
| 116 |
+
<string name="settings_async_channel">Async channel</string>
|
| 117 |
+
<string name="settings_async_update">Async update</string>
|
| 118 |
+
<string name="settings_console_mode">Console modus</string>
|
| 119 |
+
<!-- App settings strings -->
|
| 120 |
+
<string name="settings_password_present">*******</string>
|
| 121 |
+
<string name="settings_password_empty">Niet ingesteld</string>
|
| 122 |
+
<string name="settings_cat_ui">Gebruikersinterface</string>
|
| 123 |
+
<string name="settings_ui_hide_status_bar">Verberg statusbalk</string>
|
| 124 |
+
<string name="settings_ui_hide_action_bar">Verkeersbalk verbergen</string>
|
| 125 |
+
<string name="settings_ui_hide_zoom_controls">Verberg Zoom Controls</string>
|
| 126 |
+
<string name="settings_ui_swap_mouse_buttons">Wissel muisknoppen</string>
|
| 127 |
+
<string name="settings_ui_invert_scrolling">Scrollen omkeren</string>
|
| 128 |
+
<string name="settings_ui_auto_scroll_touchpointer">Touch Pointer Auto Scroll</string>
|
| 129 |
+
<string name="settings_ui_ask_on_exit">Toon dialoog bij sluiten</string>
|
| 130 |
+
<string name="settings_ui_use_back_as_altf4">Gebruik de "terug"-knop als Alt+F4</string>
|
| 131 |
+
<string name="settings_cat_power">Energiebesparing</string>
|
| 132 |
+
<string name="settings_power_disconnect_timeout">Sluit inactieve ingen</string>
|
| 133 |
+
<string name="settings_cat_security">Beveiliging</string>
|
| 134 |
+
<string name="settings_security_accept_certificates">Accepteer alle certificaten</string>
|
| 135 |
+
<string name="settings_security_clear_certificate_cache">Certificaat cache opschonen</string>
|
| 136 |
+
<string name="settings_description_after_minutes">na %1$d minuten</string>
|
| 137 |
+
<string name="settings_description_disabled">Uitgeschakeld</string>
|
| 138 |
+
<!-- Activity titles -->
|
| 139 |
+
<string name="title_bookmark_settings">Connectie instellingen</string>
|
| 140 |
+
<string name="title_application_settings">Instellingen</string>
|
| 141 |
+
<string name="title_home">aFreeRDP - FreeRDP voor Android</string>
|
| 142 |
+
<string name="title_create_shortcut">RDP verbinding</string>
|
| 143 |
+
<string name="title_help">Help</string>
|
| 144 |
+
<string name="title_about">Over</string>
|
| 145 |
+
<!-- Error message strings -->
|
| 146 |
+
<string name="error_bookmark_incomplete_title">Annuleren zonder opslaan?</string>
|
| 147 |
+
<string name="error_bookmark_incomplete">Druk op "Annuleren" om af te breken!\nKlik op "Doorgaan" om de verplichte velden op te geven!</string>
|
| 148 |
+
<string name="error_connection_failure">Fout bij het verbinden met de server!</string>
|
| 149 |
+
<!-- Info message strings -->
|
| 150 |
+
<string name="info_capabilities_changed">De scherm instellingen zijn veranderd omdat de server de door u opgegeven instellingen niet ondersteunt!</string>
|
| 151 |
+
<string name="info_reset_success">Certificaat cache is verwijderd!</string>
|
| 152 |
+
<string name="info_reset_failed">Fout bij het verwijderderen van certificaat cache!</string>
|
| 153 |
+
<!-- Dialog strings -->
|
| 154 |
+
<string name="dlg_title_verify_certificate">Controleer certificaat</string>
|
| 155 |
+
<string name="dlg_msg_verify_certificate">De identiteit van de externe computer niet kan worden geverifieerd. Wilt u toch verbinden?</string>
|
| 156 |
+
<string name="dlg_title_credentials">Vul uw gegevens in</string>
|
| 157 |
+
<string name="dlg_title_create_shortcut">Snelkoppeling maken</string>
|
| 158 |
+
<string name="dlg_msg_create_shortcut">Snelkoppeling naam:</string>
|
| 159 |
+
<string name="dlg_msg_connecting">Verbinden ...</string>
|
| 160 |
+
<string name="dlg_msg_logging_in">Aanmelden ...</string>
|
| 161 |
+
<string name="dlg_title_about">Over aFreeRDP</string>
|
| 162 |
+
<string name="dlg_title_create_bookmark_after_qc">Connectie instellingen opslaan?</string>
|
| 163 |
+
<string name="dlg_msg_create_bookmark_after_qc">Uw connectie instellingen zijn niet opgeslagen! Wilt u deze opslaan?</string>
|
| 164 |
+
<string name="dlg_title_save_bookmark">Verbinding opslaan?</string>
|
| 165 |
+
<string name="dlg_save_bookmark">Wilt u alle wijzigingen opslaan?</string>
|
| 166 |
+
<string name="dlg_dont_show_again">Niet opnieuw vragen</string>
|
| 167 |
+
<string name="dlg_title_exit">Toepassing sluiten?</string>
|
| 168 |
+
<string name="dlg_msg_exit">Weet u zeker dat u de applicatie wilt sluiten?</string>
|
| 169 |
+
<string name="dlg_title_clear_cert_cache">Verwijder certificaten?</string>
|
| 170 |
+
<string name="dlg_msg_clear_cert_cache">Weet u zeker dat u al uw cache certificaten wilt verwijderen?</string>
|
| 171 |
+
<string name="debug_level">Debug Level</string>
|
| 172 |
+
<string name="settings_debug">Debug Settings</string>
|
| 173 |
+
<string name="preference_title_client">Cliënt</string>
|
| 174 |
+
<string name="settings_cat_client">Cliënt</string>
|
| 175 |
+
<string name="preference_title_client_name">Cliëntnaam</string>
|
| 176 |
+
</resources>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values/dimens.xml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<resources>
|
| 3 |
+
<dimen name="key_height">50dip</dimen>
|
| 4 |
+
<!-- Default screen margins, per the Android Design guidelines. -->
|
| 5 |
+
<dimen name="activity_horizontal_margin">16dp</dimen>
|
| 6 |
+
<dimen name="activity_vertical_margin">16dp</dimen>
|
| 7 |
+
</resources>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values/integers.xml
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<resources>
|
| 3 |
+
<!-- key codes to switch between keyboards -->
|
| 4 |
+
<integer name="keycode_cursor_keyboard">0xF1</integer>
|
| 5 |
+
<integer name="keycode_numpad_keyboard">0xF2</integer>
|
| 6 |
+
<integer name="keycode_specialkeys_keyboard">0xF3</integer>
|
| 7 |
+
|
| 8 |
+
<!-- common keys - maps to Android KeyEvent.KeyCode consts -->
|
| 9 |
+
<integer name="keycode_enter">0x01</integer>
|
| 10 |
+
<integer name="keycode_backspace">0x02</integer>
|
| 11 |
+
|
| 12 |
+
<!-- shared keys -->
|
| 13 |
+
<integer name="keycode_win">0x03</integer>
|
| 14 |
+
<integer name="keycode_menu">0x04</integer>
|
| 15 |
+
<integer name="keycode_esc">0x05</integer>
|
| 16 |
+
|
| 17 |
+
<integer name="keycode_toggle_win">0x06</integer>
|
| 18 |
+
<integer name="keycode_toggle_ctrl">0x07</integer>
|
| 19 |
+
<integer name="keycode_toggle_shift">0x08</integer>
|
| 20 |
+
<integer name="keycode_toggle_alt">0x09</integer>
|
| 21 |
+
|
| 22 |
+
<!-- numpad key codes -->
|
| 23 |
+
<integer name="keycode_numpad_0">0x0A</integer>
|
| 24 |
+
<integer name="keycode_numpad_1">0x0B</integer>
|
| 25 |
+
<integer name="keycode_numpad_2">0x0C</integer>
|
| 26 |
+
<integer name="keycode_numpad_3">0x0D</integer>
|
| 27 |
+
<integer name="keycode_numpad_4">0x0E</integer>
|
| 28 |
+
<integer name="keycode_numpad_5">0x0F</integer>
|
| 29 |
+
<integer name="keycode_numpad_6">0x10</integer>
|
| 30 |
+
<integer name="keycode_numpad_7">0x11</integer>
|
| 31 |
+
<integer name="keycode_numpad_8">0x12</integer>
|
| 32 |
+
<integer name="keycode_numpad_9">0x13</integer>
|
| 33 |
+
<integer name="keycode_numpad_add">0x14</integer>
|
| 34 |
+
<integer name="keycode_numpad_comma">0x15</integer>
|
| 35 |
+
<integer name="keycode_numpad_divide">0x16</integer>
|
| 36 |
+
<integer name="keycode_numpad_enter">0x17</integer>
|
| 37 |
+
<integer name="keycode_numpad_multiply">0x18</integer>
|
| 38 |
+
<integer name="keycode_numpad_subtract">0x19</integer>
|
| 39 |
+
<integer name="keycode_numpad_equals">0x1A</integer>
|
| 40 |
+
<integer name="keycode_numpad_numlock">0x1B</integer>
|
| 41 |
+
<integer name="keycode_numpad_left_paren">0x1C</integer>
|
| 42 |
+
<integer name="keycode_numpad_right_paren">0x1D</integer>
|
| 43 |
+
|
| 44 |
+
<!-- special key codes -->
|
| 45 |
+
<integer name="keycode_F1">0x1E</integer>
|
| 46 |
+
<integer name="keycode_F2">0x1F</integer>
|
| 47 |
+
<integer name="keycode_F3">0x20</integer>
|
| 48 |
+
<integer name="keycode_F4">0x21</integer>
|
| 49 |
+
<integer name="keycode_F5">0x22</integer>
|
| 50 |
+
<integer name="keycode_F6">0x23</integer>
|
| 51 |
+
<integer name="keycode_F7">0x24</integer>
|
| 52 |
+
<integer name="keycode_F8">0x25</integer>
|
| 53 |
+
<integer name="keycode_F9">0x26</integer>
|
| 54 |
+
<integer name="keycode_F10">0x27</integer>
|
| 55 |
+
<integer name="keycode_F11">0x28</integer>
|
| 56 |
+
<integer name="keycode_F12">0x29</integer>
|
| 57 |
+
<integer name="keycode_tab">0x2A</integer>
|
| 58 |
+
<integer name="keycode_print">0x2B</integer>
|
| 59 |
+
<integer name="keycode_insert">0x2C</integer>
|
| 60 |
+
<integer name="keycode_delete">0x2D</integer>
|
| 61 |
+
<integer name="keycode_home">0x2E</integer>
|
| 62 |
+
<integer name="keycode_end">0x2F</integer>
|
| 63 |
+
<integer name="keycode_pgup">0x30</integer>
|
| 64 |
+
<integer name="keycode_pgdn">0x31</integer>
|
| 65 |
+
|
| 66 |
+
<!-- cursor key codes -->
|
| 67 |
+
<integer name="keycode_up">0x32</integer>
|
| 68 |
+
<integer name="keycode_down">0x33</integer>
|
| 69 |
+
<integer name="keycode_left">0x34</integer>
|
| 70 |
+
<integer name="keycode_right">0x45</integer>
|
| 71 |
+
|
| 72 |
+
</resources>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/xml/advanced_settings.xml
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?><!--
|
| 2 |
+
/*
|
| 3 |
+
Advanced Bookmark Settings Layout
|
| 4 |
+
|
| 5 |
+
Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
|
| 6 |
+
|
| 7 |
+
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
| 8 |
+
If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
| 9 |
+
*/
|
| 10 |
+
-->
|
| 11 |
+
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
| 12 |
+
<PreferenceCategory android:title="Advanced">
|
| 13 |
+
|
| 14 |
+
<CheckBoxPreference
|
| 15 |
+
android:key="bookmark.enable_gateway_settings"
|
| 16 |
+
android:title="@string/settings_enable_gateway_settings" />
|
| 17 |
+
<PreferenceScreen
|
| 18 |
+
android:key="bookmark.gateway_settings"
|
| 19 |
+
android:title="@string/settings_gateway_settings">
|
| 20 |
+
<intent
|
| 21 |
+
android:action="android.intent.action.VIEW"
|
| 22 |
+
android:data="preferences://gateway_settings"
|
| 23 |
+
android:targetClass="com.freerdp.freerdpcore.presentation.BookmarkActivity"
|
| 24 |
+
android:targetPackage="*" />
|
| 25 |
+
</PreferenceScreen>
|
| 26 |
+
|
| 27 |
+
<CheckBoxPreference
|
| 28 |
+
android:key="bookmark.enable_3g_settings"
|
| 29 |
+
android:title="@string/settings_enable_3g_settings" />
|
| 30 |
+
<PreferenceScreen
|
| 31 |
+
android:key="bookmark.screen_3g"
|
| 32 |
+
android:title="@string/settings_screen_3g">
|
| 33 |
+
<intent
|
| 34 |
+
android:action="android.intent.action.VIEW"
|
| 35 |
+
android:data="preferences://screen_settings_3g"
|
| 36 |
+
android:targetClass="com.freerdp.freerdpcore.presentation.BookmarkActivity"
|
| 37 |
+
android:targetPackage="*" />
|
| 38 |
+
</PreferenceScreen>
|
| 39 |
+
|
| 40 |
+
<PreferenceScreen
|
| 41 |
+
android:key="bookmark.performance_3g"
|
| 42 |
+
android:title="@string/settings_performance_3g">
|
| 43 |
+
<intent
|
| 44 |
+
android:action="android.intent.action.VIEW"
|
| 45 |
+
android:data="preferences://performance_flags_3g"
|
| 46 |
+
android:targetClass="com.freerdp.freerdpcore.presentation.BookmarkActivity"
|
| 47 |
+
android:targetPackage="*" />
|
| 48 |
+
</PreferenceScreen>
|
| 49 |
+
|
| 50 |
+
<CheckBoxPreference
|
| 51 |
+
android:key="bookmark.redirect_sdcard"
|
| 52 |
+
android:title="@string/settings_redirect_sdcard" />
|
| 53 |
+
<com.freerdp.freerdpcore.utils.IntListPreference
|
| 54 |
+
android:entries="@array/redirect_sound_array"
|
| 55 |
+
android:entryValues="@array/redirect_sound_values_array"
|
| 56 |
+
android:key="bookmark.redirect_sound"
|
| 57 |
+
android:title="@string/settings_redirect_sound" />
|
| 58 |
+
<CheckBoxPreference
|
| 59 |
+
android:key="bookmark.redirect_microphone"
|
| 60 |
+
android:title="@string/settings_redirect_microphone" />
|
| 61 |
+
<com.freerdp.freerdpcore.utils.IntListPreference
|
| 62 |
+
android:entries="@array/security_array"
|
| 63 |
+
android:entryValues="@array/security_values_array"
|
| 64 |
+
android:key="bookmark.security"
|
| 65 |
+
android:title="@string/settings_security" />
|
| 66 |
+
<EditTextPreference
|
| 67 |
+
android:key="bookmark.remote_program"
|
| 68 |
+
android:singleLine="true"
|
| 69 |
+
android:summary="notepad.exe"
|
| 70 |
+
android:title="@string/settings_remote_program" />
|
| 71 |
+
<EditTextPreference
|
| 72 |
+
android:key="bookmark.work_dir"
|
| 73 |
+
android:singleLine="true"
|
| 74 |
+
android:title="@string/settings_work_dir" />
|
| 75 |
+
<CheckBoxPreference
|
| 76 |
+
android:key="bookmark.console_mode"
|
| 77 |
+
android:title="@string/settings_console_mode" />
|
| 78 |
+
|
| 79 |
+
</PreferenceCategory>
|
| 80 |
+
|
| 81 |
+
</PreferenceScreen>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/xml/bookmark_settings.xml
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?><!--
|
| 2 |
+
/*
|
| 3 |
+
Bookmark Settings Layout
|
| 4 |
+
|
| 5 |
+
Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
|
| 6 |
+
|
| 7 |
+
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
| 8 |
+
If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
| 9 |
+
*/
|
| 10 |
+
-->
|
| 11 |
+
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
| 12 |
+
xmlns:freerdp="http://schemas.android.com/apk/res-auto">
|
| 13 |
+
|
| 14 |
+
<PreferenceCategory
|
| 15 |
+
android:key="category.host"
|
| 16 |
+
android:title="@string/settings_cat_host">
|
| 17 |
+
<EditTextPreference
|
| 18 |
+
android:key="bookmark.label"
|
| 19 |
+
android:singleLine="true"
|
| 20 |
+
android:summary="@string/settings_label"
|
| 21 |
+
android:title="@string/settings_label" />
|
| 22 |
+
<EditTextPreference
|
| 23 |
+
android:key="bookmark.hostname"
|
| 24 |
+
android:singleLine="true"
|
| 25 |
+
android:summary="Name or address of the target computer"
|
| 26 |
+
android:title="@string/settings_hostname" />
|
| 27 |
+
<com.freerdp.freerdpcore.utils.IntEditTextPreference
|
| 28 |
+
android:inputType="number"
|
| 29 |
+
android:key="bookmark.port"
|
| 30 |
+
android:numeric="integer"
|
| 31 |
+
android:summary="RDP Port on the target computer"
|
| 32 |
+
android:title="@string/settings_port"
|
| 33 |
+
freerdp:bounds_default="3389"
|
| 34 |
+
freerdp:bounds_max="65535"
|
| 35 |
+
freerdp:bounds_min="10" />
|
| 36 |
+
</PreferenceCategory>
|
| 37 |
+
|
| 38 |
+
<PreferenceCategory android:title="@string/settings_cat_credentials">
|
| 39 |
+
<PreferenceScreen
|
| 40 |
+
android:key="bookmark.credentials"
|
| 41 |
+
android:title="@string/settings_credentials">
|
| 42 |
+
<intent
|
| 43 |
+
android:action="android.intent.action.VIEW"
|
| 44 |
+
android:data="preferences://credentials_settings"
|
| 45 |
+
android:targetClass="com.freerdp.freerdpcore.presentation.BookmarkActivity"
|
| 46 |
+
android:targetPackage="*" />
|
| 47 |
+
</PreferenceScreen>
|
| 48 |
+
</PreferenceCategory>
|
| 49 |
+
|
| 50 |
+
<PreferenceCategory
|
| 51 |
+
android:key="category.settings"
|
| 52 |
+
android:title="@string/settings_cat_settings">
|
| 53 |
+
|
| 54 |
+
<PreferenceScreen
|
| 55 |
+
android:key="bookmark.screen"
|
| 56 |
+
android:title="@string/settings_screen">
|
| 57 |
+
<intent
|
| 58 |
+
android:action="android.intent.action.VIEW"
|
| 59 |
+
android:data="preferences://screen_settings"
|
| 60 |
+
android:targetClass="com.freerdp.freerdpcore.presentation.BookmarkActivity"
|
| 61 |
+
android:targetPackage="*" />
|
| 62 |
+
</PreferenceScreen>
|
| 63 |
+
|
| 64 |
+
<PreferenceScreen
|
| 65 |
+
android:key="bookmark.performance"
|
| 66 |
+
android:title="@string/settings_performance">
|
| 67 |
+
<intent
|
| 68 |
+
android:action="android.intent.action.VIEW"
|
| 69 |
+
android:data="preferences://performance_flags"
|
| 70 |
+
android:targetClass="com.freerdp.freerdpcore.presentation.BookmarkActivity"
|
| 71 |
+
android:targetPackage="*" />
|
| 72 |
+
</PreferenceScreen>
|
| 73 |
+
|
| 74 |
+
<PreferenceScreen
|
| 75 |
+
android:key="bookmark.advanced"
|
| 76 |
+
android:title="@string/settings_advanced">
|
| 77 |
+
<intent
|
| 78 |
+
android:action="android.intent.action.VIEW"
|
| 79 |
+
android:data="preferences://advanced_settings"
|
| 80 |
+
android:targetClass="com.freerdp.freerdpcore.presentation.BookmarkActivity"
|
| 81 |
+
android:targetPackage="*" />
|
| 82 |
+
</PreferenceScreen>
|
| 83 |
+
|
| 84 |
+
<PreferenceScreen
|
| 85 |
+
android:key="bookmark.debug"
|
| 86 |
+
android:title="@string/settings_debug">
|
| 87 |
+
<intent
|
| 88 |
+
android:action="android.intent.action.VIEW"
|
| 89 |
+
android:data="preferences://debug_settings"
|
| 90 |
+
android:targetClass="com.freerdp.freerdpcore.presentation.BookmarkActivity"
|
| 91 |
+
android:targetPackage="*" />
|
| 92 |
+
</PreferenceScreen>
|
| 93 |
+
|
| 94 |
+
</PreferenceCategory>
|
| 95 |
+
|
| 96 |
+
</PreferenceScreen>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/xml/credentials_settings.xml
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?><!--
|
| 2 |
+
/*
|
| 3 |
+
Credential Settings Layout
|
| 4 |
+
|
| 5 |
+
Copyright 2012 Thincast Technologies GmbH, Author: Martin Fleisz
|
| 6 |
+
|
| 7 |
+
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
| 8 |
+
If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
| 9 |
+
*/
|
| 10 |
+
-->
|
| 11 |
+
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
| 12 |
+
<PreferenceCategory android:title="Credentials">
|
| 13 |
+
<EditTextPreference
|
| 14 |
+
android:key="bookmark.username"
|
| 15 |
+
android:singleLine="true"
|
| 16 |
+
android:title="@string/settings_username" />
|
| 17 |
+
<EditTextPreference
|
| 18 |
+
android:inputType="textPassword"
|
| 19 |
+
android:singleLine="true"
|
| 20 |
+
android:key="bookmark.password"
|
| 21 |
+
android:title="@string/settings_password" />
|
| 22 |
+
<EditTextPreference
|
| 23 |
+
android:key="bookmark.domain"
|
| 24 |
+
android:singleLine="true"
|
| 25 |
+
android:summary="Optional"
|
| 26 |
+
android:title="@string/settings_domain" />
|
| 27 |
+
</PreferenceCategory>
|
| 28 |
+
</PreferenceScreen>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/xml/gateway_settings.xml
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?><!--
|
| 2 |
+
/*
|
| 3 |
+
Credential Settings Layout
|
| 4 |
+
|
| 5 |
+
Copyright 2013 Felix Long
|
| 6 |
+
|
| 7 |
+
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
| 8 |
+
If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
| 9 |
+
*/
|
| 10 |
+
-->
|
| 11 |
+
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
| 12 |
+
xmlns:freerdp="http://schemas.android.com/apk/res-auto">
|
| 13 |
+
<PreferenceCategory android:title="@string/settings_cat_gateway">
|
| 14 |
+
<EditTextPreference
|
| 15 |
+
android:key="bookmark.gateway_hostname"
|
| 16 |
+
android:singleLine="true"
|
| 17 |
+
android:summary="Name or address of the target computer"
|
| 18 |
+
android:title="@string/settings_hostname" />
|
| 19 |
+
<com.freerdp.freerdpcore.utils.IntEditTextPreference
|
| 20 |
+
android:inputType="number"
|
| 21 |
+
android:key="bookmark.gateway_port"
|
| 22 |
+
android:numeric="integer"
|
| 23 |
+
android:summary="Gateway Port on the target computer"
|
| 24 |
+
android:title="@string/settings_port"
|
| 25 |
+
freerdp:bounds_default="443"
|
| 26 |
+
freerdp:bounds_max="65535"
|
| 27 |
+
freerdp:bounds_min="10" />
|
| 28 |
+
<EditTextPreference
|
| 29 |
+
android:key="bookmark.gateway_username"
|
| 30 |
+
android:singleLine="true"
|
| 31 |
+
android:title="@string/settings_username" />
|
| 32 |
+
<EditTextPreference
|
| 33 |
+
android:inputType="textPassword"
|
| 34 |
+
android:singleLine="true"
|
| 35 |
+
android:key="bookmark.gateway_password"
|
| 36 |
+
android:title="@string/settings_password" />
|
| 37 |
+
<EditTextPreference
|
| 38 |
+
android:key="bookmark.gateway_domain"
|
| 39 |
+
android:singleLine="true"
|
| 40 |
+
android:summary="Optional"
|
| 41 |
+
android:title="@string/settings_domain" />
|
| 42 |
+
</PreferenceCategory>
|
| 43 |
+
</PreferenceScreen>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/xml/settings_app_client.xml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
| 3 |
+
<EditTextPreference
|
| 4 |
+
android:key="@string/preference_key_client_name"
|
| 5 |
+
android:singleLine="true"
|
| 6 |
+
android:title="@string/preference_title_client_name" />
|
| 7 |
+
</PreferenceScreen>
|