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

311 Commits

Author SHA1 Message Date
Albert Vaca
a918f0cfe6 Bump version to release 2019-03-20 23:12:11 +01:00
Albert Vaca
aada931d6a Re-enable SMS plugin now that we know the secrets to approval 2019-03-20 23:11:58 +01:00
Albert Vaca
4d38f9753c Disable plugin that breaks on Android 4 2019-03-20 09:42:32 +01:00
Albert Vaca Cintora
7799f7e817 Stop using ClassIndex, it seems to be causing problems 2019-03-19 22:50:22 +01:00
Albert Vaca
8db8937927 Update version to release (to Play Store only) 2019-03-19 09:03:30 +01:00
Albert Vaca
13e6f2d250 Emergency update to fix Play Store's policy violation
- Make TelephonyPlugin only handle calls and not texts
- Disable SMSPlugin.
- Stop using READ_CALL_LOG permission (for contact names)
2019-03-19 09:00:45 +01:00
Nicolas Fella
f7763bf5a9 Request READ_CALL_LOG permission 2019-03-18 01:34:51 +00:00
Albert Vaca Cintora
e033aad425 Bump version to release 2019-03-08 19:31:27 +01:00
Erik Duisters
f2e505b8af Allow shares from desktop to be canceled
Summary:
Allow in progress file transfers to be canceled

BUG: 349956

{F6373048}

{F6373050}

{F6373051}

Test Plan:
Send a large file from desktop to android
Press cancel in the progress notification

Result: the file transfer is cancelled and the cancelled file is deleted from storage

Reviewers: #kde_connect, nicolasfella, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: albertvaka, nicolasfella, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16491
2019-03-08 19:08:29 +01:00
Albert Vaca Cintora
f48b5612c7 Fragments must be public classes
Otherwise they crash at runtime when launched
2019-03-08 14:50:35 +01:00
Albert Vaca
f568c420fa Bump version to release 2019-03-07 12:28:29 +01:00
Nicolas Fella
43ae02d68f [Android] Add photo plugin
Summary: When a request arrive open the camera and send the taken pic back.

Reviewers: #kde_connect, broulik, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: albertvaka, ngraham, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D18142
2019-03-04 23:47:38 +01:00
Erik Duisters
9fb780f919 Migrate from PreferenceActivity to PreferenceFragment because it has been deprecated since Android 3.0 API11
Summary:
PreferenceActivity has been deprecated since Android 3.0 API 11 in favour of PreferenceFragment

| {F6515113} | {F6515114}|
|Before|
| {F6515111} | {F6515112}|
|After|

Test Plan:
Apply patch and observe that the DeviceSettings and PluginSettings screen behave as expected
and now also follow material design guidelines

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D17859
2019-01-06 12:36:42 +01:00
Erik Duisters
f684fbe8ef Migrate from android support libraries to androidx
Summary: Use the new AndroidX libraries instead of the legacy support libraries

Test Plan: Apply patch and verify everything works as before

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: shubham, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D17818
2018-12-27 16:43:34 +01:00
Piyush Aggarwal
12e6b29461 Fixed Header in 3 plugin pages: Run Command, Multimedia control, Remote input
Summary: Fixed Header in 3 plugins: Run Command, Multimedia control, Remote input

Test Plan:
build the Android APK and analyze the Header in `Run Command`,
`Remote input` and `Multimedia control` plugins.

Reviewers: #kde_connect, sredman

Reviewed By: #kde_connect, sredman

