2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-29 13:17:43 +00:00

84 Commits

Author SHA1 Message Date
Albert Vaca
cda2f573bf Merge branch 'master' into filetransfer
Conflicts:
	KdeConnect/src/main/AndroidManifest.xml
2013-09-20 17:27:59 +02:00
Albert Vaca
50cb2b9f7f Implemented ShareToReceiver to send files 2013-09-20 16:12:24 +02:00
Albert Vaca
513a2b32f4 Fixed file transfer (both lan and loopback)
Added file size to protocol (optional)
Increased protocol version to 5
2013-09-20 16:12:24 +02:00
Albert Vaca
1757b2e650 Share menu now displays "KDE Connect" instead of "Share to" 2013-09-20 16:12:24 +02:00
Albert Vaca
091836646a Added a simple kind of item (only a title) for the generic item list 2013-09-20 16:12:24 +02:00
Albert Vaca
0d8f84037b Added a send to activity (untested at all) 2013-09-20 16:12:24 +02:00
Albert Vaca
aabd06f5cb Notifications plugin now uses payloads to send app icons (untested) 2013-09-20 16:12:23 +02:00
Albert Vaca
6dbe7bac91 Implemented payload transfer in LanLink (untested)
Some silly fixes to NetworkPackage added too
2013-09-20 16:12:23 +02:00
Albert Vaca
593cf8cac0 Added missing getter and setter in NetworkPackage 2013-09-20 16:12:23 +02:00
Albert Vaca
46ad74f539 Payload transfer in loopback link (not tested) 2013-09-20 16:12:23 +02:00
Albert Vaca
66766e8ab0 Added payload to NetworkPackage
Matching KDED's implementation
2013-09-20 16:12:23 +02:00
Albert Vaca
34fe3ac272 Refactor to move backend to its own package
Matching kde project structure
2013-09-20 16:12:23 +02:00
Albert Vaca
8800c4503c Parent activities where not correctly set
BUG: 325060
2013-09-20 15:58:18 +02:00
Albert Vaca
5200ceaab5 Commented loopbacklinkprovider 2013-09-20 15:58:18 +02:00
Albert Vaca
6a9419401e Project changed 2013-09-18 18:04:20 +02:00
Albert Vaca
b1ca8757c6 Parent activities where not correctly set
BUG: 325060
2013-09-18 17:28:43 +02:00
Albert Vaca
e735e0ecf3 Moved cryptography layer down from Device to Backend
Matching KDED structure
2013-09-16 17:36:26 +02:00
Albert Vaca
63f0458096 Refactor to move backend to its own package
Matching kde project structure
2013-09-16 15:24:21 +02:00
Albert Vaca
39e590fd54 Commented loopbacklinkprovider 2013-09-10 11:56:57 +02:00
Albert Vaca
b559111258 Changes for compatibility with tablets
Google play won't show apps that depend on "telephony" to non-3g devices
2013-09-10 11:56:36 +02:00
Albert Vaca
4d1608d68e Moved non-retrocompatible clipboard code to a new class so it wont crash 2013-09-05 17:29:58 +02:00
Albert Vaca
436e3f9335 Increased version number to release 2013-09-05 17:05:26 +02:00
Albert Vaca
9787c2c3db Less spam 2013-09-05 17:05:13 +02:00
Albert Vaca
153f920c4d Added loopback device 2013-09-05 17:03:59 +02:00
Albert Vaca
1eb99194fe Spam less to the error channel 2013-09-05 10:48:42 +02:00
Albert Vaca
c17c9e7073 Changes suggested by android lint 2013-09-05 10:37:42 +02:00
Albert Vaca
9a7b211623 More i18n 2013-09-05 02:38:06 +02:00
Albert Vaca
55886c1c02 Moved from org.kde.connect to org.kde.kdeconnect 2013-09-05 01:37:59 +02:00
Albert Vaca
18fcf79c79 Changed package name to kdeconnect_tp for releasing
tp stands for technology preview :P
2013-09-05 01:35:12 +02:00
Albert Vaca
83bfcfc7c3 Refresh button actually refreshes computer list 2013-09-05 01:34:27 +02:00
Albert Vaca
093350a175 Moved string to xml for i18n 2013-09-05 01:33:54 +02:00
Albert Vaca
950f684a05 Try to disconnect unused tcp connections 2013-09-05 01:03:40 +02:00
Albert Vaca
b4a359d81a Optimized imports 2013-09-05 00:23:15 +02:00
Albert Vaca
858bc30a4a Removed Avahi classes 2013-09-05 00:21:39 +02:00
Albert Vaca
d5bc6ebcfa Catch up with the KDE client
Implemented symmetric pairing
Implemented public key exchange
Implemented encryption
Implemented NetworkPackage protocol version 3
New GUI, less dependant on Android 3.0+ features
Plugins can now place a button in the user interface
Fixed not clickable plugins preferences page
Some refactoring
2013-09-03 22:13:51 +02:00
Albert Vaca
6b978f334b Fixed a crash in notificationsplugin 2013-08-28 19:38:00 +02:00
Albert Vaca
a7c06eb149 Reenabled ClipboardPlugin for Android 4.3
An official fix for the bug has been released
2013-08-27 17:19:31 +02:00
Albert Vaca
72b25f2b7d Mark request answers as so, to not show the notifications as new 2013-08-22 04:38:04 +02:00
Albert Vaca
1d09358075 Oops 2013-08-21 22:21:24 +02:00
Albert Vaca
9f13d577a4 Added a mutex to BackgroundService to prevent a ConcurrentModificationException
The same should be done for NotificationReceiver

