summaryrefslogtreecommitdiff
path: root/src/fruits/droid/ctv/app
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-11-12 15:53:02 -0500
committerAndrew Opalach <andrew@akon.city> 2024-11-12 15:53:02 -0500
commitbacabb8f2b488b3da58dc3ea4159326298a003f6 (patch)
tree958590c851b3480c69eb43a969c4ecc6543e7042 /src/fruits/droid/ctv/app
parent29fa4f8d667d543595e652e7402d395d507ba464 (diff)
downloadcamu-bacabb8f2b488b3da58dc3ea4159326298a003f6.tar.gz
camu-bacabb8f2b488b3da58dc3ea4159326298a003f6.tar.bz2
camu-bacabb8f2b488b3da58dc3ea4159326298a003f6.zip
Android cross-compile
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/fruits/droid/ctv/app')
-rw-r--r--src/fruits/droid/ctv/app/.gitignore1
-rw-r--r--src/fruits/droid/ctv/app/build.gradle31
-rw-r--r--src/fruits/droid/ctv/app/proguard-rules.pro21
-rw-r--r--src/fruits/droid/ctv/app/src/main/AndroidManifest.xml25
-rw-r--r--src/fruits/droid/ctv/app/src/main/res/mipmap-hdpi/ic_launcher.webpbin0 -> 1404 bytes
-rw-r--r--src/fruits/droid/ctv/app/src/main/res/mipmap-mdpi/ic_launcher.webpbin0 -> 982 bytes
-rw-r--r--src/fruits/droid/ctv/app/src/main/res/mipmap-xhdpi/ic_launcher.webpbin0 -> 1900 bytes
-rw-r--r--src/fruits/droid/ctv/app/src/main/res/mipmap-xxhdpi/ic_launcher.webpbin0 -> 2884 bytes
-rw-r--r--src/fruits/droid/ctv/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webpbin0 -> 3844 bytes
-rw-r--r--src/fruits/droid/ctv/app/src/main/res/values/strings.xml3
10 files changed, 81 insertions, 0 deletions
diff --git a/src/fruits/droid/ctv/app/.gitignore b/src/fruits/droid/ctv/app/.gitignore
new file mode 100644
index 0000000..42afabf
--- /dev/null
+++ b/src/fruits/droid/ctv/app/.gitignore
@@ -0,0 +1 @@
+/build \ No newline at end of file
diff --git a/src/fruits/droid/ctv/app/build.gradle b/src/fruits/droid/ctv/app/build.gradle
new file mode 100644
index 0000000..065f134
--- /dev/null
+++ b/src/fruits/droid/ctv/app/build.gradle
@@ -0,0 +1,31 @@
+plugins {
+ alias(libs.plugins.android.application)
+}
+
+android {
+ namespace 'city.akon.ctv'
+ compileSdk 34
+ ndkVersion '23.2.8568313'
+
+ defaultConfig {
+ applicationId "city.akon.ctv"
+ minSdk 21
+ targetSdk 34
+ versionCode 1
+ versionName "1.0"
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_11
+ targetCompatibility JavaVersion.VERSION_11
+ }
+}
+
+dependencies {
+} \ No newline at end of file
diff --git a/src/fruits/droid/ctv/app/proguard-rules.pro b/src/fruits/droid/ctv/app/proguard-rules.pro
new file mode 100644
index 0000000..481bb43
--- /dev/null
+++ b/src/fruits/droid/ctv/app/proguard-rules.pro
@@ -0,0 +1,21 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile \ No newline at end of file
diff --git a/src/fruits/droid/ctv/app/src/main/AndroidManifest.xml b/src/fruits/droid/ctv/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..be6971b
--- /dev/null
+++ b/src/fruits/droid/ctv/app/src/main/AndroidManifest.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <application
+ android:allowBackup="true"
+ android:icon="@mipmap/ic_launcher"
+ android:label="@string/app_name"
+ android:hasCode="false"
+ android:supportsRtl="true"
+ android:theme="@android:style/Theme.DeviceDefault">
+
+ <activity android:name="android.app.NativeActivity"
+ android:exported="true"
+ android:configChanges="orientation|screenLayout|screenSize|keyboardHidden|keyboard">
+ <meta-data
+ android:name="android.app.lib_name"
+ android:value="ctv" />
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.LAUNCHER"/>
+ </intent-filter>
+ </activity>
+ </application>
+
+</manifest> \ No newline at end of file
diff --git a/src/fruits/droid/ctv/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/src/fruits/droid/ctv/app/src/main/res/mipmap-hdpi/ic_launcher.webp
new file mode 100644
index 0000000..c209e78
--- /dev/null
+++ b/src/fruits/droid/ctv/app/src/main/res/mipmap-hdpi/ic_launcher.webp
Binary files differ
diff --git a/src/fruits/droid/ctv/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/src/fruits/droid/ctv/app/src/main/res/mipmap-mdpi/ic_launcher.webp
new file mode 100644
index 0000000..4f0f1d6
--- /dev/null
+++ b/src/fruits/droid/ctv/app/src/main/res/mipmap-mdpi/ic_launcher.webp
Binary files differ
diff --git a/src/fruits/droid/ctv/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/src/fruits/droid/ctv/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
new file mode 100644
index 0000000..948a307
--- /dev/null
+++ b/src/fruits/droid/ctv/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
Binary files differ
diff --git a/src/fruits/droid/ctv/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/src/fruits/droid/ctv/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
new file mode 100644
index 0000000..28d4b77
--- /dev/null
+++ b/src/fruits/droid/ctv/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
Binary files differ
diff --git a/src/fruits/droid/ctv/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/src/fruits/droid/ctv/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
new file mode 100644
index 0000000..aa7d642
--- /dev/null
+++ b/src/fruits/droid/ctv/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
Binary files differ
diff --git a/src/fruits/droid/ctv/app/src/main/res/values/strings.xml b/src/fruits/droid/ctv/app/src/main/res/values/strings.xml
new file mode 100644
index 0000000..98f2c00
--- /dev/null
+++ b/src/fruits/droid/ctv/app/src/main/res/values/strings.xml
@@ -0,0 +1,3 @@
+<resources>
+ <string name="app_name">ctv</string>
+</resources> \ No newline at end of file