Subscribers: ltoscano, nicolasfella, albertvaka, sredman, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D17250
2018-12-14 23:23:05 +01:00
Albert Vaca
c5961d6514 Bump version code to release 2018-11-29 20:22:41 +01:00
Albert Vaca
0677391040 Bumping version again to release 2018-11-02 13:25:02 +01:00
Albert Vaca
58c4dfbdbd Bump version code to release 2018-10-31 15:27:42 +01:00
Albert Vaca
75d4f0efa6 Bump version code to release 2018-10-30 18:21:04 +01:00
Albert Vaca
970b50f61f Bump version code 2018-10-28 19:17:08 +01:00
Albert Vaca
cbd4af2378 Bump version to release as beta 2018-10-25 21:27:17 +02:00
Albert Vaca
11d26129e9 Rename SettingsActivity to DeviceSettingsActivity 2018-10-16 15:02:37 +02:00
Albert Vaca
58a9b0d9a3 Bump sdk to Android PIE
Changes:
- Appcompat library v4 has been splitted in smaller libs, we only need one
- New FOREGROUND_SERVICE permission is required
2018-10-16 14:39:00 +02:00
Albert Vaca
4629179de6 BIND_REMOTEVIEWS is a system-only permission 2018-10-16 14:37:28 +02:00
Albert Vaca
8547e59cd8 Merge branch 'master' into oreo2 2018-08-16 15:43:42 +02:00
Albert Vaca
8d9d15e6dd Added a plugin to present slideshows
Summary:
This adds a plugin with buttons for next and previous slide and fullscreen.
It also allows you to use volume up/down to change slide, even when the screen is off.
It can be extended to show do more presentation-related stuff eventually.
On the desktop side, it uses the already present 'mousepad' (keyboard input) plugin.

Test Plan: Tested manually.

Reviewers: #kde_connect, nicolasfella, apol

Reviewed By: #kde_connect, nicolasfella, apol

Subscribers: apol, nicolasfella, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D14430
2018-08-01 14:27:57 +02:00
Nicolas Fella
e0fde16525 Added runcommandplugin widget
Summary: A simple widget to execute commands from android desktop

Test Plan:
Add the widget and execute commands from it.
By default, the selected device is the first device in the device list.
The selected device can be changed via the widget title.
If there is no commands, the widget show an empty list
If there is no connected device, show the message located in @string/unreachable_description

Reviewers: albertvaka, nicolasfella, #kde_connect

Reviewed By: albertvaka

Subscribers: kdeconnect, nicolasfella

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D12507
2018-07-30 18:15:25 +02:00
Nicolas Fella
57fc625af9 Use kdeconnect:// url to trigger commands
Summary:
Make it possible to trigger commands by opening an URI like kdeconnect://runcommand/<deviceid>/<commandid>
Makes it possible to trigger commands from NFC tags.
To ease the setup the url can be added to the clipboard

Test Plan:
Long-press a command entry
Select Copy URL to clipboard
Write into NFC tag or use kdeconnect-handler to trigger url
See command executing

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: albertvaka, apol, kdeconnect, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D13447
2018-07-27 07:57:02 +02:00
Albert Vaca
25fe61f376 Bump version for Beta release 2018-06-07 02:32:00 +02:00
Nicolas Fella
3b7f1ff88a Give filetransfer an own NotificationChannel 2018-06-03 15:18:29 +02:00
Albert Vaca
6fc4764439 Bump version to release in Beta 2018-05-21 17:51:55 +02:00
Albert Vaca
9059402231 Bump version to release in beta 2018-05-20 23:41:56 +02:00
Albert Vaca
46ad1f07ce Remove unneeded permission 2018-05-20 23:32:08 +02:00
Albert Vaca
85c51ee720 Disable crashing plugin and bump version to release
This plugin was crashing for lots of users with Android 4.X
2018-05-16 17:11:36 +02:00
Albert Vaca
b1dcc3c40f Bumped version to release 2018-05-15 00:55:28 +02:00
Albert Vaca
55a0ad657e Bumped version to release 2018-05-15 00:55:28 +02:00
Albert Vaca
1bf96454cf required is not part of the uses-permission tag
BUG: 392856
2018-04-08 17:20:48 +02:00
Albert Vaca
64fd08f3ac Bump version to release 2018-03-27 20:34:56 +02:00
Albert Vaca
2cb025e368 Bump version to release 2018-03-25 22:01:06 +02:00
Albert Vaca
2b52cd1547 Bumped version to release 2018-03-25 20:42:52 +02:00
Nicolas Fella
ac4aaf1b39 Make MPRIS Activity singletop 2018-03-23 22:20:13 +01:00
Albert Vaca
dbdbb0496b Bump version to release 2018-03-15 23:51:30 +01:00
Nicolas Fella
e72e0f61dd Rename MaterialActivity to MainActivity
Summary: Its more descriptive

