2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-23 02:17:20 +00:00

32 Commits

Author SHA1 Message Date
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
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
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
099839565f Begun to bring back 2.3 compatibility
Removed use of SharedPreferences.getStringSet
2013-08-20 00:37:08 +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
53f8af551d Improved MPRIS controls. Added reconnect on screen on event. Fixed a missing calls that caused old links to be stored forever 2013-08-10 05:16:59 +02:00
Albert Vaca
3ad2d3a384 Compatibility with android 2.3 2013-08-09 22:33:12 +02:00
Albert Vaca
9fc4ad7c30 Android Lint issues 2013-08-08 04:26:06 +02:00
Albert Vaca
27f7e54c7f Dynamic tcp port change when bind fails 2013-08-08 04:12:28 +02:00
Albert Vaca
158d57153a Added BroadcastTcpLinkProvider 2013-08-07 10:44:52 +02:00
Albert Vaca
0c7cedc7aa Small reconnection bug
Branding
2013-08-05 01:11:28 +02:00
Albert Vaca
603cc62ef0 Added sms notifications
Added contact name lookup for sms and call notifications
2013-08-01 02:30:58 +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
cc947902f3 Added player list and current track to mpris control
Added onDeviceConnected event in PackageInterface
2013-07-30 20:18:30 +02:00
Albert Vaca
fc3f3fc86e Added a packageinterface and activity to send basic mpris commands 2013-07-29 18:42:12 +02:00
Albert Vaca
4176d9b15e Added battery reporting interface 2013-07-26 16:23:26 +02:00
Albert Vaca
91e99806ee Android: Uses Apache Mina to abstract socket management
KDE: Housekeeping
2013-07-24 18:42:33 +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
Albert Vaca
8347c760f5 Rewritten old package emitters and receivers using the new package format
Splitted up ping receiver from notification receiver in KDE
Improved pausemusic receiver
Fixed same computer being discovered multiple times
Fixed some other minor bugs and compilation warnings
2013-07-04 19:17:22 +02:00
Albert Vaca
42cd517fb7 Yet another refactor, mostly moving code from from daemon class to device class
Device now has a public dbus interface
Removed wizard from kcm: now the main list shows all the devices and you can pair/unpair using a checkbox
Both Kde and Android now use unique device ids
2013-07-03 03:52:44 +02:00
Albert Vaca
edf991e884 Fixed android app bug 2013-07-02 15:22:05 +02:00
Albert Vaca
1692fb7e14 KCM skeleton 2013-06-19 16:15:25 +02:00
Albert Vaca
8fcd9e50c9 Reversed Avahi discovery (now the computer announces the service) 2013-06-18 20:04:53 +02:00
Albert Vaca
c02b1e3af4 KdeService was not compiling 2013-06-18 03:05:32 +02:00
Albert Vaca
dd2a545e0d Implemented activity-service comunication to android app 2013-06-18 02:14:22 +02:00
Albert Vaca
60c63fe27a Avahi discovering 2013-06-17 12:23:08 +02:00
Albert Vaca
5b712bad0a Initial commit 2013-06-06 05:57:06 +02:00