2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-28 12:47:43 +00:00

11 Commits

Author SHA1 Message Date
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
9fc4ad7c30 Android Lint issues 2013-08-08 04:26:06 +02:00
Albert Vaca
a9c137cf98 Bugfixing (end of line was missing in package serialization) 2013-08-07 18:26:03 +02:00
Albert Vaca
158d57153a Added BroadcastTcpLinkProvider 2013-08-07 10:44:52 +02:00
Albert Vaca
b9c013630b Management for device disconnection and initial implementation of the device list 2013-07-31 19:10:51 +02:00
Albert Vaca
4930a019d4 Added preferences and the ability to enable and disable plugins from there 2013-07-31 18:02:22 +02:00
Albert Vaca
4176d9b15e Added battery reporting interface 2013-07-26 16:23:26 +02:00
Albert Vaca
91ebceb5ca Added clipboard sync
Merged "package emitters" and "package receivers" in "package interfaces"
2013-07-23 17:50:09 +02:00
Albert Vaca
c7557f0dc6 Implemented bi-directional communication using tcp. 2013-07-23 16:11:54 +02:00