diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml
index 6f2c9bce..ffad021d 100644
--- a/android/AndroidManifest.xml
+++ b/android/AndroidManifest.xml
@@ -7,7 +7,7 @@
@@ -57,6 +57,9 @@
+
+
+
diff --git a/android/build.gradle b/android/build.gradle
index dd715eb7..538d0476 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -28,6 +28,7 @@ def timestamp = (int)(new Date().getTime()/1000)
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
+ implementation 'com.android.support:support-v4:28.0.0'
}
android {
diff --git a/android/gradle.properties b/android/gradle.properties
new file mode 100644
index 00000000..5bac8ac5
--- /dev/null
+++ b/android/gradle.properties
@@ -0,0 +1 @@
+android.useAndroidX=true
diff --git a/android/src/org/kde/kasts/MediaService.java b/android/src/org/kde/kasts/MediaService.java
new file mode 100644
index 00000000..fb14a8cc
--- /dev/null
+++ b/android/src/org/kde/kasts/MediaService.java
@@ -0,0 +1,29 @@
+/**
+ * SPDX-FileCopyrightText: 2021 Swapnil Tripathi
+ *
+ * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
+ */
+
+
+package org.kde.kasts;
+
+import android.app.Service;
+import android.content.Intent;
+import android.os.IBinder;
+import android.os.Bundle;
+import android.support.v4.media.session.MediaSessionCompat;
+
+public class MediaService extends Service {
+ public static final String TAG = "MediaService";
+
+ private MediaSessionCompat mSession;
+ @Override
+ public IBinder onBind(Intent intent) {
+ return null;
+ }
+
+ @Override
+ public void onCreate() {
+ super.onCreate();
+ }
+}