2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 22:25:08 +00:00

Compare commits

..

496 Commits
v0.8e ... v1.1

Author SHA1 Message Date
Albert Vaca
163e3c31f4 Bumped version number to release 2016-06-21 17:29:26 +02:00
Albert Vaca
5a5e236710 Update build tools 2016-06-21 17:29:10 +02:00
Albert Vaca
603c87d42d Fixed tests after last refactor of lanlink 2016-06-21 16:45:18 +02:00
Albert Vaca
1a04bfbbea Fixed simple issues detected by lint 2016-06-21 16:44:21 +02:00
Albert Vaca
fec0b34330 Socket can't be null 2016-06-21 13:39:55 +02:00
Albert Vaca
f6c4084746 error -> warning for some logs 2016-06-21 13:38:21 +02:00
Albert Vaca
968d018f41 We were never reusing the existing link 2016-06-21 13:37:49 +02:00
Albert Vaca
4fc6ca8d4f Further simplified lanbackend 2016-06-20 14:26:49 +02:00
Albert Vaca
d3ab18b721 Increased version number to release as beta 2016-06-17 10:03:54 +02:00
Albert Vaca
b2d0e57641 Missing start() call on a thread! 2016-06-17 10:02:22 +02:00
Albert Vaca
66238406d6 Print if trusted when creating an ssl socket 2016-06-17 09:59:46 +02:00
Albert Vaca
010c960680 Check for trusted only once 2016-06-17 09:59:31 +02:00
Albert Vaca
49d4383828 Renamed running -> listening 2016-06-17 09:56:53 +02:00
Albert Vaca
226869e200 Fixed shared urls and text having the wrong package type 2016-06-17 09:43:23 +02:00
Albert Vaca
bbc1113710 Bumped version to release in beta channel 2016-06-17 02:27:18 +02:00
Albert Vaca
b3bacf241c Support both the new and old UDP port 2016-06-17 02:25:52 +02:00
Albert Vaca
ff47313409 Be less verbose 2016-06-17 02:25:10 +02:00
Albert Vaca
ac4f072322 Code cleanup 2016-06-17 02:01:20 +02:00
Albert Vaca
5ed1b80716 Fast compilation 2016-06-16 23:48:16 +02:00
Albert Vaca
8a413bb42e Working :D 2016-06-16 23:48:16 +02:00
Albert Vaca
71dc713578 Getting rid of netty WIP 2016-06-16 23:48:16 +02:00
Albert Vaca
ca3d677db6 Fixed warning 2016-06-16 23:46:24 +02:00
Albert Vaca
79ed37345b Simplified logic to find open ports. 2016-06-16 23:10:08 +02:00
Pinak Ahuja
24c404400f Add support to deal with album arts sent by mpris plugin.
We should probably look into resizing the album art according
 to the DPI of the device.
2016-06-16 10:37:04 +02:00
l10n daemon script
082de423c0 SVN_SILENT made messages (after extraction) 2016-06-16 07:48:15 +00:00
Albert Vaca
b5fb7f73ee Updated netty 2016-06-16 00:53:36 +02:00
Albert Vaca
097d1f5fa5 Removed log 2016-06-16 00:40:37 +02:00
Albert Vaca
5fa43f8979 Removed SO_BACKLOG because of a log message about it being unsupported 2016-06-16 00:40:37 +02:00
Albert Vaca
e5c7adba3a Ignore udp packets on the old port for devices that know about the new port 2016-06-16 00:40:20 +02:00
Kai Uwe Broulik
ced5c71369 [MousePadPlugin] Support mouse wheel events
This allows to scroll using a touch-enabled physical keyboard or a real mouse

BUG: 360006

