Compare commits
351 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
0e8257d515 | ||
|
a702f7869f | ||
|
606cbcdd8b | ||
|
24ca5f706a | ||
|
6b18c2f28e | ||
|
16cffda2e2 | ||
|
473d984971 | ||
|
78d80ef5eb | ||
|
95046e547f | ||
|
34ec43445d | ||
|
9fed9e4b9a | ||
|
cf8f87b6a1 | ||
|
52a61f5663 | ||
|
ec0d91d3c2 | ||
|
bde4a06fe0 | ||
|
dcb54ebf4a | ||
|
b1ef93a90c | ||
|
a6e22f57f3 | ||
|
55ae564023 | ||
|
24561b58f9 | ||
|
c837079e03 | ||
|
a9b4a6bdea | ||
|
d35623a28a | ||
|
0b8500338a | ||
|
d5114c2238 | ||
|
59cdc2f6a8 | ||
|
d860b67ba9 | ||
|
803464a7ce | ||
|
b0a96ace32 | ||
|
10d9ff5a5a | ||
|
cedffe6578 | ||
|
edb0ae3198 | ||
|
57bc4d46a9 | ||
|
3bd6aabc96 | ||
|
628142307f | ||
|
e68ba07e09 | ||
|
e637f46a46 | ||
|
92e4fa864a | ||
|
0e40327a50 | ||
|
596440a0bc | ||
|
8d9634730f | ||
|
79f55d7ac2 | ||
|
9cc51287e2 | ||
|
dd94f30c8a | ||
|
e2081d3892 | ||
|
aa94a61732 | ||
|
405dc258db | ||
|
c535637b45 | ||
|
4d9f2d12b5 | ||
|
c46c669aad | ||
|
e1f3ac9491 | ||
|
1692fe714d | ||
|
9e44ce9c02 | ||
|
53d9b85d8b | ||
|
e71e409a38 | ||
|
4b9d946774 | ||
|
e59ffc97fa | ||
|
12334f5a31 | ||
|
0eb3c6e9f5 | ||
|
b34e7c8a78 | ||
|
0868394596 | ||
|
403c18a056 | ||
|
a15b06cdc7 | ||
|
64c8eb8767 | ||
|
7a5e0aca73 | ||
|
6c3aedbbc3 | ||
|
fb49f471fb | ||
|
b601f6b3c5 | ||
|
2c296c4d19 | ||
|
252bbb45d0 | ||
|
d9415eb0e9 | ||
|
861d98eeff | ||
|
4bc5c7e1ae | ||
|
e53e11a184 | ||
|
79df72b80b | ||
|
64eeb98b8e | ||
|
fb5fdf752d | ||
|
99a6578ce3 | ||
|
4e46d83853 | ||
|
275cd03b19 | ||
|
c0a70e35f0 | ||
|
8f3e0a8555 | ||
|
2f77e24ad1 | ||
|
5b694a3b3e | ||
|
9a04f24de6 | ||
|
39fba2ef2a | ||
|
de66bdfae3 | ||
|
017d05b189 | ||
|
d6264c3359 | ||
|
3e70c21031 | ||
|
2a6325c472 | ||
|
3aadc94278 | ||
|
9e8efb1822 | ||
|
74f5e2bf84 | ||
|
45fdf3c0ac | ||
|
e00376a316 | ||
|
f41fb4a9da | ||
|
e9a2cbd36b | ||
|
d5cb11e6c2 | ||
|
3b0a3e265d | ||
|
a5e9b29e20 | ||
|
307071e9e7 | ||
|
7c3e223e29 | ||
|
899c73d254 | ||
|
bd14c462dd | ||
|
e9b4ca70e9 | ||
|
706e3f71b5 | ||
|
f9b69a7e45 | ||
|
299e7e8375 | ||
|
f82c9c08cf | ||
|
25e1505df0 | ||
|
4d65382fa1 | ||
|
bf02f639b7 | ||
|
067f01134a | ||
|
7e2df27adb | ||
|
45bbed6d72 | ||
|
42f2f425a1 | ||
|
801c7cbd45 | ||
|
366aaea282 | ||
|
02f5ce2581 | ||
|
a360ca0a01 | ||
|
d356a9e964 | ||
|
e588428812 | ||
|
db0f6288ff | ||
|
86236169d1 | ||
|
32d9f199ff | ||
|
1d51c8792d | ||
|
6124b9a206 | ||
|
c3ad265490 | ||
|
9cf9f43118 | ||
|
11012e21e5 | ||
|
b7faa97292 | ||
|
cc17402609 | ||
|
a0b82d17b4 | ||
|
8550de5e7f | ||
|
46c70639ac | ||
|
fb2b1232fb | ||
|
c2011831a9 | ||
|
ac3ab375ab | ||
|
ab4a1079cc | ||
|
57871802d8 | ||
|
838be381c3 | ||
|
53ad94ef32 | ||
|
53031a0ff1 | ||
|
459fe403a8 | ||
|
c15263b416 | ||
|
6e2b3289e6 | ||
|
7d7f10f022 | ||
|
ea514c0a19 | ||
|
1e34a42b8f | ||
|
db3f4a2fec | ||
|
63a3b6afe4 | ||
|
66c137d11d | ||
|
7f26472665 | ||
|
3c3cfa9c94 | ||
|
7f808a2e0f | ||
|
970f8c63b0 | ||
|
d2dbfd6384 | ||
|
d1b2cba609 | ||
|
bd6ab61594 | ||
|
73356a3ef7 | ||
|
71352bff0e | ||
|
f76977ef21 | ||
|
0510182866 | ||
|
88b38f224b | ||
|
3d415c5959 | ||
|
bda6e3cb7f | ||
|
86261bd105 | ||
|
f0935ebb8a | ||
|
288ca01e44 | ||
|
83a22cab9d | ||
|
e4f9c15b36 | ||
|
ba64b42711 | ||
|
f218d61f71 | ||
|
2dbbfa70c4 | ||
|
92be045f3a | ||
|
8765b7c692 | ||
|
39af8f96e6 | ||
|
823531ddea | ||
|
2a224e5757 | ||
|
a45a56e779 | ||
|
f4ac548eeb | ||
|
b488aeaeee | ||
|
79480d0b23 | ||
|
1edca5e45c | ||
|
ded027d3cc | ||
|
e1cec047d8 | ||
|
ad3046118b | ||
|
f951f4769e | ||
|
a67f7cdfbd | ||
|
8acb022c80 | ||
|
0d575016ed | ||
|
391b61867d | ||
|
74bec9a7de | ||
|
c4a87ecb50 | ||
|
e2b2e91f73 | ||
|
5e905ddd63 | ||
|
75697cedca | ||
|
41aa3fe53e | ||
|
332c2d4856 | ||
|
96e8610363 | ||
|
820b32d260 | ||
|
63c47d201e | ||
|
7e24d87db0 | ||
|
2d60a25192 | ||
|
7e9b61a4fb | ||
|
527381104d | ||
|
8d67e0b0f1 | ||
|
6328a01d1e | ||
|
1c76720794 | ||
|
e4d683f27c | ||
|
227bb855dd | ||
|
0f612c195d | ||
|
39db2180a7 | ||
|
c03cdf8a6d | ||
|
631635498d | ||
|
a33e1fa0d0 | ||
|
b36dc23028 | ||
|
b519bc5e1d | ||
|
816a6f5c79 | ||
|
26b321ee76 | ||
|
1a7697009d | ||
|
8e23ff5cf6 | ||
|
edff3a86bc | ||
|
d7e7de4079 | ||
|
59c0a06143 | ||
|
fd91c3f27d | ||
|
49b1e5c467 | ||
|
6829dac516 | ||
|
0fdb649ee4 | ||
|
580c3ff30b | ||
|
27d853d778 | ||
|
4e2a264ab9 | ||
|
d9aae111fe | ||
|
c0f103fdde | ||
|
4f3ff37712 | ||
|
872372f694 | ||
|
6fccbe99ad | ||
|
240c566124 | ||
|
3b64199ee2 | ||
|
38a6b0be81 | ||
|
8aa2c08aff | ||
|
615eaff458 | ||
|
5dd3d02052 | ||
|
2b043aaaab | ||
|
e8c792927d | ||
|
a9df032793 | ||
|
f685c4f25d | ||
|
4f2512a9c6 | ||
|
c12ee997e9 | ||
|
dbdaa07502 | ||
|
3a27818b0a | ||
|
236f0df240 | ||
|
d565a50460 | ||
|
b8df0fab00 | ||
|
7a50d2e96a | ||
|
436e835f64 | ||
|
9e8742935a | ||
|
070f41b44a | ||
|
efe49ad650 | ||
|
e2eb886cca | ||
|
f01811446a | ||
|
cf0456755b | ||
|
40d4561c9b | ||
|
e7d3e6c8ff | ||
|
7283caa09c | ||
|
e3dfc69ca1 | ||
|
78438a2522 | ||
|
04ad41dd09 | ||
|
933cc9be2d | ||
|
f2480e4d97 | ||
|
f4f7fb2ee3 | ||
|
19c4caadf4 | ||
|
25a947fd29 | ||
|
8f33a609aa | ||
|
e9d9780fd0 | ||
|
156b77a729 | ||
|
1189f257e0 | ||
|
0bc782f91a | ||
|
b42f1e44b2 | ||
|
debbe4fe2c | ||
|
5724a66561 | ||
|
91fe9d63b0 | ||
|
a90928188a | ||
|
256ca60036 | ||
|
05fd6fe5b0 | ||
|
6b9a691f24 | ||
|
d18b61f2a1 | ||
|
6448258648 | ||
|
e5e9490f19 | ||
|
9f7c5be533 | ||
|
f690105181 | ||
|
dafe9eb023 | ||
|
cfbe6775d0 | ||
|
6365143c2c | ||
|
f3fbe4d035 | ||
|
2862e5164e | ||
|
6fae1d350d | ||
|
647f71bf98 | ||
|
343b2ed5e8 | ||
|
eb7351a803 | ||
|
7e7d6c4d82 | ||
|
59d01763c7 | ||
|
5b2756b7f8 | ||
|
5912611aab | ||
|
54d24848e5 | ||
|
638c9df328 | ||
|
9943c36877 | ||
|
03bcfecb88 | ||
|
1b4ade0ae1 | ||
|
b9890210ad | ||
|
1509bfaf6d | ||
|
a22ffd611a | ||
|
adb88560b5 | ||
|
03ede77bd1 | ||
|
6afbe93c2d | ||
|
dd4421dce2 | ||
|
262f811bba | ||
|
0b52cbe36f | ||
|
8542aaf4fa | ||
|
c9d11f650c | ||
|
6c5ed3094b | ||
|
5aaec15e79 | ||
|
b0a632fe10 | ||
|
4d1464484e | ||
|
d6cc84ccfb | ||
|
624cee5d87 | ||
|
a8664d01ec | ||
|
bd68f71af6 | ||
|
8ec828d6e4 | ||
|
a44d48d527 | ||
|
804642c5fc | ||
|
8e0daa69cc | ||
|
400b35216d | ||
|
4a5545529a | ||
|
b2fa8ab506 | ||
|
b9a0b3d2f0 | ||
|
e8c6784ce0 | ||
|
e3b8bb5ffc | ||
|
103bc69347 | ||
|
2b45c82a2e | ||
|
0d3232a5a1 | ||
|
ed5ddc37c8 | ||
|
48bc56f52a | ||
|
5de10b05e7 | ||
|
1fe2590ec8 | ||
|
d02684c714 | ||
|
80ed8a58d5 | ||
|
962501fe38 | ||
|
60c1e67e66 | ||
|
318b82941f |
7
.gitignore
vendored
@@ -2,6 +2,13 @@ local.properties
|
||||
.gradle/
|
||||
.idea/
|
||||
out/
|
||||
gen/
|
||||
bin/
|
||||
build/
|
||||
target/
|
||||
classes/
|
||||
gradle
|
||||
gradlew
|
||||
gradlew.bat
|
||||
*.iml
|
||||
*.keystore
|
||||
|
@@ -1,29 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.kde.kdeconnect_tp"
|
||||
android:versionCode="720"
|
||||
android:versionName="0.7.2">
|
||||
android:versionCode="906"
|
||||
android:versionName="0.9.1">
|
||||
|
||||
<uses-sdk android:minSdkVersion="9"
|
||||
android:targetSdkVersion="19" />
|
||||
android:targetSdkVersion="22" />
|
||||
|
||||
<supports-screens
|
||||
android:smallScreens="true"
|
||||
android:normalScreens="true"
|
||||
android:largeScreens="true"
|
||||
android:xlargeScreens="true"
|
||||
android:anyDensity="true"
|
||||
/>
|
||||
android:largeScreens="true"
|
||||
android:normalScreens="true"
|
||||
android:smallScreens="true"
|
||||
android:xlargeScreens="true" />
|
||||
|
||||
<uses-feature android:name="android.hardware.telephony" android:required="false" />
|
||||
<uses-feature
|
||||
android:name="android.hardware.telephony"
|
||||
android:required="false" />
|
||||
|
||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
|
||||
<uses-permission android:name="android.permission.READ_PHONE_STATE" android:required="false" />
|
||||
<uses-permission
|
||||
android:name="android.permission.READ_PHONE_STATE"
|
||||
android:required="false" />
|
||||
<uses-permission android:name="android.permission.BATTERY_STATS" />
|
||||
<uses-permission android:name="android.permission.RECEIVE_SMS" android:required="false" />
|
||||
<uses-permission
|
||||
android:name="android.permission.RECEIVE_SMS"
|
||||
android:required="false" />
|
||||
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
@@ -32,66 +37,65 @@
|
||||
android:allowBackup="true"
|
||||
android:icon="@drawable/icon"
|
||||
android:label="KDE Connect"
|
||||
android:theme="@style/KdeConnectTheme"
|
||||
>
|
||||
|
||||
<service
|
||||
android:enabled="true"
|
||||
android:name="org.kde.kdeconnect.BackgroundService">
|
||||
android:name="org.kde.kdeconnect.BackgroundService"
|
||||
android:enabled="true" >
|
||||
</service>
|
||||
|
||||
<activity
|
||||
android:theme="@style/Theme.AppCompat"
|
||||
android:name="org.kde.kdeconnect.UserInterface.MainActivity"
|
||||
android:label="KDE Connect" >
|
||||
|
||||
android:name="org.kde.kdeconnect.UserInterface.MaterialActivity"
|
||||
android:label="KDE Connect"
|
||||
android:theme="@style/KdeConnectTheme.NoActionBar">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name="org.kde.kdeconnect.UserInterface.MainSettingsActivity"
|
||||
android:label="@string/settings"
|
||||
android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity"
|
||||
>
|
||||
<meta-data android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:theme="@style/Theme.AppCompat"
|
||||
android:name="org.kde.kdeconnect.UserInterface.DeviceActivity"
|
||||
android:label="@string/device"
|
||||
android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity"
|
||||
>
|
||||
<meta-data android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:theme="@style/Theme.AppCompat"
|
||||
android:name="org.kde.kdeconnect.UserInterface.PairActivity"
|
||||
android:label="@string/pair_device"
|
||||
android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity"
|
||||
>
|
||||
<meta-data android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name="org.kde.kdeconnect.UserInterface.SettingsActivity"
|
||||
android:label="@string/settings"
|
||||
android:parentActivityName="org.kde.kdeconnect.UserInterface.DeviceActivity"
|
||||
>
|
||||
<meta-data android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="org.kde.kdeconnect.UserInterface.DeviceActivity" />
|
||||
android:label="@string/device_menu_plugins"
|
||||
android:parentActivityName="org.kde.kdeconnect.UserInterface.MaterialActivity" >
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="org.kde.kdeconnect.UserInterface.MaterialActivity" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name="org.kde.kdeconnect.UserInterface.CustomDevicesActivity"
|
||||
android:label="@string/custom_devices_settings"
|
||||
android:parentActivityName="org.kde.kdeconnect.UserInterface.MaterialActivity" >
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="org.kde.kdeconnect.UserInterface.MaterialActivity" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name="org.kde.kdeconnect.Plugins.SharePlugin.SendFileActivity"
|
||||
android:label="KDE Connect"
|
||||
android:parentActivityName="org.kde.kdeconnect.UserInterface.MaterialActivity" >
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="org.kde.kdeconnect.UserInterface.MaterialActivity" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name="org.kde.kdeconnect.UserInterface.PluginSettingsActivity"
|
||||
android:label="@string/device_menu_plugins"
|
||||
android:parentActivityName="org.kde.kdeconnect.UserInterface.SettingsActivity" >
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="org.kde.kdeconnect.UserInterface.SettingsActivity" />
|
||||
</activity>
|
||||
|
||||
<receiver android:name="org.kde.kdeconnect.KdeConnectBroadcastReceiver" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.PACKAGE_REPLACED" />
|
||||
<data android:scheme="package" android:path="org.kde.kdeconnect" />
|
||||
|
||||
<data
|
||||
android:host="kdeconnect"
|
||||
android:path="/"
|
||||
android:scheme="package" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
||||
@@ -102,7 +106,8 @@
|
||||
<intent-filter>
|
||||
<action android:name="android.net.wifi.WIFI_STATE_CHANGED" />
|
||||
</intent-filter>
|
||||
<!--<intent-filter>
|
||||
<!--
|
||||
<intent-filter>
|
||||
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
@@ -110,56 +115,67 @@
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.BATTERY_CHANGED" />
|
||||
</intent-filter>-->
|
||||
</intent-filter>
|
||||
-->
|
||||
</receiver>
|
||||
|
||||
<!-- Plugin-related activities and services -->
|
||||
|
||||
<activity
|
||||
android:theme="@style/Theme.AppCompat"
|
||||
android:name="org.kde.kdeconnect.Plugins.MprisPlugin.MprisActivity"
|
||||
android:label="@string/remote_control"
|
||||
android:parentActivityName="org.kde.kdeconnect.UserInterface.DeviceActivity"
|
||||
android:parentActivityName="org.kde.kdeconnect.UserInterface.MaterialActivity"
|
||||
>
|
||||
<meta-data android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="org.kde.kdeconnect.UserInterface.DeviceActivity" />
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="org.kde.kdeconnect.UserInterface.MaterialActivity" />
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:theme="@style/Theme.AppCompat"
|
||||
android:name="org.kde.kdeconnect.Plugins.MousePadPlugin.MousePadActivity"
|
||||
android:configChanges="orientation|keyboardHidden|screenSize"
|
||||
android:label="@string/remote_control"
|
||||
android:parentActivityName="org.kde.kdeconnect.UserInterface.MaterialActivity"
|
||||
android:screenOrientation="fullSensor"
|
||||
android:parentActivityName="org.kde.kdeconnect.UserInterface.DeviceActivity"
|
||||
>
|
||||
<meta-data android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="org.kde.kdeconnect.UserInterface.DeviceActivity" />
|
||||
android:windowSoftInputMode="stateHidden|adjustResize" >
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="org.kde.kdeconnect.UserInterface.MaterialActivity" />
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:theme="@style/Theme.AppCompat"
|
||||
android:name="org.kde.kdeconnect.UserInterface.ShareToReceiver"
|
||||
android:name="org.kde.kdeconnect.Plugins.SharePlugin.ShareActivity"
|
||||
android:label="KDE Connect"
|
||||
>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SEND" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
<data android:mimeType="*/*" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SEND_MULTIPLE" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
<data android:mimeType="*/*" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<service android:name="org.kde.kdeconnect.Plugins.NotificationsPlugin.NotificationReceiver"
|
||||
<service
|
||||
android:name="org.kde.kdeconnect.Plugins.NotificationsPlugin.NotificationReceiver"
|
||||
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" >
|
||||
<intent-filter>
|
||||
<action android:name="android.service.notification.NotificationListenerService" />
|
||||
</intent-filter>
|
||||
</service>
|
||||
|
||||
<activity
|
||||
android:name="org.kde.kdeconnect.Plugins.NotificationsPlugin.NotificationFilterActivity"
|
||||
android:label="@string/title_activity_notification_filter"
|
||||
android:parentActivityName="org.kde.kdeconnect.UserInterface.PluginSettingsActivity" >
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="org.kde.kdeconnect.UserInterface.PluginSettingsActivity" />
|
||||
</activity>
|
||||
|
||||
</application>
|
||||
|
25
README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# KDE Connect - Android app
|
||||
|
||||
KDE Connect is a multi-platform app that allows your devices to communicate (eg: your phone and your computer).
|
||||
|
||||
## (Some) Features
|
||||
- **Shared clipboard**: copy and paste between your phone and your computer (or any other device).
|
||||
- **Notification sync**: Read your Android notifications from the desktop.
|
||||
- **Share files and URLs** instantly from one device to another.
|
||||
- **Multimedia remote control**: Use your phone as a remote for Linux media players.
|
||||
- **Virtual touchpad**: Use your phone screen as your computer's touchpad.
|
||||
|
||||
All this without wires, over the already existing WiFi network, and using a secure, encrypted protocol.
|
||||
|
||||
## About this app
|
||||
|
||||
This is a native Android port of the KDE Connect Qt app. You will find a more complete readme about KDE Connect [here](https://github.com/albertvaka/kdeconnect-kde).
|
||||
|
||||
## How to install this app
|
||||
|
||||
You can install this app from the [Play Store](https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp) as well as [F-Droid](https://f-droid.org/repository/browse/?fdid=org.kde.kdeconnect_tp). Note you will also need to install the [desktop app](https://github.com/albertvaka/kdeconnect-kde) for it to work.
|
||||
|
||||
## License
|
||||
[GNU GPL v2](https://www.gnu.org/licenses/gpl-2.0.html) and [GNU GPL v3](https://www.gnu.org/licenses/gpl-3.0.html)
|
||||
|
||||
If you are reading this from Github, you should know that this is just a mirror of the [KDE Project repo](https://projects.kde.org/projects/playground/base/kdeconnect-android/repository/).
|
@@ -7,7 +7,7 @@ function export_pot_file # First parameter will be the path of the pot file we h
|
||||
{
|
||||
potfile=$1
|
||||
mkdir outdir
|
||||
a2po export --android src/main/res/ --gettext outdir
|
||||
a2po export --android res/ --gettext outdir
|
||||
mv outdir/template.pot $potfile
|
||||
rm -rf outdir
|
||||
}
|
||||
@@ -15,7 +15,7 @@ function export_pot_file # First parameter will be the path of the pot file we h
|
||||
function import_po_files # First parameter will be a path that will contain several .po files with the format LANG.po
|
||||
{
|
||||
podir=$1
|
||||
a2po import --android src/main/res/ --gettext $podir
|
||||
a2po import --ignore-fuzzy --android res/ --gettext $podir
|
||||
}
|
||||
|
||||
|
||||
|
55
build.gradle
@@ -1,34 +1,47 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:0.12.+'
|
||||
classpath 'com.android.tools.build:gradle:1.3.0'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
compileSdkVersion 19
|
||||
buildToolsVersion '20.0.0'
|
||||
compileSdkVersion 22
|
||||
buildToolsVersion '22.0.1'
|
||||
defaultConfig {
|
||||
minSdkVersion 9
|
||||
targetSdkVersion 19
|
||||
targetSdkVersion 22
|
||||
}
|
||||
sourceSets {
|
||||
main {
|
||||
manifest.srcFile 'AndroidManifest.xml'
|
||||
java.srcDirs = ['src']
|
||||
resources.srcDirs = ['resources']
|
||||
res.srcDirs = ['res']
|
||||
assets.srcDirs = ['assets']
|
||||
}
|
||||
androidTest {
|
||||
java.srcDirs = ['tests']
|
||||
}
|
||||
}
|
||||
packagingOptions {
|
||||
exclude "META-INF/DEPENDENCIES"
|
||||
exclude "META-INF/NOTICE"
|
||||
exclude "META-INF/LICENSE"
|
||||
exclude "META-INF/LICENSE.txt"
|
||||
exclude "META-INF/NOTICE.txt"
|
||||
pickFirst "META-INF/DEPENDENCIES"
|
||||
pickFirst "META-INF/LICENSE"
|
||||
pickFirst "META-INF/NOTICE"
|
||||
}
|
||||
lintOptions {
|
||||
abortOnError false
|
||||
}
|
||||
productFlavors {
|
||||
checkReleaseBuilds false
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,11 +49,19 @@ dependencies {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
compile 'com.android.support:support-v4:19.1.+'
|
||||
compile 'com.android.support:appcompat-v7:19.1.+'
|
||||
compile 'org.apache.mina:mina-core:2.0.+'
|
||||
compile 'org.bouncycastle:bcprov-jdk16:1.45'
|
||||
compile 'com.android.support:support-v4:22.2.1'
|
||||
compile 'com.android.support:appcompat-v7:22.2.1'
|
||||
compile 'com.android.support:design:22.2.1'
|
||||
|
||||
compile 'org.apache.mina:mina-core:2.0.9'
|
||||
compile 'org.apache.sshd:sshd-core:0.8.0'
|
||||
compile 'tomcat:tomcat-apr:5.5.+'
|
||||
compile 'org.bouncycastle:bcprov-jdk16:1.46'
|
||||
|
||||
androidTestCompile 'org.mockito:mockito-core:1.10.19'
|
||||
|
||||
// Because mockito has some problems with dex environment
|
||||
androidTestCompile 'com.google.dexmaker:dexmaker:1.1'
|
||||
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.1'
|
||||
|
||||
//compile fileTree(dir: 'libs', include: '*.jar')
|
||||
}
|
||||
|
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
6
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +0,0 @@
|
||||
#Mon Jun 09 09:51:48 CEST 2014
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-all.zip
|
164
gradlew
vendored
@@ -1,164 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
##############################################################################
|
||||
##
|
||||
## Gradle start up script for UN*X
|
||||
##
|
||||
##############################################################################
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS=""
|
||||
|
||||
APP_NAME="Gradle"
|
||||
APP_BASE_NAME=`basename "$0"`
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD="maximum"
|
||||
|
||||
warn ( ) {
|
||||
echo "$*"
|
||||
}
|
||||
|
||||
die ( ) {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
}
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
cygwin=false
|
||||
msys=false
|
||||
darwin=false
|
||||
case "`uname`" in
|
||||
CYGWIN* )
|
||||
cygwin=true
|
||||
;;
|
||||
Darwin* )
|
||||
darwin=true
|
||||
;;
|
||||
MINGW* )
|
||||
msys=true
|
||||
;;
|
||||
esac
|
||||
|
||||
# For Cygwin, ensure paths are in UNIX format before anything is touched.
|
||||
if $cygwin ; then
|
||||
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
|
||||
fi
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
# Resolve links: $0 may be a link
|
||||
PRG="$0"
|
||||
# Need this for relative symlinks.
|
||||
while [ -h "$PRG" ] ; do
|
||||
ls=`ls -ld "$PRG"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
PRG="$link"
|
||||
else
|
||||
PRG=`dirname "$PRG"`"/$link"
|
||||
fi
|
||||
done
|
||||
SAVED="`pwd`"
|
||||
cd "`dirname \"$PRG\"`/" >&-
|
||||
APP_HOME="`pwd -P`"
|
||||
cd "$SAVED" >&-
|
||||
|
||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD="$JAVA_HOME/jre/sh/java"
|
||||
else
|
||||
JAVACMD="$JAVA_HOME/bin/java"
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
JAVACMD="java"
|
||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
|
||||
MAX_FD_LIMIT=`ulimit -H -n`
|
||||
if [ $? -eq 0 ] ; then
|
||||
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
||||
MAX_FD="$MAX_FD_LIMIT"
|
||||
fi
|
||||
ulimit -n $MAX_FD
|
||||
if [ $? -ne 0 ] ; then
|
||||
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
||||
fi
|
||||
else
|
||||
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
||||
fi
|
||||
fi
|
||||
|
||||
# For Darwin, add options to specify how the application appears in the dock
|
||||
if $darwin; then
|
||||
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
||||
fi
|
||||
|
||||
# For Cygwin, switch paths to Windows format before running java
|
||||
if $cygwin ; then
|
||||
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
||||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
||||
|
||||
# We build the pattern for arguments to be converted via cygpath
|
||||
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
||||
SEP=""
|
||||
for dir in $ROOTDIRSRAW ; do
|
||||
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
||||
SEP="|"
|
||||
done
|
||||
OURCYGPATTERN="(^($ROOTDIRS))"
|
||||
# Add a user-defined pattern to the cygpath arguments
|
||||
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
||||
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
||||
fi
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
i=0
|
||||
for arg in "$@" ; do
|
||||
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
||||
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
||||
|
||||
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
||||
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
||||
else
|
||||
eval `echo args$i`="\"$arg\""
|
||||
fi
|
||||
i=$((i+1))
|
||||
done
|
||||
case $i in
|
||||
(0) set -- ;;
|
||||
(1) set -- "$args0" ;;
|
||||
(2) set -- "$args0" "$args1" ;;
|
||||
(3) set -- "$args0" "$args1" "$args2" ;;
|
||||
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
||||
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
||||
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
||||
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
||||
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
||||
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
|
||||
function splitJvmOpts() {
|
||||
JVM_OPTS=("$@")
|
||||
}
|
||||
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
|
||||
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
|
||||
|
||||
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
|
90
gradlew.bat
vendored
@@ -1,90 +0,0 @@
|
||||
@if "%DEBUG%" == "" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS=
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%" == "" set DIRNAME=.
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if "%ERRORLEVEL%" == "0" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:init
|
||||
@rem Get command-line arguments, handling Windowz variants
|
||||
|
||||
if not "%OS%" == "Windows_NT" goto win9xME_args
|
||||
if "%@eval[2+2]" == "4" goto 4NT_args
|
||||
|
||||
:win9xME_args
|
||||
@rem Slurp the command line arguments.
|
||||
set CMD_LINE_ARGS=
|
||||
set _SKIP=2
|
||||
|
||||
:win9xME_args_slurp
|
||||
if "x%~1" == "x" goto execute
|
||||
|
||||
set CMD_LINE_ARGS=%*
|
||||
goto execute
|
||||
|
||||
:4NT_args
|
||||
@rem Get arguments from the 4NT Shell from JP Software
|
||||
set CMD_LINE_ARGS=%$
|
||||
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if "%ERRORLEVEL%"=="0" goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
||||
exit /b 1
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
262
icon.svg
@@ -14,8 +14,11 @@
|
||||
height="274.43201"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
sodipodi:docname="kdeconnect.svg">
|
||||
inkscape:version="0.91 r13725"
|
||||
sodipodi:docname="icon.svg"
|
||||
inkscape:export-filename="/home/vaka/kdeconnect/kdeconnect-android/res/drawable-mdpi/icon.png"
|
||||
inkscape:export-xdpi="15.741604"
|
||||
inkscape:export-ydpi="15.741604">
|
||||
<defs
|
||||
id="defs4">
|
||||
<linearGradient
|
||||
@@ -65,18 +68,6 @@
|
||||
offset="1"
|
||||
id="stop4280" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4153">
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4155" />
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0"
|
||||
offset="1"
|
||||
id="stop4157" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3994">
|
||||
<stop
|
||||
@@ -516,43 +507,6 @@
|
||||
y2="967.36218"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-296.98485,-295.9747)" />
|
||||
<filter
|
||||
inkscape:collect="always"
|
||||
id="filter3898"
|
||||
x="-0.0093191492"
|
||||
width="1.0186383"
|
||||
y="-0.14599991"
|
||||
height="1.2919998">
|
||||
<feGaussianBlur
|
||||
inkscape:collect="always"
|
||||
stdDeviation="0.91250003"
|
||||
id="feGaussianBlur3900" />
|
||||
</filter>
|
||||
<filter
|
||||
inkscape:collect="always"
|
||||
id="filter3902">
|
||||
<feGaussianBlur
|
||||
inkscape:collect="always"
|
||||
stdDeviation="0.91250003"
|
||||
id="feGaussianBlur3904" />
|
||||
</filter>
|
||||
<filter
|
||||
inkscape:collect="always"
|
||||
id="filter3935">
|
||||
<feGaussianBlur
|
||||
inkscape:collect="always"
|
||||
stdDeviation="0.5499999"
|
||||
id="feGaussianBlur3937" />
|
||||
</filter>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3994"
|
||||
id="linearGradient4000"
|
||||
x1="-61.213001"
|
||||
y1="-85.49823"
|
||||
x2="238.787"
|
||||
y2="424.50177"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3994-1"
|
||||
@@ -613,52 +567,6 @@
|
||||
offset="1"
|
||||
id="stop3998-2" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4153"
|
||||
id="linearGradient4159"
|
||||
x1="130"
|
||||
y1="1052.3622"
|
||||
x2="130"
|
||||
y2="1032.3622"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<filter
|
||||
inkscape:collect="always"
|
||||
id="filter4182"
|
||||
x="-0.0093191487"
|
||||
width="1.0186383"
|
||||
y="-0.146"
|
||||
height="1.292">
|
||||
<feGaussianBlur
|
||||
inkscape:collect="always"
|
||||
stdDeviation="0.91249998"
|
||||
id="feGaussianBlur4184" />
|
||||
</filter>
|
||||
<filter
|
||||
inkscape:collect="always"
|
||||
id="filter4186">
|
||||
<feGaussianBlur
|
||||
inkscape:collect="always"
|
||||
stdDeviation="0.91249998"
|
||||
id="feGaussianBlur4188" />
|
||||
</filter>
|
||||
<filter
|
||||
color-interpolation-filters="sRGB"
|
||||
inkscape:collect="always"
|
||||
id="filter3935-5">
|
||||
<feGaussianBlur
|
||||
inkscape:collect="always"
|
||||
stdDeviation="0.5499999"
|
||||
id="feGaussianBlur3937-7" />
|
||||
</filter>
|
||||
<filter
|
||||
inkscape:collect="always"
|
||||
id="filter4253">
|
||||
<feGaussianBlur
|
||||
inkscape:collect="always"
|
||||
stdDeviation="0.54999983"
|
||||
id="feGaussianBlur4255" />
|
||||
</filter>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4276"
|
||||
@@ -680,7 +588,7 @@
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(415.17269,-239.40615)" />
|
||||
<linearGradient
|
||||
gradientTransform="matrix(1.5765306,0,0,1.5765306,-240.12657,-563.0272)"
|
||||
gradientTransform="matrix(1.838244,0,0,1.760204,-248.41104,-733.67334)"
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4303-8"
|
||||
id="linearGradient4309-4"
|
||||
@@ -701,25 +609,6 @@
|
||||
offset="1"
|
||||
id="stop4307-0" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4022"
|
||||
id="linearGradient4028"
|
||||
x1="338.78699"
|
||||
y1="-145.49823"
|
||||
x2="388.78699"
|
||||
y2="-25.498228"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.5765306,0,0,1.5765306,-382.12995,246.43833)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4022"
|
||||
id="linearGradient4052"
|
||||
x1="141.07115"
|
||||
y1="130.60065"
|
||||
x2="243.84538"
|
||||
y2="130.60065"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4123"
|
||||
@@ -839,34 +728,26 @@
|
||||
offset="1"
|
||||
id="stop3998-0" />
|
||||
</linearGradient>
|
||||
<filter
|
||||
inkscape:collect="always"
|
||||
id="filter4199">
|
||||
<feGaussianBlur
|
||||
inkscape:collect="always"
|
||||
stdDeviation="2.555"
|
||||
id="feGaussianBlur4201" />
|
||||
</filter>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#000000"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#9d4f2f"
|
||||
borderopacity="1"
|
||||
inkscape:pageopacity="0.51372549"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.7"
|
||||
inkscape:cx="237.10108"
|
||||
inkscape:cy="152.16765"
|
||||
inkscape:zoom="0.49497475"
|
||||
inkscape:cx="-397.02564"
|
||||
inkscape:cy="247.25211"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:window-width="1366"
|
||||
inkscape:window-height="713"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1025"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="-3"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
@@ -877,7 +758,7 @@
|
||||
id="grid2985"
|
||||
empspacing="5"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
enabled="false"
|
||||
snapvisiblegridlinesonly="true"
|
||||
originx="8.7869998px"
|
||||
originy="9.9302358px" />
|
||||
@@ -885,10 +766,6 @@
|
||||
orientation="1,0"
|
||||
position="8.7869998,239.93024"
|
||||
id="guide2989" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="201.787,265.93024"
|
||||
id="guide2991" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="263.787,-0.0697642"
|
||||
@@ -899,11 +776,7 @@
|
||||
id="guide2995" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="118.787,309.93024"
|
||||
id="guide4512" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="158.787,289.93024"
|
||||
position="263.787,296.98485"
|
||||
id="guide4514" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
@@ -911,20 +784,8 @@
|
||||
id="guide3939" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="148.787,89.930236"
|
||||
position="-434.64286,137.14286"
|
||||
id="guide3941" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="223.787,174.93024"
|
||||
id="guide3942" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="203.787,179.93024"
|
||||
id="guide3944" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="63.787,39.930236"
|
||||
id="guide4111" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="128.787,19.930236"
|
||||
@@ -938,7 +799,7 @@
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
<dc:title></dc:title>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>Malcer</dc:title>
|
||||
@@ -952,83 +813,31 @@
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(8.7869998,-787.86042)">
|
||||
<rect
|
||||
style="opacity:0.5;fill:#000000;fill-opacity:1;stroke:none;filter:url(#filter4199)"
|
||||
id="rect3908-2"
|
||||
width="255"
|
||||
height="256"
|
||||
x="-7.9314225e-07"
|
||||
y="796.36218"
|
||||
rx="10"
|
||||
ry="9.0819159"
|
||||
transform="matrix(1.0053352,0,0,1.0053352,0.03271549,-4.2160417)" />
|
||||
<rect
|
||||
style="opacity:0.2;fill:#b3b3b3;fill-opacity:1;stroke:none"
|
||||
id="rect3908-8"
|
||||
width="259"
|
||||
height="260"
|
||||
x="-2"
|
||||
y="794.36218"
|
||||
rx="12"
|
||||
ry="11.000009" />
|
||||
<rect
|
||||
style="fill:url(#linearGradient4000);fill-opacity:1;stroke:none"
|
||||
id="rect3908"
|
||||
width="255"
|
||||
height="256"
|
||||
x="8.7869997"
|
||||
y="8.5017672"
|
||||
transform="translate(-8.7869998,787.86042)"
|
||||
rx="10"
|
||||
ry="9.0819159" />
|
||||
<rect
|
||||
style="opacity:0.2;fill:url(#linearGradient4159);fill-opacity:1;stroke:none"
|
||||
id="rect3908-1"
|
||||
width="255"
|
||||
height="229.99998"
|
||||
x="0"
|
||||
y="822.36218"
|
||||
rx="10"
|
||||
ry="9.0819159" />
|
||||
<path
|
||||
style="opacity:0.1;fill:#000000;fill-opacity:1;stroke:none"
|
||||
d="m 33.787,244.50177 115,-219.999999 115,139.999999 0,90 0,0 0,0 c 0,0 0,-10 0,0 0,10 -10.11244,10 -10.11244,10 l -204.88756,0 z"
|
||||
id="path4311"
|
||||
inkscape:connector-curvature="0"
|
||||
transform="translate(-8.7869998,787.86042)"
|
||||
sodipodi:nodetypes="cccccczccc" />
|
||||
<path
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;opacity:0.2"
|
||||
d="m 18.787,8.5017668 c 10,0 227,8.4e-6 235,4.2e-6 8,-4.2e-6 10,7 10,9 0,2 0,2 0,2 -1,-4 -5,-6 -8,-6 -82.05383,0 -156.925223,0 -239,0 -4,0 -7.014667,3.536667 -8.0000003,6 0,0 10e-8,-1 10e-8,-2 0,-1 0,-9.0000042 10.0000002,-9.0000042 z"
|
||||
id="rect4116"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="zzzcccczz"
|
||||
transform="translate(-8.7869998,787.86042)" />
|
||||
<path
|
||||
style="fill:#f2f2f2;fill-opacity:1;stroke:none"
|
||||
d="m 27.883669,812.27851 110.357121,0 c 4.36699,0 7.88265,3.51567 7.88265,7.88266 l 0,39.41326 -9.45918,0 0,-36.2602 -107.204076,0 0,192.33677 107.204076,0 0,-156.07657 9.45918,0 0,165.53567 c 0,4.367 -3.51566,7.8827 -7.88265,7.8827 l -110.357121,0 c -4.367006,0 -7.882669,-3.5157 -7.882669,-7.8827 l 0,-204.94893 c 0,-4.36699 3.515663,-7.88266 7.882669,-7.88266 z"
|
||||
d="m 64.090487,801.86214 128.677053,0 c 5.09194,0 9.19121,3.92526 9.19121,8.80103 l 0,44.00509 -11.02945,0 0,-40.48469 -125.000587,0 0,214.74493 125.000587,0 0,-174.26024 11.02945,0 0,184.82144 c 0,4.8757 -4.09927,8.801 -9.19121,8.801 l -128.677053,0 c -5.091955,0 -9.191239,-3.9253 -9.191239,-8.801 l 0,-228.82653 c 0,-4.87577 4.099284,-8.80103 9.191239,-8.80103 z"
|
||||
id="rect3099-1"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="sssccccccccssssss" />
|
||||
<rect
|
||||
style="fill:#2d2d2d;fill-opacity:1;stroke:none"
|
||||
id="rect3907-1"
|
||||
width="107.20409"
|
||||
height="192.33675"
|
||||
x="29.460182"
|
||||
y="823.31403"
|
||||
width="125.0006"
|
||||
height="214.7449"
|
||||
x="65.928711"
|
||||
y="814.18335"
|
||||
rx="0"
|
||||
ry="0" />
|
||||
<rect
|
||||
style="fill:#1a1a1a;fill-opacity:1;stroke:none"
|
||||
id="rect3946-5"
|
||||
width="31.530609"
|
||||
height="1.5765324"
|
||||
x="67.296921"
|
||||
y="817.00793"
|
||||
ry="0.78826618" />
|
||||
width="35.204079"
|
||||
height="1.760206"
|
||||
x="110.82697"
|
||||
y="807.14258"
|
||||
ry="0.88010299" />
|
||||
<g
|
||||
transform="matrix(0.80336174,0,0,0.80336174,28.27591,877.43019)"
|
||||
transform="matrix(0.99703783,0,0,0.99703783,60.422321,868.29896)"
|
||||
id="g3764-6-1"
|
||||
style="fill:#f2f2f2;fill-opacity:1">
|
||||
<g
|
||||
@@ -1048,20 +857,9 @@
|
||||
</g>
|
||||
<path
|
||||
style="opacity:0.5;fill:url(#linearGradient4309-4);fill-opacity:1;stroke:none"
|
||||
d="m 29.460184,823.31423 77.249996,0 13.39023,-0.95204 -76.27562,194.86531 -15.941137,0 z"
|
||||
d="m 65.928713,814.18357 90.073947,0 15.61309,-1.06296 -88.937821,217.56809 -18.58746,0 z"
|
||||
id="rect3907-9-4"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccccc" />
|
||||
<g
|
||||
transform="translate(-8.7869998,787.86042)"
|
||||
style="font-size:144px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:url(#linearGradient4052);font-family:Nokia Pure Text;-inkscape-font-specification:Nokia Pure Text;stroke-width:7;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="text3247">
|
||||
<path
|
||||
d="m 175.48241,130.60064 c 0,-12.66854 -7.72782,-25.08374 -19.63624,-29.77109 -1.01349,-0.50675 -2.15367,-0.63344 -3.16714,-0.63344 -4.43399,0 -8.10788,3.54721 -8.10788,8.10788 0,9.62809 14.69552,6.96771 14.69552,22.29665 0,15.32892 -14.69552,12.66856 -14.69552,22.29665 0,4.56067 3.67389,8.10786 8.10788,8.10786 1.01347,0 2.15365,-0.12675 3.16714,-0.63341 11.90842,-4.81405 19.63624,-17.10257 19.63624,-29.7711 m 32.43149,0 c 0,-25.71712 -15.45564,-49.660734 -39.2725,-59.668882 -1.01349,-0.380054 -2.15365,-0.633418 -3.29383,-0.633418 -4.43399,0 -8.10787,3.673884 -8.10787,8.107876 0,3.547179 2.02697,5.95421 4.94073,7.474443 3.42051,1.773596 6.58766,3.293813 9.62811,5.574155 12.54186,9.121356 19.88962,23.690216 19.88962,39.145826 0,15.45561 -7.34776,30.02448 -19.88962,39.14582 -3.04045,2.28033 -6.2076,3.80056 -9.62811,5.57416 -2.91376,1.52023 -4.94073,3.92726 -4.94073,7.47444 0,4.43399 3.67388,8.10788 8.23456,8.10788 1.01349,0 2.15365,-0.25337 3.16714,-0.63344 23.81686,-10.00813 39.2725,-33.95173 39.2725,-59.66886 m 32.43149,0 c 0,-38.892415 -23.18348,-74.111022 -58.90875,-89.439944 -1.01349,-0.380071 -2.15365,-0.633435 -3.29383,-0.633435 -4.43398,0 -8.10786,3.673884 -8.10786,8.107877 0,3.673868 1.90028,5.700845 4.94072,7.474442 1.77359,1.013473 3.80057,1.646891 5.70086,2.66038 3.54718,1.900271 7.09439,4.053938 10.3882,6.460953 20.7764,15.328939 33.06492,39.525917 33.06492,65.369727 0,25.84382 -12.28852,50.04079 -33.06492,65.36973 -3.29381,2.40701 -6.84102,4.56066 -10.3882,6.46095 -1.90029,1.01349 -3.92727,1.64691 -5.70086,2.66039 -3.04044,1.7736 -4.94072,3.80058 -4.94072,7.47445 0,4.43399 3.67388,8.10787 8.10786,8.10787 1.14018,0 2.28034,-0.25338 3.29383,-0.63343 35.72527,-15.32892 58.90875,-50.54755 58.90875,-89.43996"
|
||||
id="path3252"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccsssssccccssccsccssccccsscccscccsscc"
|
||||
style="fill:url(#linearGradient4028);fill-opacity:1;stroke:url(#linearGradient4052);stroke-opacity:1;stroke-width:7;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 27 KiB |
@@ -1,73 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="android" name="Android">
|
||||
<configuration>
|
||||
<option name="SELECTED_BUILD_VARIANT" value="debug" />
|
||||
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
|
||||
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugJava" />
|
||||
<option name="ASSEMBLE_TEST_TASK_NAME" value="assembleDebugTest" />
|
||||
<option name="SOURCE_GEN_TASK_NAME" value="generateDebugSources" />
|
||||
<option name="ALLOW_USER_CONFIGURATION" value="false" />
|
||||
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
|
||||
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
|
||||
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res" />
|
||||
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
|
||||
</configuration>
|
||||
</facet>
|
||||
<facet type="android-gradle" name="Android-Gradle">
|
||||
<configuration>
|
||||
<option name="GRADLE_PROJECT_PATH" value=":" />
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="false">
|
||||
<output url="file://$MODULE_DIR$/build/intermediates/classes/debug" />
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/debug" isTestSource="false" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/debug" isTestSource="false" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/debug" isTestSource="false" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/test/debug" isTestSource="true" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/test/debug" isTestSource="true" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/test/debug" isTestSource="true" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/test/debug" isTestSource="true" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/test/debug" type="java-test-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/debug/res" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/debug/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/debug/aidl" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/debug/assets" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/debug/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/debug/jni" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/debug/rs" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/res" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/aidl" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/assets" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/jni" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/rs" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="Android API 19 Platform" jdkType="Android SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" exported="" name="sshd-core-0.8.0" level="project" />
|
||||
<orderEntry type="library" exported="" name="tomcat-apr-5.5.15" level="project" />
|
||||
<orderEntry type="library" exported="" name="slf4j-api-1.6.6" level="project" />
|
||||
<orderEntry type="library" exported="" name="appcompat-v7-19.1.0" level="project" />
|
||||
<orderEntry type="library" exported="" name="support-v4-19.1.0" level="project" />
|
||||
<orderEntry type="library" exported="" name="bcprov-jdk16-1.45" level="project" />
|
||||
<orderEntry type="library" exported="" name="mina-core-2.0.7" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
|
30
proguard-rules.pro
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# By default, the flags in this file are appended to flags specified
|
||||
# in {SDKHOME}/tools/proguard/proguard-android.txt
|
||||
# You can edit the include path and order by changing the proguardFiles
|
||||
# directive in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# Add any project specific keep options here:
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Allow obfuscation of android.support.v7.internal.view.menu.**
|
||||
# to avoid problem on Samsung 4.2.2 devices with appcompat v21
|
||||
# see https://code.google.com/p/android/issues/detail?id=78377
|
||||
-keep class !android.support.v7.internal.view.menu.**,** {*;}
|
||||
|
||||
-dontwarn org.apache.sshd.**
|
||||
-dontwarn org.apache.mina.**
|
||||
-dontwarn org.bouncycastle.**
|
||||
-dontwarn org.slf4j.**
|
||||
|
||||
-keepattributes SourceFile,LineNumberTable
|
||||
|
6
res/color/state_list_drawer_text.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:color="#FFFFFF" android:state_checked="true" />
|
||||
<item android:color="#000000" android:state_checked="false" />
|
||||
</selector>
|
||||
|
BIN
res/drawable-hdpi-v11/ic_notification.png
Normal file
After Width: | Height: | Size: 469 B |
BIN
res/drawable-hdpi/drawer_shadow.9.png
Normal file
After Width: | Height: | Size: 161 B |
BIN
res/drawable-hdpi/ic_action_content_add_circle_outline.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-hdpi/ic_action_image_edit.png
Normal file
After Width: | Height: | Size: 532 B |
BIN
res/drawable-hdpi/ic_action_keyboard.png
Normal file
After Width: | Height: | Size: 351 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 557 B After Width: | Height: | Size: 557 B |
BIN
res/drawable-hdpi/ic_action_settings_inverted.png
Normal file
After Width: | Height: | Size: 590 B |
BIN
res/drawable-hdpi/ic_device_laptop.png
Normal file
After Width: | Height: | Size: 627 B |
BIN
res/drawable-hdpi/ic_device_phone.png
Normal file
After Width: | Height: | Size: 560 B |
BIN
res/drawable-hdpi/ic_device_tablet.png
Normal file
After Width: | Height: | Size: 444 B |
BIN
res/drawable-hdpi/ic_drawer.png
Normal file
After Width: | Height: | Size: 231 B |
BIN
res/drawable-hdpi/ic_notification.png
Normal file
After Width: | Height: | Size: 686 B |
BIN
res/drawable-hdpi/ic_volume.png
Normal file
After Width: | Height: | Size: 823 B |
BIN
res/drawable-hdpi/icon.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
res/drawable-hdpi/mpris_plugin_action.png
Normal file
After Width: | Height: | Size: 477 B |
BIN
res/drawable-hdpi/share_plugin_action.png
Normal file
After Width: | Height: | Size: 441 B |
BIN
res/drawable-hdpi/touchpad_plugin_action.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
res/drawable-mdpi-v11/ic_notification.png
Normal file
After Width: | Height: | Size: 313 B |
BIN
res/drawable-mdpi/drawer_shadow.9.png
Normal file
After Width: | Height: | Size: 142 B |
BIN
res/drawable-mdpi/ic_action_content_add_circle_outline.png
Normal file
After Width: | Height: | Size: 645 B |
BIN
res/drawable-mdpi/ic_action_image_edit.png
Normal file
After Width: | Height: | Size: 462 B |
BIN
res/drawable-mdpi/ic_action_keyboard.png
Normal file
After Width: | Height: | Size: 431 B |
Before Width: | Height: | Size: 750 B After Width: | Height: | Size: 750 B |
Before Width: | Height: | Size: 365 B After Width: | Height: | Size: 365 B |
BIN
res/drawable-mdpi/ic_action_settings_inverted.png
Normal file
After Width: | Height: | Size: 365 B |
BIN
res/drawable-mdpi/ic_device_laptop.png
Normal file
After Width: | Height: | Size: 377 B |
BIN
res/drawable-mdpi/ic_device_phone.png
Normal file
After Width: | Height: | Size: 402 B |
BIN
res/drawable-mdpi/ic_device_tablet.png
Normal file
After Width: | Height: | Size: 304 B |
BIN
res/drawable-mdpi/ic_drawer.png
Normal file
After Width: | Height: | Size: 163 B |
BIN
res/drawable-mdpi/ic_notification.png
Normal file
After Width: | Height: | Size: 462 B |
BIN
res/drawable-mdpi/ic_volume.png
Normal file
After Width: | Height: | Size: 497 B |
BIN
res/drawable-mdpi/icon.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
res/drawable-mdpi/mpris_plugin_action.png
Normal file
After Width: | Height: | Size: 311 B |
BIN
res/drawable-mdpi/share_plugin_action.png
Normal file
After Width: | Height: | Size: 373 B |
BIN
res/drawable-mdpi/touchpad_plugin_action.png
Normal file
After Width: | Height: | Size: 841 B |
BIN
res/drawable-xhdpi-v11/ic_notification.png
Normal file
After Width: | Height: | Size: 552 B |
BIN
res/drawable-xhdpi/drawer_shadow.9.png
Normal file
After Width: | Height: | Size: 174 B |
BIN
res/drawable-xhdpi/ic_action_content_add_circle_outline.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
res/drawable-xhdpi/ic_action_image_edit.png
Normal file
After Width: | Height: | Size: 994 B |
BIN
res/drawable-xhdpi/ic_action_keyboard.png
Normal file
After Width: | Height: | Size: 451 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 713 B After Width: | Height: | Size: 713 B |
BIN
res/drawable-xhdpi/ic_action_settings_inverted.png
Normal file
After Width: | Height: | Size: 750 B |
BIN
res/drawable-xhdpi/ic_device_laptop.png
Normal file
After Width: | Height: | Size: 790 B |
BIN
res/drawable-xhdpi/ic_device_phone.png
Normal file
After Width: | Height: | Size: 693 B |
BIN
res/drawable-xhdpi/ic_device_tablet.png
Normal file
After Width: | Height: | Size: 611 B |
BIN
res/drawable-xhdpi/ic_drawer.png
Normal file
After Width: | Height: | Size: 304 B |
BIN
res/drawable-xhdpi/ic_notification.png
Normal file
After Width: | Height: | Size: 936 B |
BIN
res/drawable-xhdpi/ic_volume.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
res/drawable-xhdpi/icon.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
res/drawable-xhdpi/mpris_plugin_action.png
Normal file
After Width: | Height: | Size: 667 B |
BIN
res/drawable-xhdpi/share_plugin_action.png
Normal file
After Width: | Height: | Size: 684 B |
BIN
res/drawable-xhdpi/touchpad_plugin_action.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
res/drawable-xxhdpi-v11/ic_notification.png
Normal file
After Width: | Height: | Size: 931 B |
BIN
res/drawable-xxhdpi/drawer_shadow.9.png
Normal file
After Width: | Height: | Size: 208 B |
BIN
res/drawable-xxhdpi/ic_action_content_add_circle_outline.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
res/drawable-xxhdpi/ic_action_image_edit.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
res/drawable-xxhdpi/ic_action_keyboard.png
Normal file
After Width: | Height: | Size: 468 B |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-xxhdpi/ic_device_laptop.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
res/drawable-xxhdpi/ic_device_phone.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
res/drawable-xxhdpi/ic_device_tablet.png
Normal file
After Width: | Height: | Size: 843 B |
BIN
res/drawable-xxhdpi/ic_drawer.png
Normal file
After Width: | Height: | Size: 537 B |
BIN
res/drawable-xxhdpi/ic_notification.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
res/drawable-xxhdpi/ic_volume.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
res/drawable-xxhdpi/icon.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
res/drawable-xxhdpi/mpris_plugin_action.png
Normal file
After Width: | Height: | Size: 686 B |
BIN
res/drawable-xxhdpi/share_plugin_action.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-xxhdpi/touchpad_plugin_action.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
res/drawable-xxxhdpi-v11/ic_notification.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
res/drawable-xxxhdpi/ic_notification.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
res/drawable-xxxhdpi/ic_volume.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
9
res/drawable/button_round.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/accent" />
|
||||
<corners android:bottomRightRadius="2dip"
|
||||
android:bottomLeftRadius="2dip"
|
||||
android:topRightRadius="2dip"
|
||||
android:topLeftRadius="2dip"/>
|
||||
</shape>
|
BIN
res/drawable/drawer_header.jpeg
Normal file
After Width: | Height: | Size: 36 KiB |
6
res/drawable/drawer_header_noscale.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<bitmap
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:src="@drawable/drawer_header"
|
||||
android:gravity="center|clip_vertical|clip_horizontal"
|
||||
/>
|
5
res/drawable/state_list_drawer_background.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@color/primary" android:state_checked="true" />
|
||||
<item android:drawable="@color/background_floating_material_light" android:state_checked="false" />
|
||||
</selector>
|
7
res/drawable/text_section_header.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<size android:width="1000dp" android:height="2dp" />
|
||||
<solid android:color="#cecbce"/>
|
||||
</shape>
|
90
res/layout/activity_device.xml
Normal file
@@ -0,0 +1,90 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="@dimen/activity_vertical_margin"
|
||||
tools:context=".DeviceFragment"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:id="@+id/pairing_buttons"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<ProgressBar
|
||||
android:visibility="gone"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/pair_progress" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="8dip"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:text="@string/device_not_paired"
|
||||
android:id="@+id/pair_message"
|
||||
android:layout_gravity="left|center_vertical"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/pair_button"
|
||||
android:background="@drawable/button_round"
|
||||
android:textColor="@android:color/white"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/request_pairing"
|
||||
/>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/pair_request"
|
||||
android:layout_gravity="center">
|
||||
|
||||
<Button
|
||||
android:background="@drawable/button_round"
|
||||
android:textColor="@android:color/white"
|
||||
android:layout_margin="4dip"
|
||||
android:id="@+id/accept_button"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/pairing_accept"
|
||||
android:layout_weight="1"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:background="@drawable/button_round"
|
||||
android:textColor="@android:color/white"
|
||||
android:layout_margin="4dip"
|
||||
android:id="@+id/reject_button"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/pairing_reject"
|
||||
android:layout_weight="1" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/unpair_message"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/unreachable_description"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:gravity="center" />
|
||||
|
||||
<ListView
|
||||
android:id="@+id/buttons_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fillViewport="true"
|
||||
tools:context=".DeviceActivity"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
@@ -2,13 +2,10 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="16dip"
|
||||
android:paddingRight="16dip"
|
||||
tools:context=".MainActivity"
|
||||
android:id="@+id/listView1"
|
||||
android:addStatesFromChildren="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
</ListView>
|
40
res/layout/activity_main.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:context="org.kde.kdeconnect.UserInterface.MaterialActivity"> <!-- fitSystemWindows to make the drawer slide below the Lollipop transparent status bar -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical">
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
|
||||
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
|
||||
android:background="?attr/colorPrimary" />
|
||||
<FrameLayout
|
||||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<android.support.design.widget.NavigationView
|
||||
android:id="@+id/navigation_drawer"
|
||||
app:itemBackground="@drawable/state_list_drawer_background"
|
||||
app:itemTextColor="@color/state_list_drawer_text"
|
||||
app:itemIconTint="@color/state_list_drawer_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
app:headerLayout="@layout/nav_header"
|
||||
/>
|
||||
|
||||
</android.support.v4.widget.DrawerLayout>
|
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:keepScreenOn="true"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
@@ -15,4 +16,10 @@
|
||||
android:layout_centerInParent="true"
|
||||
android:padding="12dip" />
|
||||
|
||||
<view
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
class="org.kde.kdeconnect.Plugins.MousePadPlugin.KeyListenerView"
|
||||
android:id="@+id/keyListener" />
|
||||
|
||||
</RelativeLayout>
|
22
res/layout/activity_notification_filter.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
tools:context="org.kde.kdeconnect.Plugins.NotificationsPlugin.NotificationFilterActivity">
|
||||
|
||||
<TextView
|
||||
android:text="@string/filter_apps_info"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="5dp"
|
||||
android:id="@+id/tFilter"/>
|
||||
|
||||
<ListView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/lvFilterApps"
|
||||
android:layout_below="@id/tFilter"/>
|
||||
|
||||
</RelativeLayout>
|
36
res/layout/custom_ip_list.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ListView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
android:id="@android:id/list"
|
||||
android:layout_weight="1"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="100dp"
|
||||
android:text="@string/custom_dev_list_help"/>
|
||||
|
||||
<EditText
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:imeOptions="actionSend"
|
||||
android:hint="@string/add_host_hint"
|
||||
android:id="@+id/ip_edittext"/>
|
||||
|
||||
<Button
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/add_host"
|
||||
android:id="@android:id/button1"/>
|
||||
|
||||
|
||||
</LinearLayout>
|
@@ -5,9 +5,20 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:drawableBottom="@drawable/text_section_header"
|
||||
android:textStyle="bold"
|
||||
android:layout_marginTop="8dp"
|
||||
android:textColor="?android:textColorSecondary"
|
||||
android:drawablePadding="4dp"
|
||||
android:textSize="14sp"
|
||||
android:textAllCaps="true"
|
||||
android:paddingLeft="8dip"
|
||||
android:paddingRight="8dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:id="@+id/list_item_category_text"
|
||||
layout="@android:layout/preference_category" />
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
@@ -4,11 +4,16 @@
|
||||
android:layout_width="fill_parent"
|
||||
android:baselineAligned="false"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="12dip"
|
||||
android:paddingStart="12dip"
|
||||
android:minHeight="?android:attr/listPreferredItemHeight"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingRight="?android:attr/scrollbarSize"
|
||||
android:paddingEnd="?android:attr/scrollbarSize"
|
||||
android:background="@drawable/abc_list_selector_holo_dark"
|
||||
android:orientation="vertical">
|
||||
|
||||
<!-- We should use android:background="@android:/listChoiceBackgroundIndicator"
|
||||
instead of abc_list_selector_holo_dark but that's only supported from API11 -->
|
||||
|
||||
<TextView android:id="@+id/list_item_entry_title"
|
||||
android:layout_width="wrap_content"
|