+Added a TODO for the future GUI to plugins
2013-08-21 21:30:25 +02:00
Albert Vaca
32ac65bf8f Reverting last change to PingPlugin 2013-08-20 13:45:02 +02:00
Albert Vaca
b52d447093 Fully working notifications sync
Changed notifications sync protocol
Fixed unserialization of NotificationId
Fixed a bug on Device.addPlugin introduced in commit 76c9def95b85cb0e336b89c3f1bdfd2042465f04, because onCreate was not executed in the main thread
2013-08-20 13:41:13 +02:00
Albert Vaca
7c4a50cf35 Added the "add new connection before removing old one" optimization, as was done in Qt. 2013-08-20 09:58:25 +02:00
Albert Vaca
d3989d54e1 Removing connectionReceivers of MainActivity and MprisActivity to prevent leaking the activities memory 2013-08-20 09:58:17 +02:00
Albert Vaca
099839565f Begun to bring back 2.3 compatibility
Removed use of SharedPreferences.getStringSet
2013-08-20 00:37:08 +02:00
Albert Vaca
13b4f27f31 Added some possible todos 2013-08-20 00:09:00 +02:00
Albert Vaca
76c9def95b Fixed a race condition where onConnectionLost was called before onConnectionAccepted
+ MprisActivity now tries to reconnect to the plugin when there is a new connection,
just in case the new connection replaced the old one (the plugin would have been reloaded)
2013-08-19 23:59:13 +02:00
Albert Vaca
b22d753410 Implemented notifications plugin (Android 4.3 required)
Now plugins are almost self-contained (PluginFactory still needs to know about them)
Regression: Plugins settings page does not work
Now plugins that fail to load can display a message to the user explaining the problem
Clipboard plugin now compares if content has changed before sending it
2013-08-19 19:57:29 +02:00
Albert Vaca
92cbf99891 Major refactor matching KDED's (Android 4.0+ only again!)
Plugins:
Moved plugins from BackgroundService to Device and adapted as needed
Plugins now implement their own broadcast receivers, instead of using a global one
Renamed ServiceLauncher to KdeConnectBroadcastReceiver
Implemented PluginFactory
Merged SmsNotifications and CallNotifications into TelephonyPlugin

Interface:
Started new GUI (uses ActionBar and other Android 4.0+ widgets)
Mpris and Plugin Settings activities are now per-device
Removed SettingsFragment in favor of SettingsActivity (for now)
Removed CompatClibpoard
Added a class to convert internal phone name to human-readable names.

Persistence:
BackgroundService now stores a list of know (paired) devices
Device now stores its name, trusted state and plugin list
Added setTrusted and trust/untrust logic to Device
The Settings activity now reads/writes the plugin settings from/to Device

(Sorry for this huge commit)
2013-08-16 10:31:01 +02:00
Albert Vaca
b3ca862ba8 Answer battery status requests 2013-08-14 00:02:31 +02:00