Reviewed-By: Albert Vaca
2016-06-14 18:42:21 +02:00
Albert Vaca
9bf2adefc4 Commented annoying log message 2016-06-14 17:39:41 +02:00
Albert Vaca
24685348cf Moved hardcoded protocol version numbers to constants 2016-06-14 17:39:20 +02:00
Albert Vaca
7556e1d7fa Allow kdeconnect to broadcast both on UDP port 1714 and 1716 2016-06-14 11:13:20 +02:00
Albert Vaca
c9b852f88c Fix leak on Android < IceCream when workerGroup hasn't been initialized 2016-06-14 11:13:20 +02:00
Albert Vaca
d8169f3787 Reuse channel initializers in LanLinkProvider 2016-06-14 11:13:20 +02:00
l10n daemon script
b71e8562bc SVN_SILENT made messages (after extraction) 2016-06-13 08:19:24 +00:00
Albert Vaca
4d19a7cdc8 Fixed tests 2016-06-12 21:07:01 +02:00
Albert Vaca
ae7a80e262 Removed duplicate code when receiving identity packages via tcp and udp 2016-06-12 21:00:19 +02:00
l10n daemon script
4a269a607c SVN_SILENT made messages (after extraction) 2016-06-12 07:23:58 +00:00
Albert Vaca
a6c23b252c Increased version number to release 2016-06-10 15:47:51 +02:00
Albert Vaca
fa5f584fe4 shrinkResources was deleting our plugin preferences XML! 2016-06-10 15:47:18 +02:00
Albert Vaca
634f71d724 Increased version to release 2016-06-10 11:52:41 +02:00
Albert Vaca
055e0f6454 Added a comment explaining the proguard line we added yesterday. 2016-06-10 11:50:57 +02:00
Albert Vaca
8df2b7b0ee Fix the status bar covering the action bar in Android 4.4
Apparently the status bar handles translucency differently on 4.4 and 5+
2016-06-10 11:50:57 +02:00
l10n daemon script
5f64e94878 SVN_SILENT made messages (after extraction) 2016-06-10 07:25:16 +00:00
Albert Vaca
abbbc9414d Make proguard keep mina, as SSHD uses it.
Mina uses reflection (eg in SimpleIoProcessorPool.java), so proguard was
breaking it.
2016-06-09 16:00:04 +02:00
Albert Vaca
cfa13cb16b Updated to latest stable netty 2016-06-09 15:59:05 +02:00
Albert Vaca
d726fe23bf Increased version to release 2016-06-09 15:00:55 +02:00
Albert Vaca
d920b2659d Trying to fix people not being able to mount sftp 2016-06-09 15:00:42 +02:00
Albert Vaca
0836453c35 Project-wise optimize imports 2016-06-09 13:42:54 +02:00
Albert Vaca
09e1811bd8 Deprecated sendPackageEncrypted
It's only called for compatibility with old devices
2016-06-09 13:42:54 +02:00
Albert Vaca
1ab07d201e Enabled keepalive, increased socket queue size and removed logging handler 2016-06-09 13:42:54 +02:00
Albert Vaca
1c2dfdb795 Variable name 2016-06-09 13:42:54 +02:00
l10n daemon script
dd3df9d19f SVN_SILENT made messages (after extraction) 2016-06-08 07:13:23 +00:00
l10n daemon script
5bfbd90414 SVN_SILENT made messages (after extraction) 2016-06-07 08:29:00 +00:00
Albert Vaca
5eb17f7a9a Do not complain if there is no public key. 2016-06-07 00:35:07 +02:00
Albert Vaca
44be314899 Fixed bug that made file transfers not work.
The socket was not initialized for SSL when it should.
2016-06-07 00:28:37 +02:00
Albert Vaca
728fa0b508 Made SftpImpl contain a single class and renamed the file to match its name
This looks more like the java way.
2016-06-06 23:59:25 +02:00
Albert Vaca
e9e93423f1 Don't complain about our own packet types 2016-06-06 23:56:01 +02:00
Albert Vaca
a1dd4fe2cc Remove some hardcoded left-align 2016-06-06 18:35:47 +02:00
Albert Vaca
2294f30505 We actually work on RTL 2016-06-06 18:06:11 +02:00
Albert Vaca
8c86edcf33 Don't log an empty list 2016-06-06 18:05:48 +02:00
Albert Vaca
113739e1d9 Fixed rare crash 2016-06-06 00:01:59 +02:00
l10n daemon script
48cd5aa29b SVN_SILENT made messages (after extraction) 2016-06-05 07:23:59 +00:00
Albert Vaca
5487c5556b Specify useProgard and shrinkResources for Gradle plugin 2.1
minifyEnabled alone in 2.0+ refers to the new experimental code shrinker
shrinkResources removes unused resources
2016-06-04 15:26:13 +02:00
Albert Vaca
e34de854bf New release. 2016-06-04 13:46:02 +02:00
Albert Vaca
d8aab59d4b Trying to fix a bug some people is experiencing with the sensitivity option 2016-06-04 13:45:33 +02:00
Albert Vaca
835a4f0bc7 This should make the sms plugin work with old kdeconnect-kde git master.
For people using Ubuntu, which packages some random git version.
2016-06-04 13:43:34 +02:00
Albert Vaca
a588c8f787 Revert "SVN_SILENT made messages (after extraction)"
This reverts commit 2497ec2b1c.
2016-06-04 13:40:47 +02:00
Albert Vaca
36d1145df7 Increased support library version 2016-06-04 13:30:04 +02:00
Albert Vaca
5d3ccbe0b0 Incresed build tools version 2016-06-04 13:29:52 +02:00
l10n daemon script
2497ec2b1c SVN_SILENT made messages (after extraction) 2016-06-04 07:28:40 +00:00
Albert Vaca
bb8f015e87 Increased version number 2016-06-04 02:21:45 +02:00
Albert Vaca
f3e5bf917a Removed unneeded whitespaces. 2016-06-04 02:21:28 +02:00
Frederik Schwarzer
45ba30e0ba There should be no space before the colon. 2016-06-03 21:43:53 +02:00
Aleix Pol
f967c2888d Make sure we're not left with the sensitivity uninitialized
Fallback to the same value as default
2016-06-03 15:34:04 +02:00
Albert Vaca
6f0b581c02 Fixed crash 2016-06-03 14:51:31 +02:00
Albert Vaca
b0b67f2059 Added fixme 2016-06-03 01:35:45 +02:00
Albert Vaca
53ad86fe9a Do not show red messages to everybody (we will release Android before KDE) 2016-06-03 01:35:15 +02:00
Albert Vaca
39107400d4 Changed runcommand description 2016-06-03 01:12:47 +02:00
Albert Vaca
3f20af445a Renaming a package type was a bad call 2016-06-03 00:46:18 +02:00
Albert Vaca
e433ad8bce These logs are useless if we have no capabilities 2016-06-02 16:14:52 +02:00
Albert Vaca
53ca2a392c Hack got hackier 2016-06-02 15:57:12 +02:00
Albert Vaca
b7d9cb5d81 Using capabilities, packages no longer need to validate received packages 2016-06-02 15:35:44 +02:00
Albert Vaca
05e031d41f Changed to match the kdeconnect-kde side 2016-06-02 15:23:49 +02:00
Albert Vaca
d7956650da Log when sending a package type that no plugin has declared 2016-06-02 15:23:34 +02:00
Albert Vaca
43467aedd8 Hack to make packet types match those of older versions 2016-06-02 15:22:40 +02:00
Albert Vaca
541cd97c71 If capabilities are not present, iterate all plugins 2016-06-02 15:22:21 +02:00
Albert Vaca
7759152eeb Do not swallow packets silently 2016-06-02 13:56:46 +02:00
Albert Vaca
305d496bf5 Mute call button was not working on Android M because of a deprecated API 2016-06-02 13:26:19 +02:00
Albert Vaca
01b5c3e2a1 Be less verbose 2016-06-02 13:25:55 +02:00
Albert Vaca
a26d6a94f9 Increased version number for release candidate. 2016-06-02 12:37:20 +02:00
Albert Vaca
9dc8db00b5 Disabled SMS plugin so we don't require new permissions in this version 2016-06-02 12:36:50 +02:00
Albert Vaca
5ef5161378 Typo 2016-06-02 12:30:40 +02:00
Albert Vaca
0897f25a6f Less verbose logging of unmatched capabilities 2016-06-02 12:28:33 +02:00
Albert Vaca
394e530545 Wait a bit before forgetting about an old channel.
We might still receive a packet sent before the replacement.
2016-06-02 12:24:22 +02:00
Albert Vaca
ebbf5d165c Cosmetic changes to variable names 2016-06-02 12:20:04 +02:00
Albert Vaca
a0d2a61ce9 Merge branch 'master' into sslrefactor 2016-06-01 13:21:55 +02:00
Albert Vaca
2350e86023 Using the default theme in findmyphone 2016-06-01 13:21:30 +02:00
Albert Vaca
2552663742 Checking for null didn't work, just using the ringtone now. 2016-06-01 13:21:17 +02:00
Albert Vaca
d729eed1cd Merge branch 'master' into sslrefactor
# Conflicts:
#	src/org/kde/kdeconnect/Plugins/FindMyPhonePlugin/FindMyPhonePlugin.java
#	src/org/kde/kdeconnect/Plugins/TelephonyPlugin/TelephonyPlugin.java
2016-06-01 12:58:10 +02:00
Albert Vaca
284ef5e571 TYPE_ALARM can return null. Adding a fallback. 2016-06-01 12:56:07 +02:00
Albert Vaca
0c98964f16 Input plugin only sends requests 2016-06-01 12:07:22 +02:00
Albert Vaca
6783ce2f1b Removed old log 2016-05-31 21:02:48 +02:00
Albert Vaca
6f6caa0e8d Log if plugins receive wrong packets 2016-05-31 21:02:35 +02:00
Albert Vaca
614505518b Fixed capabilities 2016-05-31 21:02:17 +02:00
Albert Vaca
240fa34833 Do not use encryption if the protocol is 6 2016-05-31 21:00:18 +02:00
Albert Vaca
6ecfc5071e Less alarming notification icon 2016-05-31 19:04:09 +02:00
Albert Vaca
d539cd704b Since we renamed the capabilities, disable them on old clients
We don't want old kdeconnects to try to use the renamed capabilities.
2016-05-31 17:23:55 +02:00
Albert Vaca
d253fcfd0b Refactor capabilities together with Aleix
He is committing a similar patch to kdeconnect-kde
2016-05-31 17:19:39 +02:00
Albert Vaca
01b1e6ee4a Added missing shadow under the main activity's toolbar 2016-05-25 14:21:56 -06:00
Albert Vaca
969249e6d7 Added warning icon to the "not reachable" screen.
This way it doesn't look identical to the touchpad activity.
2016-05-25 14:01:30 -06:00
Albert Vaca
4f70c42ce5 Deleted stray file 2016-05-25 14:01:24 -06:00
Albert Vaca
4a612fd073 Removing log message 2016-05-25 10:57:50 -06:00
Albert Vaca
108f9e911d Typo 2016-05-25 10:57:27 -06:00
Albert Vaca
ddef90b985 Added some comments in build.gradle 2016-05-19 09:38:24 -07:00
Albert Vaca
e96f520829 Less and more useful logging in LanBackend 2016-05-19 09:29:17 -07:00
Albert Vaca
f9aeca8ef9 (un)serialize will now throw instead of failing silently 2016-05-19 09:28:15 -07:00
Albert Vaca
65c3dc4570 Reverting 6ed3a18
sshd > 0.8 seems to fail with "Could not find a valid sshd io provider"
2016-05-19 08:45:24 -07:00
l10n daemon script
aee22b5d15 SVN_SILENT made messages (after extraction) 2016-05-13 07:35:56 +00:00
l10n daemon script
2759da8d64 SVN_SILENT made messages (after extraction) 2016-05-08 07:17:03 +00:00
l10n daemon script
f615e95eeb SVN_SILENT made messages (after extraction) 2016-04-09 07:37:58 +00:00
l10n daemon script
e14da0d544 SVN_SILENT made messages (after extraction) 2016-04-04 08:20:21 +00:00
Albert Vaca
c01892f113 Fixed warnings 2016-03-15 13:54:44 -07:00
Albert Vaca
e39d5cc8ca The timer should remove the blacklisting, not add it again
Also added some logging and get the device id only once
2016-03-15 13:43:51 -07:00
Albert Vaca
45aa9d151f Compare against version 6, not current version 2016-03-15 13:37:23 -07:00
Albert Vaca
00715f3b6e Reusing provider 2016-03-15 12:55:25 -07:00
l10n daemon script
6e95e20521 SVN_SILENT made messages (after extraction) 2016-03-15 08:55:38 +00:00
Albert Vaca
2c513b598a Cleanup 2016-03-08 07:31:04 -08:00
Albert Vaca
fd7d39e6ac Added some proguard rules suggested by proguard itself when running 2016-03-07 15:49:45 -08:00
Albert Vaca
98914ce182 Fixed build
Somehow we need multidexing now, probably because when we build in debug
without proguard stripping unused code, we reach the max method count.
2016-03-07 15:49:30 -08:00
Albert Vaca
36e8d14973 Hack to fix "low battery" notification spam
When two phones were paired together and notification sync enabled, one
phone was receiving the notification again and again from the other, which
made obvious that it was being sent over and over.
2016-03-07 15:46:43 -08:00
Àlex Fiestas
17d5eeade0 Add fallback in case the contact does not have a name
Basically set the phoneNumber as name as it was before this change.

