KNotifications backend for Android
Open, Needs TriagePublic

Description

It would be good to have an Android backend.

KNotifications builds there now, it's a matter of having the Android backend and see how good the abstraction maps.

KNotifications is coupled with QtWidgets though, so it's not super useful as is.

apol created this task.Nov 14 2018, 3:20 PM

From vague memory, I think it should be possible to remove both the widget and the dbus dependency on Android. I'd also focus on the notification frontend API and ignore all the config possibilities on Android.

I'm offering help on this. I'm quite familiar with the notification Java API, but not so much with Qt on Android.

vatra added a subscriber: vatra.Nov 14 2018, 3:40 PM

I wanted to say that http://code.qt.io/cgit/qt/qtandroidextras.git/tree/examples/androidextras/notification is a good start but I changed my mind very fast.
I don't think it's possible to do it entirely from C++, mostly because you need to get notified when the user taps on that notification (I don't know KNotifications API, but I assume it has something like that) , so a small java code is still needed.

Work ongoing, see e.g. D17851 and D17986.

vkrause moved this task from Backlog to In Progress on the Android board.Jan 9 2019, 4:33 PM
vkrause moved this task from In Progress to Done on the Android board.Apr 25 2019, 4:17 PM