<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="12" style="border: 1px #c9c399 solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="https://git.reviewboard.kde.org/r/129728/">https://git.reviewboard.kde.org/r/129728/</a>
     </td>
    </tr>
   </table>
   <br />




<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border: 1px #888a85 solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
 <tr>
  <td>

<div>Review request for kdeconnect.</div>
<div>By Holger Kaelberer.</div>








<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>


 <a href="http://bugs.kde.org/show_bug.cgi?id=370919">370919</a>


</div>



<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
kdeconnect-android
</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">Allow to receive keypress events from remote devices.</p>
<p style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">Notes / open issues / possible improvements:</p>
<ul style="padding: 0;text-rendering: inherit;margin: 0 0 0 1em;line-height: inherit;white-space: normal;">
<li style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: normal;">
<p style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">Pls. have a close look at the Android-code, that was written by a non-Android dev! ;-) Especially:</p>
</li>
<li style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: normal;">
<p style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">Not sure if invocations of InputConnection::sendKeyEvents() from the thread triggering onPackageReceived() need to by async (using a Handler or so). Works fine for me as it is now, but maybe I'm not aware of some Android threading policies.</p>
</li>
<li style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: normal;">
<p style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">So far no settings-activity for the ime defined to be launched from the OS settings. Should we?</p>
</li>
<li style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: normal;">
<p style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">Handles a couple of special key-sequences so far: Shift+Arrows/Home/End (update selection), Ctrl+(Shift+)Arrows (jump/update selection by word), Ctrl+Enter (force Send/Go/... IME-Action), Ctrl+c/v/x/a (Copy/Paste/Cut/Select all)</p>
</li>
<li style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: normal;">
<p style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">There is probably other behaviour that could be made configurable (like Ctrl+Return triggering IME-actions etc.)</p>
</li>
</ul></pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">Sure, on:
- S2 (4.2.2, CyanogenMod)
- Z5 Compact Mini (6.0.1)
- Galaxy Tab 4 (5.0.2)
- S3 Mini (4.1.2)</p></pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>AndroidManifest.xml <span style="color: grey">(b1e1c51)</span></li>

 <li>res/drawable-hdpi/ic_keyboard_hide_white_36dp.png <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/drawable-hdpi/ic_phonelink_off_white_36dp.png <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/drawable-hdpi/ic_phonelink_white_36dp.png <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/drawable-mdpi/ic_keyboard_hide_white_36dp.png <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/drawable-mdpi/ic_phonelink_off_white_36dp.png <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/drawable-mdpi/ic_phonelink_white_36dp.png <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/drawable-xhdpi/ic_keyboard_hide_white_36dp.png <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/drawable-xhdpi/ic_phonelink_off_white_36dp.png <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/drawable-xhdpi/ic_phonelink_white_36dp.png <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/drawable-xxhdpi/ic_keyboard_hide_white_36dp.png <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/drawable-xxhdpi/ic_phonelink_off_white_36dp.png <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/drawable-xxhdpi/ic_phonelink_white_36dp.png <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/drawable-xxxhdpi/ic_keyboard_hide_white_36dp.png <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/drawable-xxxhdpi/ic_phonelink_off_white_36dp.png <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/drawable-xxxhdpi/ic_phonelink_white_36dp.png <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/values/dimens.xml <span style="color: grey">(47c8224)</span></li>

 <li>res/values/strings.xml <span style="color: grey">(955b88d)</span></li>

 <li>res/xml/remotekeyboardplugin_keyboard.xml <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/xml/remotekeyboardplugin_method.xml <span style="color: grey">(PRE-CREATION)</span></li>

 <li>res/xml/remotekeyboardplugin_preferences.xml <span style="color: grey">(PRE-CREATION)</span></li>

 <li>src/org/kde/kdeconnect/Plugins/PluginFactory.java <span style="color: grey">(1da88ef)</span></li>

 <li>src/org/kde/kdeconnect/Plugins/RemoteKeyboardPlugin/RemoteKeyboardPlugin.java <span style="color: grey">(PRE-CREATION)</span></li>

 <li>src/org/kde/kdeconnect/Plugins/RemoteKeyboardPlugin/RemoteKeyboardService.java <span style="color: grey">(PRE-CREATION)</span></li>

 <li>src/org/kde/kdeconnect/UserInterface/MaterialActivity.java <span style="color: grey">(c28e38c)</span></li>

</ul>

<p><a href="https://git.reviewboard.kde.org/r/129728/diff/" style="margin-left: 3em;">View Diff</a></p>






  </td>
 </tr>
</table>



  </div>
 </body>
</html>