REVIEW: 127297
2016-03-07 11:38:36 +01:00
Àlex Fiestas
76eb88b51f Removed unused variable from ContactsHelper 2016-03-07 11:37:54 +01:00
Àlex Fiestas
07a9319c30 Also send the contact photo when a SMS is received
Pretty much like the phone call case.
2016-03-06 21:58:01 +01:00
Àlex Fiestas
c87b09c5f0 If the contact has a photo, include it in the packet
Basically adds as base64 in the packet the contact Photo. We should not
have to worry about the size of it since it is always 96x96 and android
takes care of that.
2016-03-06 21:58:01 +01:00
Àlex Fiestas
708bcf9928 Adapt phoneNumberLookup to return more information
It returns now photoID plus the name and it can be easily expanded in
the future if required.
2016-03-06 21:58:01 +01:00
Albert Vaca
b45a15c822 Made logs different so we can debug 2016-03-04 08:41:53 -08:00
Albert Vaca
0eba461654 Moved all the bouncy(spongy)castle code to the SslHelper class 2016-03-03 15:42:39 -08:00
Albert Vaca
7813b7309d Fixme 2016-03-03 15:41:44 -08:00
Albert Vaca
87e214761f Made sshd use spongycastle instead of bouncycastle
We have to add the DHG14 key exchange factory by hand because when calling
setUpDefaultServer with Bouncy Castle disabled, it assumes DHG14 is not
supported (but it is, because we are adding spongycastle).
2016-03-03 12:22:22 -08:00
Albert Vaca
6ed3a18f53 Upgraded sshd to 0.9
We can't upgrade it to 1.0 or 1.1 because these need java.nio.file, which
is standard java 7 but not present in Android.
2016-03-03 11:53:34 -08:00
Albert Vaca
db7e40fb35 Made proguard not keep **, but just the classes that we need
Disabled obfuscation, so stack traces are still useful
2016-03-03 11:37:36 -08:00
Albert Vaca
501ac90379 Java 7 is supported from API8, so why not enabling it? 2016-03-03 11:16:26 -08:00
Albert Vaca
4d553518f6 BouncyCastle doesn't work on Android 2.3, but spongy does
Now we have to make sshd work with spongy
2016-03-03 11:11:39 -08:00
Albert Vaca
9a2167774b Attribute not needed 2016-03-02 15:51:43 -08:00
Albert Vaca
22edb24230 Removed unused var. Fixed comments. Fixed typo. 2016-03-02 15:25:10 -08:00
Albert Vaca
f13a7148fc Don't complain about the public key we don't use 2016-03-02 11:40:10 -08:00
Albert Vaca
c0d21e986c Re-use existing link instead of creating a new one 2016-03-02 11:39:49 -08:00
Albert Vaca
baee1771f5 We don't need the chanel id to chanel map. 2016-03-02 10:40:17 -08:00
Albert Vaca
910af86c31 Updated dependencies 2016-03-02 10:39:23 -08:00
l10n daemon script
9f2999de23 SVN_SILENT made messages (after extraction) 2016-02-24 07:04:49 +00:00
Albert Vaca
acb2888bde Fixed test imports 2016-02-17 08:45:13 -08:00
Albert Vaca
06c872fddc LinearLayout is more performant than RelativeLayout 2016-02-17 08:45:03 -08:00
Albert Vaca
158931f766 Make drawer display under the system notifications bar 2016-02-17 08:44:41 -08:00
Albert Vaca
deac88031b Fixed drawer background not being the same color as the items background 2016-02-17 08:43:09 -08:00
Albert Vaca
f4c221cf66 Re-using a single SecureRandom, as it's expensive to initialize 2016-02-17 04:48:19 -08:00
Albert Vaca
521a27c09d Using longer and mixed case passwords 2016-02-17 04:48:01 -08:00
Albert Vaca
89a65ab3e2 Specify the TLS version we want
We need v1 to support Androids before API16
2016-02-17 04:07:12 -08:00
Albert Vaca
abd91b7d6c Sftp can now work with passwords when the public key is not available 2016-02-17 04:06:35 -08:00
l10n daemon script
79f096c09e SVN_SILENT made messages (after extraction) 2016-02-16 08:43:40 +00:00
l10n daemon script
9d0ef3ddf9 SVN_SILENT made messages (after extraction) 2016-02-13 07:27:17 +00:00
Albert Vaca
8c0fe406ec Merge branch 'master' into sslrefactor 2016-02-12 08:38:59 -08:00
Albert Vaca
7047622a62 Removing log message 2016-02-12 08:38:42 -08:00
Albert Vaca
98ef6aec8c Handle the case where there is no publicKey stored (for protocol v6) 2016-02-12 08:37:47 -08:00
Albert Vaca
c927af4bf3 Added newlines in encryption info 2016-02-12 08:37:18 -08:00
Albert Vaca
88b7c9898f Making sure proguard is not removing anything from bouncy/spongycastle
Some classes are only loaded dynamically and proguard would not see it.
2016-02-12 08:36:58 -08:00
Albert Vaca
62742ff8ae Updated netty 2016-02-12 08:34:27 -08:00
l10n daemon script
7f0ee677bd SVN_SILENT made messages (after extraction) 2016-02-12 07:23:39 +00:00
l10n daemon script
9b1f866cb0 SVN_SILENT made messages (after extraction) 2016-02-08 10:01:32 +00:00
l10n daemon script
353dc12165 SVN_SILENT made messages (after extraction) 2016-02-05 07:07:20 +00:00
l10n daemon script
5588c83909 SVN_SILENT made messages (after extraction) 2016-01-31 07:27:53 +00:00
l10n daemon script
b39433f237 SVN_SILENT made messages (after extraction) 2016-01-26 08:16:21 +00:00
l10n daemon script
612b019856 SVN_SILENT made messages (after extraction) 2016-01-25 09:01:01 +00:00
l10n daemon script
721856ebb6 SVN_SILENT made messages (after extraction) 2016-01-24 07:21:55 +00:00
l10n daemon script
2bd4d16361 SVN_SILENT made messages (after extraction) 2016-01-23 08:18:39 +00:00
Imran Tatriev
e3c5ac9228 Adjust the touchpad sensitivity 2016-01-21 16:39:31 +06:00
l10n daemon script
a75db516ec SVN_SILENT made messages (after extraction) 2016-01-20 08:01:32 +00:00
l10n daemon script
cf82127144 SVN_SILENT made messages (after extraction) 2016-01-19 08:50:26 +00:00
Albert Vaca
8a0e4caaff Fixed crash 2016-01-18 02:42:50 -08:00
Albert Vaca
c647cbd93c Made MPRIS interface wider
BUG: 346120
2016-01-18 02:42:50 -08:00
Albert Vaca
55871b6523 Bumped version number to release 2016-01-18 02:42:50 -08:00
Albert Vaca
8134c39a6d Android doesn't support languages with an @, hack to fix build 2016-01-18 02:42:50 -08:00
l10n daemon script
87c0a9f98e SVN_SILENT made messages (after extraction) 2016-01-18 02:42:06 -08:00
l10n daemon script
226e934d0f SVN_SILENT made messages (after extraction) 2016-01-18 02:42:06 -08:00
l10n daemon script
cfed03881b SVN_SILENT made messages (after extraction) 2016-01-18 09:12:23 +00:00
Albert Vaca
f618e8e670 Merge branch 'master' into sslrefactor 2016-01-17 10:36:27 -08:00
Albert Vaca
fe7b03830e Android doesn't support languages with an @, hack to fix build 2016-01-17 10:33:09 -08:00
Mikhail Ivchenko
caa491d1e7 Make a now playing label scroll horizontally
REVIEW: 126739
2016-01-17 22:22:13 +04:00
l10n daemon script
fba3e75cec SVN_SILENT made messages (after extraction) 2016-01-17 07:22:57 +00:00
Albert Astals Cid
71810c82d3 Disable colored output
Messes up scripty output that ends up in a file
2016-01-16 12:25:45 +01:00
l10n daemon script
7755772f5b SVN_SILENT made messages (after extraction) 2016-01-16 07:47:36 +00:00
Albert Vaca
53096e39eb Ignore if PublicKey is not present
It is not sent anymore while pairing as of protocol version 6
2016-01-15 09:21:51 -08:00
Albert Vaca
c7640967fe Merge branch 'master' into sslrefactor 2016-01-15 08:20:11 -08:00
Albert Vaca
15c2126387 Merge branch '0.9' 2016-01-15 08:19:19 -08:00
Albert Vaca
4f9945205c Untranslated string 2016-01-15 08:18:03 -08:00
Albert Vaca
f0bcf84f6c Untranslated string 2016-01-15 08:15:55 -08:00
Holger Kaelberer
49d499d9a9 notifications: try to decode payload into largeIcon
Newer API levels scale large icons in notifications automatically,
olders don't. Therefore we downscale manually if necessary to avoid
too big icons.

REVIEW: 126667
2016-01-11 20:26:57 +01:00
Albert Vaca
a0f102b26a Commented SftpPlugin as we know it won't work trivially after the refactor. 2016-01-10 08:48:20 -08:00
Albert Vaca
d07ff5a802 SSHD gets confused if spongycastle is present. Changed to BouncyCastle.
It sees it as bouncycastle, tries to load some clases by they classpath and
fails.
2016-01-10 08:46:52 -08:00
Albert Vaca
2421abea22 Bumped a bunch of library and sdk versions 2016-01-10 08:22:56 -08:00
Albert Vaca
1ca09d7f58 Fixing build 2016-01-10 03:16:14 -08:00
Albert Vaca
3e9509123e Merge branch 'master' into sslmaster 2016-01-10 01:24:26 -08:00
Holger Kaelberer
8e990765da Fix loosing already known plugins on reloading
REVIEW: 126273
2016-01-05 20:35:52 +01:00
l10n daemon script
3071323f84 SVN_SILENT made messages (after extraction) 2015-12-30 10:43:10 +00:00
l10n daemon script
2b89c0ed15 SVN_SILENT made messages (after extraction) 2015-12-30 06:51:27 +00:00
l10n daemon script
3861e393e0 SVN_SILENT made messages (after extraction) 2015-12-21 07:50:08 +00:00
l10n daemon script
1c65f55d00 SVN_SILENT made messages (after extraction) 2015-12-09 07:02:43 +00:00
Holger Kaelberer
742332df1e notifications: accept remote notifications
Notification synchronization in working in both directions now
for API level > 17.
For older versions only receiving of notifications is enabled.