Reviewers: #kde_connect, mtijink

Reviewed By: #kde_connect, mtijink

Subscribers: mtijink, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D10951
2018-03-03 19:35:29 +01:00
Nicolas Fella
6aa75a2e7e Format AndroidManifest.xml
Summary: Format it properly, replace empty bodies with sef-closing tag and remove commented tags

Test Plan: Runs

Reviewers: #kde_connect, mtijink

Reviewed By: #kde_connect, mtijink

Subscribers: #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D10969
2018-03-03 15:25:20 +01:00
Matthijs Tijink
2f127b3047 Add MPRIS media control notification
Summary:
BUG: 337485

Adds a notification to show and control mpris players. It shows the title, artist etc. (so depends on D9083, but can easily be adapted to work without it, but that leads to less features).

The notification appears as soon as one of your connected devices plays music. If multiple devices/players are playing, it shows the information and controls for only one of these. If it stops playing, it tries to switch to another playing device/player. If those do not exist, it shows the same player, but allows starting it again.

Dismissing the notification is only possible if the showed player is paused (as effect, only when all players are paused). It automatically closes if the device or player disappears or disconnects and no other players are playing. I think this behaviour is intuitive, other native android music players have similar behaviour.

About the implementation: there are two parts to this: the notification and the media session control API. The first shows the notification and its controls. The second allows lock screen controls on older Android versions and control using e.g. headphone buttons. Since nearly all code is shared between the two parts, and the rest is mostly straightforward, I put them in the same diff.

Test Plan:
Tested on Android Nougat 7.1 (shows the notification with buttons, as expected; no lock screen controls, as expected) and Android Gingerbread 2.3 (shows a notification without buttons, lock screen controls work, so as expected).

I am not able to test with multiple desktops, so testing that would be appreciated.

Disabling buttons when not available should work, but all players I tested always allowed next/previous/play/pause.

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: apol, albertvaka, nicolasfella

Tags: #kde_connect

Maniphest Tasks: T6512

Differential Revision: https://phabricator.kde.org/D9266
2018-02-24 17:01:08 +01:00
Albert Vaca
7dd4583a24 Increased version number to release 2018-02-17 10:07:57 +01:00
Albert Vaca
4b21d67da0 Increased minor version to release 2018-01-16 22:53:49 +01:00
Matthijs Tijink
ea9a5459fd Remove minimum and target API versions from manifest.
Summary: They are provided by the gradle build file.

Test Plan: I checked the generated merged manifest file.

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Differential Revision: https://phabricator.kde.org/D9562
2018-01-03 20:40:53 +01:00
Matthijs Tijink
c6746e38a0 Allow opening files shared to android using the notification
Summary:
Since Android Nougat, the previous way to open a file shared to android did not work anymore (using `file://` urls), as marked with a TODO.

This diff implements the new way of opening files: a content provider url (`content://`) allows opening files through the KDE Connect app. As an added benefit, apps without external files permission can now open files received by KDE Connect.

Test Plan: Works for me.

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: albertvaka, nicolasfella

Differential Revision: https://phabricator.kde.org/D9331
2017-12-20 17:53:35 +01:00
Albert Vaca
71106a3de3 Merge branch '1.x'
# Conflicts:
#	AndroidManifest.xml
#	res/values-da/strings.xml
#	res/values-eu/strings.xml
#	res/values-zh-rCN/strings.xml
2017-12-09 14:21:02 +01:00