REVIEW: 125179
2015-12-07 21:44:30 +01:00
l10n daemon script
d992e6c4eb SVN_SILENT made messages (after extraction) 2015-12-06 07:04:04 +00:00
l10n daemon script
4312648e29 SVN_SILENT made messages (after extraction) 2015-12-05 07:05:07 +00:00
l10n daemon script
d9a144b723 SVN_SILENT made messages (after extraction) 2015-12-03 10:47:04 +00:00
l10n daemon script
513f46aee1 SVN_SILENT made messages (after extraction) 2015-12-03 07:32:02 +00:00
Albert Vaca
f8da00b9b5 Merge branch 'master' into sslmaster 2015-12-02 09:46:22 -08:00
Albert Vaca
da66446200 Fixed back hardware button not working while in the touchpad plugin 2015-12-01 04:10:18 -08:00
Rahil Momin
b2804a4378 Add natural scroll option to mousepad plugin
REVIEW: 126141
2015-12-01 03:40:05 -08:00
l10n daemon script
5687ced2a4 SVN_SILENT made messages (after extraction) 2015-11-30 11:39:21 +00:00
l10n daemon script
115420d2ce SVN_SILENT made messages (after extraction) 2015-11-30 07:59:29 +00:00
l10n daemon script
de8835e9d1 SVN_SILENT made messages (after extraction) 2015-11-26 16:56:10 +00:00
l10n daemon script
7cf2c7d916 SVN_SILENT made messages (after extraction) 2015-11-26 13:49:46 +00:00
l10n daemon script
4e9a036627 SVN_SILENT made messages (after extraction) 2015-11-17 14:10:22 +00:00
l10n daemon script
fe37a29c53 SVN_SILENT made messages (after extraction) 2015-11-17 09:53:36 +00:00
Albert Vaca
78929ad31e Fixed a null pointer exception 2015-11-16 16:35:48 +01:00
Albert Vaca
f60920d556 Merge branch 'master' of git://anongit.kde.org/kdeconnect-android 2015-11-16 15:26:31 +01:00
l10n daemon script
0f2f036c45 SVN_SILENT made messages (after extraction) 2015-11-16 12:01:28 +00:00
Albert Vaca
1a16335f05 Merge branch '0.9' 2015-11-13 09:22:41 -08:00
Albert Vaca
475f85d0d3 Bumped version number 2015-11-13 09:19:26 -08:00
Albert Vaca
6c50d0f05d Indentation. 2015-11-13 09:18:13 -08:00
Albert Vaca
aad298ae31 Fixed remote input not sending numbers.
BUG: 354921
2015-11-13 09:17:57 -08:00
Albert Vaca
1e8aedf582 Merge branch '0.9' 2015-11-12 08:23:26 -08:00
Albert Vaca
4fab4d4a6c Bumped version number for release 2015-11-12 08:17:16 -08:00
Albert Vaca
47db10e055 Warnings 2015-11-12 08:16:54 -08:00
Albert Vaca
c0ae2c9c08 Make the rename box look slightly better 2015-11-12 08:14:24 -08:00
Albert Vaca
f4db8e6160 Trying to make the device label more easily clickable 2015-11-12 08:14:12 -08:00
Albert Vaca
d67985d484 Now with less compilation errors! 2015-11-12 06:41:14 -08:00
Albert Vaca
857d754f8c Merge branch '0.9' 2015-11-12 06:34:14 -08:00
Albert Vaca
d20cf1696b Added more device names 2015-11-12 06:33:20 -08:00
Albert Vaca
ca0ca6f7b7 Do not override system's screen orientation setting
BUG: 345934
2015-11-12 02:31:32 -08:00
Albert Vaca
b7f21e05a8 Merge branch '0.9' 2015-11-11 17:10:42 -08:00
Albert Vaca
3ee9ee27cd Fixed broken link 2015-11-11 17:10:38 -08:00
Albert Vaca
29ff203f24 Spotify player name will now be lowercase, mind both variants... 2015-11-11 11:05:08 -08:00
l10n daemon script
fb8e4a7cc2 SVN_SILENT made messages (after extraction) 2015-11-11 07:49:25 +00:00
l10n daemon script
6258497989 SVN_SILENT made messages (after extraction) 2015-11-07 15:37:41 +00:00
l10n daemon script
9612dabb0a SVN_SILENT made messages (after extraction) 2015-11-01 08:25:22 +00:00
Albert Vaca
1e152581e6 Fixes a typo 2015-10-27 11:45:21 -07:00
Joao Carreira
d59750441f Changes in Contacts Helper
Modify the contact helper in oder to split contact name and
contact number. Those values are sent separately
2015-10-27 11:44:04 -07:00
Malte S. Stretz
61ded9469c Always unlock all mutexes
In a few places ReentrantLocks are used as mutexes.  In case of an
exception happening in the critical section the locks are never
released though.  A ReentrantLock should (almost) always be followed
by a try-finally block as documented in
  http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/ReentrantLock.html
2015-10-27 11:44:04 -07:00
l10n daemon script
f82c01eb66 SVN_SILENT made messages (after extraction) 2015-10-27 09:49:21 +00:00
l10n daemon script
54881a65fa SVN_SILENT made messages (after extraction) 2015-10-26 01:45:55 +00:00
l10n daemon script
1630ca9a25 SVN_SILENT made messages (after extraction) 2015-10-13 10:22:15 +00:00
l10n daemon script
39db14b2ab SVN_SILENT made messages (after extraction) 2015-10-06 10:15:32 +00:00
l10n daemon script
1c13fe90a5 SVN_SILENT made messages (after extraction) 2015-10-03 08:53:40 +00:00
l10n daemon script
d283ed6ecc SVN_SILENT made messages (after extraction) 2015-10-02 08:09:17 +00:00
l10n daemon script
0ff6893b39 SVN_SILENT made messages (after extraction) 2015-09-30 07:59:12 +00:00
l10n daemon script
977fc8a7b6 SVN_SILENT made messages (after extraction) 2015-09-29 09:50:59 +00:00
l10n daemon script
7abace799a SVN_SILENT made messages (after extraction) 2015-09-28 08:20:49 +00:00
l10n daemon script
3207066928 SVN_SILENT made messages (after extraction) 2015-09-22 10:12:26 +00:00
l10n daemon script
12b84811ab SVN_SILENT made messages (after extraction) 2015-09-21 08:07:28 +00:00
l10n daemon script
b66fe45b4f SVN_SILENT made messages (after extraction) 2015-09-19 09:09:32 +00:00
Albert Vaca
9322970d58 Merge branch '0.9'
# Conflicts:
#	res/values-ca/strings.xml
#	res/values-fi/strings.xml
#	res/values-nl/strings.xml
#	res/values-pt-rBR/strings.xml
#	res/values-pt/strings.xml
#	res/values-sv/strings.xml
#	res/values-uk/strings.xml
#	res/values/strings.xml
#	src/org/kde/kdeconnect/Device.java
2015-09-18 08:11:44 -07:00
Albert Vaca
47c9729e04 Removed logs 2015-09-18 04:40:33 -07:00
l10n daemon script
a9676be722 SVN_SILENT made messages (after extraction) 2015-09-18 07:59:16 +00:00
l10n daemon script
f3f80893d2 SVN_SILENT made messages (after extraction) 2015-09-17 09:26:40 +00:00
Albert Vaca
b2819557bc Bumped version number to release 2015-09-16 09:42:09 -07:00
Albert Vaca
6035b91848 Merge branch 'master' of github.com:albertvaka/kdeconnect-android
# Conflicts:
#	store/header.png
#	store/header.xcf
2015-09-16 09:38:59 -07:00
Albert Vaca
3648ee32b4 Fixed header size 2015-09-16 09:36:49 -07:00
Albert Vaca
b8daca41b0 Modified icon for better display on light backgrounds 2015-09-16 09:33:43 -07:00
Albert Vaca
e464c993c2 Merge pull request #3 from micahdenn/master
Modified icon for better display on light backgrounds.
2015-09-16 17:41:37 +02:00
Micah Denn
b342199ed6 Modified icon for better display on light backgrounds and better compliance with material design. 2015-09-16 16:24:52 +01:00
Albert Vaca
6ef91dbb54 Merge branch 'master' of github.com:albertvaka/kdeconnect-android 2015-09-16 07:52:53 -07:00
Albert Vaca
278a358b71 Merge pull request #2 from LukeStonehm/master
Use 'ActionBarDrawerToggle'
2015-09-16 16:14:46 +02:00
l10n daemon script
a3f331f600 SVN_SILENT made messages (after extraction) 2015-09-16 08:15:54 +00:00
Luke Johnstone
e985e3648c UPDATED: • Now implementing 'ActionBarDrawerToggle' -> uses built in drawer icon (with nice built in animation) OCD fix.
• added "open"& "close" string -> inconsequential strings, user will never see these strings, but function requires them.
            Translate strings when you can :)
2015-09-16 09:52:55 +02:00
Albert Vaca
45ca9aae89 Fixed concurrent modification exception 2015-09-14 04:19:13 -07:00
l10n daemon script
dff28d7ee7 SVN_SILENT made messages (after extraction) 2015-09-14 08:11:38 +00:00
l10n daemon script
13dd8a36bd SVN_SILENT made messages (after extraction) 2015-09-13 08:29:41 +00:00
Albert Vaca
2dbb1fcb11 Added new store header 2015-09-12 15:32:30 -07:00
Albert Vaca
13369b078b Added new assets for the store 2015-09-12 14:34:31 -07:00
Albert Vaca
0e8257d515 Bumped version for release 2015-09-12 14:30:20 -07:00
Albert Vaca
a702f7869f Copied translations from master 2015-09-12 13:48:39 -07:00
Albert Vaca
606cbcdd8b Bumped version 2015-09-12 13:37:00 -07:00
Albert Vaca
80026f6d62 Merge branch 'stable' 2015-09-12 13:30:21 -07:00
Albert Vaca
24ca5f706a Fixed pairing requests not being displayed after clicking the notification 2015-09-12 13:21:06 -07:00
Albert Vaca
6b18c2f28e Top margin should be in the title, not in the view 2015-09-12 11:53:06 -07:00
Albert Vaca
0732f94a78 Fixed outgoing interfaces 2015-09-12 08:51:00 -07:00
Albert Vaca
33c233c780 Fixed capabilities being loaded for failed plugins 2015-09-12 08:06:12 -07:00
Albert Vaca
9c29cbf594 Load plugins in the same thread, so we know if they failed or not
This way we can update the capabilities accordingly.
2015-09-12 07:29:45 -07:00
Albert Vaca
6940bac3e6 Do not assume that all the plugins are non-null 2015-09-12 07:17:14 -07:00
Aleix Pol
629b38dec9 Implement the RunCommand plugin
Reviewed by Albert Vaca
2015-09-12 12:28:27 +02:00
Aleix Pol
effa740db4 Don't block plugins if they don't have any capabilities
Reviewed by Albert Vaca
2015-09-12 12:25:22 +02:00
Aleix Pol
3de229f1e5 Fix crash during exception catch
Reviewed by Albert Vaca
2015-09-12 12:24:38 +02:00
Aleix Pol
9b03bdf2c0 Make it possible to trigger a plugin page reload
Reviewed by Albert Vaca
2015-09-12 12:24:11 +02:00
Aleix Pol
56d6cffb71 Extend EntryItem
Makes it possible to use a subtitle in it, if provided.

Reviewed by Albert Vaca
2015-09-12 12:23:30 +02:00
l10n daemon script
a54c0ac4bd SVN_SILENT made messages (after extraction) 2015-09-12 09:17:32 +00:00
Albert Vaca
83415c699c Added an icon for runcommand and updated mpris icon 2015-09-12 02:15:41 -07:00
Albert Vaca
a6b590e477 Updated share_plugin_action icons 2015-09-12 02:11:40 -07:00
David Edmundson
8f53142a16 Add missing file 2015-09-11 21:45:39 +02:00
David Edmundson
8aebaaea2f Implement a "Find my phone" plugin
This makes the phone sound an alarm sound until dismissed. Even when
silent.

Reviewed-by: Albert Vaca
2015-09-11 21:11:01 +02:00
Albert Vaca
f5725b7c8d Merge branch 'master' into ssl
# Conflicts:
#	build.gradle
#	src/org/kde/kdeconnect/Backends/BaseLink.java
#	src/org/kde/kdeconnect/Backends/BaseLinkProvider.java
#	src/org/kde/kdeconnect/Backends/LanBackend/LanLink.java
#	src/org/kde/kdeconnect/Backends/LanBackend/LanLinkProvider.java
#	src/org/kde/kdeconnect/Backends/LoopbackBackend/LoopbackLink.java
#	src/org/kde/kdeconnect/BackgroundService.java
#	src/org/kde/kdeconnect/Device.java
#	src/org/kde/kdeconnect/Helpers/DeviceHelper.java
#	src/org/kde/kdeconnect/UserInterface/DeviceActivity.java
#	src/org/kde/kdeconnect/UserInterface/PairActivity.java
#	tests/org/kde/kdeconnect/LanLinkProviderTest.java
#	tests/org/kde/kdeconnect/LanLinkTest.java
2015-09-11 09:24:35 -07:00
Albert Vaca
16cffda2e2 Increased version number to beta-release 2015-09-11 07:10:38 -07:00
Albert Vaca
291abddeba Merge branch 'stable' 2015-09-11 06:07:41 -07:00
Albert Vaca
473d984971 Moved the unique ID out of networkpackage se we don't need to create one 2015-09-11 06:07:12 -07:00
Albert Vaca
2c829af4e5 Renamed capabilities so we don't clash with KDE4's broken implementation 2015-09-11 05:20:19 -07:00
Albert Vaca
4456210953 Merge branch 'stable' 2015-09-11 04:45:06 -07:00
Albert Vaca
78d80ef5eb Unused import 2015-09-11 04:38:45 -07:00
Albert Vaca
95046e547f Open URLs by default in share plugin 2015-09-11 03:46:23 -07:00
Albert Vaca
34ec43445d Better print something on exception 2015-09-11 03:46:23 -07:00
Albert Vaca
9fed9e4b9a Added a new custom icon for notifications 2015-09-11 03:46:23 -07:00
Albert Vaca
cf8f87b6a1 Fixed crash 2015-09-11 01:23:07 -07:00
Albert Vaca
8307850805 Merge branch 'stable' 2015-09-10 15:52:21 -07:00
Albert Vaca
52a61f5663 Fixed test 2015-09-10 15:49:50 -07:00
Albert Vaca
ec0d91d3c2 Volume icon conforming to the Android Material guidelines 2015-09-10 15:49:50 -07:00
Albert Vaca
424763e3b6 Moved the unique ID out of networkpackage se we don't need to create one 2015-09-10 09:01:12 -07:00
Albert Vaca
7fc7a37be4 Merge branch 'stable' 2015-09-10 08:12:22 -07:00
Albert Vaca
bde4a06fe0 Increased the version number to beta-release 2015-09-10 08:07:06 -07:00
Albert Vaca
dcb54ebf4a Fixed some potential concurrent modification exceptions 2015-09-10 08:05:23 -07:00
Albert Vaca
132a223b8c Merge branch 'stable'
# Conflicts:
#	src/org/kde/kdeconnect/Device.java
2015-09-10 07:52:37 -07:00
Albert Vaca
35dd42f560 Fixed some potential concurrent modification exceptions
# Conflicts:
#	src/org/kde/kdeconnect/Device.java
2015-09-10 07:49:28 -07:00
Albert Vaca
b1ef93a90c Fixed drawer's updateComputerList not being called when there were changes
Plus removed some unnecessary calls in other places.
2015-09-10 07:48:32 -07:00
l10n daemon script
5777dfe238 SVN_SILENT made messages (after extraction) 2015-09-10 03:18:40 +00:00
Albert Vaca
d7123e3435 Merge branch 'stable' 2015-09-09 14:58:01 -07:00
Albert Vaca
a6e22f57f3 Increased version number to beta-release 2015-09-09 12:35:00 -07:00
Albert Vaca
55ae564023 Removed logs 2015-09-09 12:34:50 -07:00
Albert Vaca
24561b58f9 The discovery now should be enabled while navigating the app UI 2015-09-09 12:34:42 -07:00
Albert Vaca
c837079e03 Fixed crash 2015-09-09 12:30:24 -07:00
Albert Vaca
a9b4a6bdea Removed printfs and coding style stuff 2015-09-09 12:30:13 -07:00
Albert Vaca
d35623a28a Fixed discoverable mode dropping connections that we didn't create 2015-09-09 03:31:39 -07:00
Albert Vaca
0b8500338a Removed some logging 2015-09-09 03:22:34 -07:00
Albert Vaca
d5114c2238 Don't disconnect paired devices! 2015-09-09 02:03:36 -07:00
Albert Vaca
37f6c48d56 Merge branch 'stable' 2015-09-09 01:51:35 -07:00
Albert Vaca
1fe01db26e Assume computer by default from the phone for device with no type 2015-09-09 01:51:32 -07:00
Albert Vaca
f56fc9ceb8 Device type should be "desktop", no "computer" 2015-09-09 01:51:03 -07:00
Albert Vaca
1caa44b0ab Make it look better on old Androids 2015-09-09 01:51:03 -07:00
Albert Vaca
13ec8d7a3f Fixed crash on older Androids 2015-09-09 01:51:03 -07:00
Albert Vaca
59cdc2f6a8 Don't show buttons that can't be clicked 2015-09-09 01:50:12 -07:00
Albert Vaca
d860b67ba9 Prettier message 2015-09-09 01:50:12 -07:00
Albert Vaca
803464a7ce Fixed crash 2015-09-09 01:50:12 -07:00
Albert Vaca
b0a96ace32 Show connected devices in pairingfragment because otherwise it's confusing 2015-09-09 01:50:12 -07:00
Albert Vaca
10d9ff5a5a Commented out some logs 2015-09-09 01:50:12 -07:00
Albert Vaca
cedffe6578 Assume computer by default from the phone for device with no type 2015-09-09 01:50:12 -07:00
Albert Vaca
edb0ae3198 Device type should be "desktop", no "computer" 2015-09-09 01:50:11 -07:00
Albert Vaca
57bc4d46a9 Make it look better on old Androids 2015-09-09 01:50:11 -07:00
Albert Vaca
3bd6aabc96 Ooops 2015-09-09 01:50:11 -07:00
l10n daemon script
0eda30b135 SVN_SILENT made messages (after extraction) 2015-09-09 01:59:41 +00:00
Aleix Pol
4fa0a89691 Merge branch 'stable' 2015-09-09 00:46:53 +02:00
Aleix Pol
628142307f Reduce the amount of traffic we get
Only connect to the non-paired devices when we're on discovery mode,
otherwise disconnect from them.

Reviewed by Albert Vaca

BUG: 352424
2015-09-09 00:45:56 +02:00
Albert Vaca
476f7a7840 Implemented capabilities 2015-09-08 15:05:32 -07:00
Albert Vaca
27723c697b Added capabilities to plugins 2015-09-08 14:54:04 -07:00
Albert Vaca
6d28726c3b Show connected devices in pairingfragment because otherwise it's confusing 2015-09-08 14:45:01 -07:00
Albert Vaca
4c0bafa60f Fixed crash 2015-09-08 14:39:07 -07:00
Albert Vaca
ab131863fd Commented out some logs 2015-09-08 05:18:57 -07:00
Albert Vaca
506bc8d2c2 Started implementing the Send SMS plugin 2015-09-08 01:27:07 -07:00
Albert Vaca
b4f8d037e6 Prettier message 2015-09-08 01:27:07 -07:00
Albert Vaca
0b50bd8747 Don't show buttons that can't be clicked 2015-09-08 01:27:07 -07:00
Albert Vaca
da0d5af9d1 Ooops 2015-09-08 01:27:07 -07:00
David Edmundson
e68ba07e09 Use full keyboard handling rather than key events to get UTF-8 support
Use Androids InputConnection mechanism to get data from they keyboard,
rather than handling keys individually. This fixes UTF-8. As a side
effect, using "Google Voice Keyboard" to enter text will automatically
work.

Special keys and modifiers are still handled by the key event handler.

BUG: 350437
2015-09-08 10:23:49 +02:00
Albert Vaca
e637f46a46 Bumped version number to beta-release. 2015-09-07 02:19:47 -07:00
Albert Vaca
92e4fa864a Removed old UI 2015-09-07 02:16:23 -07:00
Albert Vaca
0e40327a50 Darkened volume icon 2015-09-07 02:16:23 -07:00
Albert Vaca
596440a0bc Bumped version number to release 2015-09-07 02:16:23 -07:00
Albert Vaca
8d9634730f DeviceFragment now also has the UI for pairing, dropped PairingActivity. 2015-09-07 02:16:23 -07:00
Albert Vaca
79f55d7ac2 Share Plugin now adds a "send file" item in the device plugins list. 2015-09-07 02:16:23 -07:00
Albert Vaca
9cc51287e2 MainActivity -> MaterialActivity 2015-09-07 02:16:23 -07:00
Albert Vaca
dd94f30c8a Implemented the context menu for PairingFragment 2015-09-07 02:16:23 -07:00
Albert Vaca
e2081d3892 Make sure we close our streams! 2015-09-07 02:16:23 -07:00
Albert Vaca
aa94a61732 Materialized logo 2015-09-07 02:16:23 -07:00
Albert Vaca
405dc258db Fixed DeviceFragment not loading the latest plugins list when displayed 2015-09-07 02:16:23 -07:00
Albert Vaca
c535637b45 Fixed PairingFragment and MaterialAct stealing the callback from each other 2015-09-07 02:16:23 -07:00
Albert Vaca
4d9f2d12b5 Change activity after unpairing 2015-09-07 02:16:23 -07:00
Albert Vaca
c46c669aad Fixed plugin list not reloading after the noti plugin is given permissions 2015-09-07 02:16:23 -07:00
Albert Vaca
e1f3ac9491 Removed some unused imports 2015-09-07 02:16:23 -07:00
Albert Vaca
1692fe714d Small appearance fixes. 2015-09-07 02:16:23 -07:00
Albert Vaca
9e44ce9c02 Trying to add the options menu to the DeviceFragment + crashes fixed 2015-09-07 02:16:23 -07:00
Albert Vaca
53d9b85d8b It's now possible to rename your device from the new UI 2015-09-07 02:16:23 -07:00
Albert Vaca
e71e409a38 Changed the colors of the drawer 2015-09-07 02:16:23 -07:00
Albert Vaca
4b9d946774 Fixed notifications plugin incompatibility with Android<21 2015-09-07 02:16:23 -07:00
Albert Vaca
e59ffc97fa More material: pairing works and revamped plugin preferences 2015-09-07 02:16:23 -07:00
Albert Vaca
12334f5a31 WIP 2015-09-07 02:16:22 -07:00
Ashish Bansal
0eb3c6e9f5 Load plugins which are registered to listen to unpaired devices
Plugins which are registered to receive packages from unpaired devices
should be loaded even if device is not paired, otherwise they won't be
able to listen to NetworkPackages from the unpaired devices.

REVIEW: 124906
2015-08-27 13:06:24 +05:30
Vineet Garg
b87aead06b Using reverse connection strategy for device with android version less than ICS
Enabled cipher suites manually due to issues caused by DHE by older devices
2015-08-25 01:06:49 +05:30
Vineet Garg
f908f5d8a1 Added spongy castle back, to support certificate generation on older devices which is not possible using bouncy castle due to same class name conflict
Fixed TLS version to TLSv1, this saves a connection failure due to TLSv1.2 hello message from devices with latest android versions

If device with new android version enquires about certificate from device with old version (<14) using setNeedClientAuth, connection fails on older device due to variation in certificate request code. So disabled server loop on older devices and using reverse connection hack for successful connection. But due to this, they can't connect to devices with similar android vesion since server is disabled on both and for a successful connection one should be server and one should be client
2015-08-24 02:03:55 +05:30
Vineet Garg
c4a27255a7 Removed spongycastle, now using bouncy castle version
Added reverse connection blacklist again
2015-08-23 00:11:36 +05:30
Vineet Garg
8cd59e701a Using custom built Netty 4.0.25, with fix for high memory usage.
This version does not have any error, as of now and working fine

Remove timer based blacklist for reverse connection since it is not needed now
2015-08-20 23:48:02 +05:30
Vineet Garg
8556e9399e Device unpairs only on handshake exception, not on any exception 2015-08-20 19:15:51 +05:30
Vineet Garg
6a4f0e79a9 Added timer based reverse connection blacklist to avoid infinite loop when two Android 5.0 devices are trying to connect
Changed netty all to netty handler, netty handler is smaller in size and contains required components
2015-08-20 17:05:13 +05:30
Albert Vaca
b34e7c8a78 Missing breaks in switch 2015-08-20 00:50:56 -07:00
Ashish Bansal
0868394596 Changed abstract plugin to receive packages from unpaired device
Now plugin can register to receive network packages from unpaired
devices.

REVIEW: 124819
2015-08-19 21:36:56 +05:30
Vineet Garg
cf4b840509 OOPS! used device name instead of link name in lan pairing handler 2015-08-17 23:54:10 +05:30
Vineet Garg
50fcea2cd9 Removed conscrypt
Fixed issue in netty, currently use custom build netty
Removed multi dex
2015-08-17 22:56:18 +05:30
Vineet Garg
7c9d6630d0 Show encryption info in device activity too 2015-08-15 18:44:49 +05:30
Vineet Garg
7fec58d6b2 We generate certificate for years present date - 1 to present date + 9, this avoid the case of certificate not valid due to different time zones on devices 2015-08-14 17:49:35 +05:30
Vineet Garg
cc7a1f5a2b Added default value while checking for link name in pairing handler, this provides backward compatibility 2015-08-14 17:34:35 +05:30
Vineet Garg
5b0876f424 Merge branch 'master' into netty 2015-08-13 15:03:36 +05:30
Vineet Garg
ce5d2c8394 Reimplemented pairing handler interface, now it it is similar to kde version 2015-08-13 14:55:00 +05:30
Albert Vaca
403c18a056 Notifications plugin now uses notifications' "key"s as id.
Instead of our custom packageName + tag + scoped id.
2015-08-10 00:28:16 -07:00
Albert Vaca
a15b06cdc7 Minor fixes (mostly cosmetic) as per Android Lint analysis 2015-08-10 00:26:58 -07:00
Albert Vaca
64c8eb8767 Oops! 2015-08-09 22:44:26 -07:00
Albert Vaca
7a5e0aca73 Updated device names list as per [1]
[1] https://github.com/meetup/android-device-names/pull/4
2015-08-04 10:53:50 -07:00
Albert Vaca
6c3aedbbc3 Removed some icons we don't need 2015-08-04 10:53:35 -07:00
Albert Vaca
f715c0797b Merge branch 'master' of git://anongit.kde.org/kdeconnect-android 2015-08-02 12:57:28 -07:00
Albert Vaca
fb49f471fb Bumped Android Gradle plugin version 2015-08-02 01:22:43 -07:00
l10n daemon script
b601f6b3c5 SVN_SILENT made messages (after extraction) 2015-08-01 02:07:19 +00:00
Vineet Garg
6314e4217e Merge branch 'master' into netty 2015-07-19 22:11:20 +05:30
Vineet Garg
f7f00057c9 Fixed certificate fingerprint formatting 2015-07-19 19:10:09 +05:30
Vineet Garg
b084c8653e Show full hash
Certifcates shown are wrongly ordered
2015-07-19 04:34:14 +05:30
Vineet Garg
d1dc0ba2b2 Commit from pc 2015-07-18 18:57:09 +05:30
l10n daemon script
2c296c4d19 SVN_SILENT made messages (after extraction) 2015-07-14 02:30:21 +00:00
l10n daemon script
252bbb45d0 SVN_SILENT made messages (after extraction) 2015-07-11 02:01:33 +00:00
Vineet Garg
fd5063e7a7 Enabled multi dex 2015-07-01 03:29:40 +05:30
Vineet Garg
442c01a8e5 Added x86 and mips conscrypt libs
Pairing is now done through links
2015-07-01 03:25:16 +05:30
l10n daemon script
d9415eb0e9 SVN_SILENT made messages (after extraction) 2015-06-30 02:20:44 +00:00
Vineet Garg
72ad2e010c Try when adding security provider 2015-06-28 21:30:06 +05:30
Vineet Garg
67227f4aa0 Added conscrypt readme 2015-06-28 20:40:45 +05:30
Vineet Garg
d93eb5d71e Added conscrypt, open ssl based provider for android
Fixed some isssues in CR
2015-06-28 20:07:05 +05:30
l10n daemon script
861d98eeff SVN_SILENT made messages (after extraction) 2015-06-27 02:02:20 +00:00
Vineet Garg
aeb9a717d4 Removed some log statements, fixed issues 2015-06-25 19:54:37 +05:30
Vineet Garg
1b726018d3 Fixed bugs pointed out by Albert on CR 2015-06-25 04:20:03 +05:30
l10n daemon script
4bc5c7e1ae SVN_SILENT made messages (after extraction) 2015-06-23 02:23:32 +00:00
Vineet Garg
ed6aef42a6 Removed mina core from build.gradle 2015-06-21 17:50:56 +05:30
Vineet Garg
02826ccfe4 Modified build tools version 2015-06-21 17:47:40 +05:30
Vineet Garg
00557052ff Corrected unit tests
Settings were not save properly when certificate was null
Removed LanLinkProvider test, impossible with new design
2015-06-21 17:30:29 +05:30
Vineet Garg
7be045e7c4 Added global preference to use ssl or not in case ssl is not working on some devices 2015-06-20 22:57:11 +05:30
Vineet Garg
8128c42824 Added support to send payload over ssl 2015-06-20 20:54:39 +05:30
Vineet Garg
41100ad371 Merge branch 'master' into netty 2015-06-20 17:50:00 +05:30
Vineet Garg
00a4d39bf6 Added support to verify keys during pair 2015-06-20 17:48:58 +05:30
Vineet Garg
8084b92990 No ecnryption when link is on ssl 2015-06-20 04:21:30 +05:30
Vineet Garg
e14f5a0df1 Ssl support added
Showing high cpu usage on some devices
2015-06-20 04:09:02 +05:30
Vineet Garg
af548ae949 Removed Udp Channel from LanLinkProvider, had no use 2015-06-19 15:49:07 +05:30
l10n daemon script
e53e11a184 SVN_SILENT made messages (after extraction) 2015-06-19 02:14:47 +00:00
Vineet Garg
2f16656aa0 Initial netty implementation 2015-06-19 04:00:27 +05:30
l10n daemon script
79df72b80b SVN_SILENT made messages (after extraction) 2015-06-18 02:07:27 +00:00
l10n daemon script
64eeb98b8e SVN_SILENT made messages (after extraction) 2015-06-17 02:02:24 +00:00
Albert Vaca
fb5fdf752d Don't mangle stacktraces, so crash reports are useful again. 2015-06-15 23:01:09 -07:00
Albert Vaca
99a6578ce3 If both devices request pairing at the same time, we just pair.
The second device accepts the request instead of failing.
2015-06-15 09:03:38 -07:00
l10n daemon script
4e46d83853 SVN_SILENT made messages (after extraction) 2015-06-15 02:06:13 +00:00
Albert Vaca
275cd03b19 Increased version number to release 2015-06-14 03:04:54 -07:00
Albert Vaca
c0a70e35f0 Fixed widgets not using the theme of the app
The problem was that I was passing the base context instead of the view's
2015-06-14 02:59:14 -07:00
Albert Vaca
8f3e0a8555 Don't define a theme that we don't use.
Now we use our theme, even though it just inherits from AppCompat's theme
2015-06-14 02:59:14 -07:00
Albert Vaca
2f77e24ad1 Possible crash related to device name handling
BUG: 348844
2015-06-14 02:59:14 -07:00
Albert Vaca
5b694a3b3e Fixed Android 4.1 crash 2015-06-14 02:59:14 -07:00
Albert Vaca
9a04f24de6 Apply AppCompat theme application-wise instead of per activity.
Last appcompat-v7-22 allows preference activities to use the AppCompat
themes via an AppCompatDelegate.
2015-06-14 02:59:14 -07:00
Albert Vaca
39fba2ef2a Bumped SDK version 2015-06-14 00:11:38 -07:00
Albert Vaca
de66bdfae3 pickFirst seems a better option than exclude 2015-06-13 21:47:32 -07:00
Albert Vaca
017d05b189 Added a proguard file that should fix a crash on Android 4.2 for Samsung
Also reduces the size of the APK.
2015-06-13 21:47:32 -07:00
l10n daemon script
d6264c3359 SVN_SILENT made messages (after extraction) 2015-06-14 02:11:57 +00:00
Vineet Garg
3e70c21031 Added LanLinkTest and LanLinkProviderTest 2015-06-13 12:36:22 +05:30
l10n daemon script
2a6325c472 SVN_SILENT made messages (after extraction) 2015-06-12 02:11:42 +00:00
Vineet Garg
3aadc94278 Added tests - DeviceTest and NetworkPackageTest 2015-06-10 12:29:53 +05:30
l10n daemon script
9e8efb1822 SVN_SILENT made messages (after extraction) 2015-06-10 02:11:10 +00:00
l10n daemon script
74f5e2bf84 SVN_SILENT made messages (after extraction) 2015-06-09 02:20:08 +00:00
l10n daemon script
45fdf3c0ac SVN_SILENT made messages (after extraction) 2015-06-08 02:03:58 +00:00
Albert Vaca
e00376a316 I meant "outdated comment" 2015-06-06 00:48:22 -07:00
Albert Vaca
f41fb4a9da Removed outdated plugin 2015-06-06 00:47:00 -07:00
Albert Vaca
e9a2cbd36b Fixed inconsistent plugin names 2015-06-06 00:43:38 -07:00
Albert Vaca
d5cb11e6c2 Changed color of device icons 2015-06-06 00:39:04 -07:00
Albert Vaca
3b0a3e265d Plugin key is now the plugin class instead of being defined by each plugin 2015-06-06 00:39:04 -07:00
Albert Vaca
a5e9b29e20 Don't call mutex.lock in the main thread 2015-06-06 00:32:05 -07:00
Albert Vaca
307071e9e7 Better names for some plugins 2015-06-06 00:32:05 -07:00
Albert Vaca
7c3e223e29 Default to phone instead of tablet for unknown devices 2015-06-06 00:32:05 -07:00
Albert Vaca
899c73d254 Removed ldpi icon 2015-06-06 00:25:33 -07:00
l10n daemon script
bd14c462dd SVN_SILENT made messages (after extraction) 2015-05-28 02:06:01 +00:00
l10n daemon script
e9b4ca70e9 SVN_SILENT made messages (after extraction) 2015-05-25 02:00:51 +00:00
l10n daemon script
706e3f71b5 SVN_SILENT made messages (after extraction) 2015-05-24 02:12:55 +00:00
l10n daemon script
f9b69a7e45 SVN_SILENT made messages (after extraction) 2015-05-17 02:10:34 +00:00
Albert Vaca
299e7e8375 Handling device type. Added device type icons (still unused). 2015-05-08 23:24:01 -07:00
Albert Vaca
f82c9c08cf Added icons to plugins (still unused). 2015-05-08 23:24:01 -07:00
Albert Vaca
25e1505df0 New interface for plugins 2015-05-08 23:23:36 -07:00
Albert Vaca
4d65382fa1 Moved icons from drawable to drawable-mdpi. We don't use drawable anymore. 2015-05-08 23:22:52 -07:00
Albert Vaca
bf02f639b7 Unpair if something goes wrong while loading a remembered device 2015-05-08 23:20:23 -07:00
Albert Vaca Cintora
067f01134a Added readme file. 2015-05-08 23:20:14 -07:00
l10n daemon script
7e2df27adb SVN_SILENT made messages (after extraction) 2015-04-14 02:47:49 +00:00
Albert Vaca
45bbed6d72 Increased version number to release 2015-04-11 23:53:24 -07:00
Albert Vaca
42f2f425a1 Commented out sendIcons logic until we fix the incomplete file transfers. 2015-04-11 23:53:24 -07:00
Albert Vaca
801c7cbd45 Default priority is not enough to intercept SMS with some apps.
Trying raising it to 500 (maximum is 999).

BUG: 342215
2015-04-11 23:53:24 -07:00
Albert Vaca
366aaea282 Removed unused styles.xml 2015-04-11 23:53:23 -07:00
Albert Vaca
02f5ce2581 Using setSoTimeout instead of implementing the timeout ourselves 2015-04-11 23:53:23 -07:00
l10n daemon script
a360ca0a01 SVN_SILENT made messages (after extraction) 2015-04-12 02:27:37 +00:00
l10n daemon script
d356a9e964 SVN_SILENT made messages (after extraction) 2015-04-08 02:03:18 +00:00
l10n daemon script
e588428812 SVN_SILENT made messages (after extraction) 2015-04-07 02:32:08 +00:00
l10n daemon script
db0f6288ff SVN_SILENT made messages (after extraction) 2015-04-06 02:03:40 +00:00
Albert Vaca
86236169d1 Increase version to release 2015-04-04 18:20:57 -07:00
Albert Vaca
32d9f199ff Let's flush this socket just in case 2015-04-04 18:08:53 -07:00
Albert Vaca
1d51c8792d Do not disconnect the devices when refreshing the listeners
This caused the devices to flicker in the main activity
2015-04-04 17:09:38 -07:00
Albert Vaca
6124b9a206 Minor changes trying to debug discovery issue reported by Aleix on the list 2015-04-04 17:08:26 -07:00
Albert Vaca
c3ad265490 Fixed crash 2015-04-04 14:41:22 -07:00
Albert Vaca
9cf9f43118 Fixes some potential null pointer exceptions reported by Coverity 2015-04-04 14:29:20 -07:00
Albert Vaca
11012e21e5 Added a different notification message for failed file transfers 2015-04-04 14:29:16 -07:00
Albert Vaca
b7faa97292 Handle closing some resources that we were missing to close 2015-04-04 14:29:11 -07:00
Albert Vaca
cc17402609 Fixed NioSocketConnector being kept open after every connection received
And other fixes in the LanLinkProvider
2015-04-04 12:55:52 -07:00
Albert Vaca
a0b82d17b4 Added some logging to help debugging an issue, now commented for future use
Also we prepend KDE/ to these logs to ease filtering them
2015-04-04 11:37:12 -07:00
Albert Vaca
8550de5e7f Coding style 2015-04-04 10:43:49 -07:00
Albert Vaca
46c70639ac Only unpair when receiving unknown packages if I'm not requesting pairing
In case the other device thinks we are paired and answers my identity
packet with unexpected stuff.
2015-03-30 23:26:57 -07:00
l10n daemon script
fb2b1232fb SVN_SILENT made messages (after extraction) 2015-03-31 02:22:21 +00:00
l10n daemon script
c2011831a9 SVN_SILENT made messages (after extraction) 2015-03-30 02:06:46 +00:00
l10n daemon script
ac3ab375ab SVN_SILENT made messages (after extraction) 2015-03-21 02:14:46 +00:00
Albert Vaca
b6b4850355 De-duplicated code 2015-02-01 00:08:49 -08:00
222 changed files with 9124 additions and 3534 deletions

View File

@@ -1,19 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.kde.kdeconnect_tp"
android:versionCode="805"
android:versionName="0.8e">
android:versionCode="1102"
android:versionName="1.1">
<uses-sdk android:minSdkVersion="9"
android:targetSdkVersion="21" />
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" />
@@ -21,97 +20,78 @@
<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.BATTERY_STATS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" android:required="false" />
<uses-permission android:name="android.permission.RECEIVE_SMS" android:required="false" />
<!-- <uses-permission android:name="android.permission.SEND_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"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
android:allowBackup="true"
android:icon="@drawable/icon"
android:supportsRtl="true"
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/device_menu_plugins"
android:parentActivityName="org.kde.kdeconnect.UserInterface.DeviceActivity"
>
<meta-data android:name="android.support.PARENT_ACTIVITY"
android:value="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.MaterialActivity" />
</activity>
<activity
android:name="org.kde.kdeconnect.UserInterface.CustomDevicesActivity"
android:label="@string/custom_devices_settings"
android:parentActivityName="org.kde.kdeconnect.UserInterface.DeviceActivity"
>
<meta-data android:name="android.support.PARENT_ACTIVITY"
android:value="org.kde.kdeconnect.UserInterface.DeviceActivity" />
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: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">
<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" />
@@ -122,7 +102,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>
@@ -130,53 +111,68 @@
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.BATTERY_CHANGED" />
</intent-filter>-->
</intent-filter>
-->
</receiver>
<activity
android:name="org.kde.kdeconnect.Plugins.FindMyPhonePlugin.FindMyPhoneActivity"
android:label="@string/findmyphone_title"
android:launchMode="singleInstance">
</activity>
<!-- 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:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandActivity"
android:label="@string/remote_control"
android:windowSoftInputMode="stateHidden|adjustResize"
android:configChanges="orientation|keyboardHidden|screenSize"
android:screenOrientation="fullSensor"
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: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: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.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"
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
<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>
@@ -185,7 +181,6 @@
<activity
android:name="org.kde.kdeconnect.Plugins.NotificationsPlugin.NotificationFilterActivity"
android:label="@string/title_activity_notification_filter"
android:theme="@style/Theme.AppCompat"
android:parentActivityName="org.kde.kdeconnect.UserInterface.PluginSettingsActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"

25
README.md Normal file
View 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/extragear/network/kdeconnect-android/repository/).

View File

@@ -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 res/ --gettext outdir
ANSI_COLORS_DISABLED=1 a2po export --android res/ --gettext outdir
mv outdir/template.pot $potfile
rm -rf outdir
}
@@ -15,7 +15,9 @@ 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 --ignore-fuzzy --android res/ --gettext $podir
ANSI_COLORS_DISABLED=1 a2po import --ignore-fuzzy --android res/ --gettext $podir
#Android doesn't support languages with an @
rm -r res/values-*@*
}

View File

@@ -3,18 +3,29 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.+'
classpath 'com.android.tools.build:gradle:2.1.2'
}
}
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion '21.1.2'
buildToolsVersion '23.0.3'
compileSdkVersion 23
defaultConfig {
minSdkVersion 9
targetSdkVersion 21
targetSdkVersion 22 //Bumping to 23 means we have to support the new permissions model
//multiDexEnabled true
//testInstrumentationRunner "com.android.test.runner.MultiDexTestRunner"
}
dexOptions {
javaMaxHeapSize "2g"
}
compileOptions {
// Use Java 1.7, requires minSdk 8
//SSHD requires mina when running on JDK < 7
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
sourceSets {
main {
@@ -24,31 +35,53 @@ android {
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"
pickFirst "META-INF/BCKEY.SF"
pickFirst "META-INF/BCKEY.DSA"
pickFirst "META-INF/INDEX.LIST"
pickFirst "META-INF/io.netty.versions.properties"
}
lintOptions {
abortOnError false
checkReleaseBuilds false
}
buildTypes {
debug {
minifyEnabled false
useProguard false
}
release { //keep on 'releae', set to 'all' when testing to make sure proguard is not deleting important stuff
minifyEnabled true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro'
}
}
}
dependencies {
repositories {
mavenCentral()
}
compile 'com.android.support:support-v4:21.0.3'
compile 'com.android.support:appcompat-v7:21.0.3'
compile 'org.apache.mina:mina-core:2.0.9'
compile 'org.apache.sshd:sshd-core:0.8.0'
compile 'org.bouncycastle:bcprov-jdk16:1.46'
//compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.android.support:support-v4:23.4.0'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'org.apache.sshd:sshd-core:0.8.0' //0.9 seems to fail on Android 6 and 1.+ requires java.nio.file, which doesn't exist in Android
compile 'com.madgag.spongycastle:pkix:1.54.0.0' //For SSL certificate generation
// Testing
androidTestCompile 'org.mockito:mockito-core:1.10.19'
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.1'// Because mockito has some problems with dex environment
androidTestCompile 'org.skyscreamer:jsonassert:1.3.0'
}

281
icon.svg
View File

@@ -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 r"
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,45 +728,38 @@
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="2"
inkscape:cx="118.88075"
inkscape:cy="143.06055"
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-x="0"
inkscape:window-y="-3"
inkscape:window-width="1920"
inkscape:window-height="1017"
inkscape:window-x="-4"
inkscape:window-y="0"
inkscape:window-maximized="1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0">
fit-margin-bottom="0"
showborder="true">
<inkscape:grid
type="xygrid"
id="grid2985"
empspacing="5"
visible="true"
enabled="true"
enabled="false"
snapvisiblegridlinesonly="true"
originx="8.7869998px"
originy="9.9302358px" />
@@ -885,10 +767,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 +777,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 +785,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 +800,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 +814,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"
style="fill:#f5f5f5;fill-opacity:1;stroke:none"
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 +858,23 @@
</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
<path
style="opacity:0.4;fill:#ffffff;fill-opacity:1;stroke:none"
d="m 72.876953,14.001953 c -5.091955,0 -9.191406,3.925011 -9.191406,8.800781 l 0,2 c 0,-4.87577 4.099451,-8.800781 9.191406,-8.800781 l 128.677737,0 c 5.09194,0 9.1914,3.925011 9.1914,8.800781 l 0,-2 c 0,-4.87577 -4.09946,-8.800781 -9.1914,-8.800781 z"
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>
id="path4295"
inkscape:connector-curvature="0"
sodipodi:nodetypes="sscsscsss" />
<path
style="fill:#000000;fill-opacity:1;stroke:none;opacity:0.1"
d="m 63.685547,249.62891 0,2 c 0,4.8757 4.099451,8.80078 9.191406,8.80078 l 128.677737,0 c 5.09194,0 9.1914,-3.92508 9.1914,-8.80078 l 0,-2 c 0,4.8757 -4.09946,8.80078 -9.1914,8.80078 l -128.677737,0 c -5.091955,0 -9.191406,-3.92508 -9.191406,-8.80078 z"
id="path4300"
inkscape:connector-curvature="0"
sodipodi:nodetypes="csssscssc"
transform="translate(-8.7869998,787.86042)" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 28 KiB

39
proguard-rules.pro vendored Normal file
View File

@@ -0,0 +1,39 @@
# 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 *;
#}
-dontobfuscate
# 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
-keepnames class !android.support.v7.internal.view.menu.**,android.support.v7.** {*;}
-dontwarn org.spongycastle.**
-dontwarn org.apache.sshd.**
-dontwarn org.apache.mina.**
-dontwarn org.slf4j.**
-dontwarn io.netty.**
-keepattributes SourceFile,LineNumberTable,Signature,*Annotation*
-keep class org.spongycastle.** {*;}
# SSHd requires mina, and mina uses reflection so some classes would get deleted
-keep class org.apache.mina.** {*;}
-keep class org.kde.kdeconnect.** {*;}

View 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 959 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 686 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 823 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 B

View File

Before

Width:  |  Height:  |  Size: 431 B

After

Width:  |  Height:  |  Size: 431 B

View File

Before

Width:  |  Height:  |  Size: 750 B

After

Width:  |  Height:  |  Size: 750 B

View File

Before

Width:  |  Height:  |  Size: 365 B

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

BIN
res/drawable-mdpi/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 841 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 994 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 693 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 611 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 936 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 529 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 931 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 843 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View 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"
/>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

View 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>

View 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>

View File

@@ -1,13 +1,93 @@
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/buttons_list"
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:fillViewport="true"
android:divider="@null"
tools:context=".MainActivity"
/>
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"
/>
<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:drawableStart="@drawable/ic_error_outline_black_48dp"
android:drawableLeft="@drawable/ic_error_outline_black_48dp"
android:drawablePadding="8dip"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:text="@string/unreachable_description"
android:textAppearance="?android:attr/textAppearanceMedium"
/>
<ListView
android:id="@+id/buttons_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
tools:context=".DeviceActivity"
/>
</LinearLayout>

View File

@@ -0,0 +1,26 @@
<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.FindMyPhonePlugin.FindMyPhoneActivity">
<Button
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="@string/findmyphone_found"
android:textSize="50dp"
android:id="@+id/bFindMyPhone"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />
</RelativeLayout>

View File

@@ -0,0 +1,11 @@
<ListView 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="16dip"
android:paddingRight="16dip"
tools:context=".MainActivity"
android:id="@+id/listView1"
android:addStatesFromChildren="true"
android:orientation="vertical">
</ListView>

View File

@@ -1,14 +1,45 @@
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
<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: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=".MainActivity"
android:id="@+id/listView1"
android:addStatesFromChildren="true"
android:orientation="vertical">
android:fitsSystemWindows="true"
tools:context="org.kde.kdeconnect.UserInterface.MaterialActivity"> <!-- fitSystemWindows to make the drawer slide below the Lollipop transparent status bar -->
</ListView>
<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:elevation="8dp"
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"
android:background="@drawable/state_list_drawer_background"
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>

View File

@@ -1,60 +0,0 @@
<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: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=".MainActivity"
android:orientation="vertical">
<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: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: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: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: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>

View File

@@ -30,7 +30,6 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/add_host"
android:onClick="addNewIp"
android:id="@android:id/button1"/>

View File

@@ -5,9 +5,20 @@
android:layout_height="wrap_content"
android:orientation="vertical">
<include
android:id="@+id/list_item_category_text"
layout="@android:layout/preference_category" />
<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"
/>
<TextView
android:layout_width="wrap_content"

View File

@@ -5,9 +5,11 @@
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"
@@ -27,8 +29,8 @@
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:singleLine="true"
android:textColor="#CC2222"
android:visibility="gone"
android:textColor="@android:color/darker_gray"
android:text="" />

Some files were not shown because too many files have changed in this diff Show More