Changed app name and ID
|
@ -16,7 +16,7 @@ android {
|
|||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId 'io.elixirdesktop.example'
|
||||
applicationId 'net.nytsoi.geotherminator'
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 30
|
||||
versionCode 1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="io.elixirdesktop.example"
|
||||
package="net.nytsoi.geotherminator"
|
||||
android:installLocation="internalOnly">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
<provider
|
||||
android:name="androidx.core.content.FileProvider"
|
||||
android:authorities="io.elixirdesktop.example.fileprovider"
|
||||
android:authorities="net.nytsoi.geotherminator.fileprovider"
|
||||
android:exported="false"
|
||||
android:grantUriPermissions="true">
|
||||
<meta-data
|
||||
|
@ -27,7 +27,7 @@
|
|||
|
||||
<activity
|
||||
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|density|fontScale|keyboard|layoutDirection|mcc|mnc|navigation|smallestScreenSize|touchscreen|uiMode"
|
||||
android:name="io.elixirdesktop.example.MainActivity">
|
||||
android:name="net.nytsoi.geotherminator.MainActivity">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
|
|
|
@ -160,7 +160,7 @@ const char* startErlang(std::string root_dir, std::string log_dir)
|
|||
}
|
||||
|
||||
extern "C" JNIEXPORT jstring JNICALL
|
||||
Java_io_elixirdesktop_example_Bridge_startErlang(
|
||||
Java_net_nytsoi_geotherminator_Bridge_startErlang(
|
||||
JNIEnv* env,
|
||||
jobject /* this */, jstring release_dir, jstring log_dir) {
|
||||
|
||||
|
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 14 KiB |
|
@ -1,6 +1,5 @@
|
|||
package io.elixirdesktop.example
|
||||
package net.nytsoi.geotherminator
|
||||
|
||||
import android.app.PendingIntent
|
||||
import android.content.ActivityNotFoundException
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
|
@ -13,9 +12,6 @@ import android.webkit.WebChromeClient
|
|||
import android.webkit.WebSettings
|
||||
import android.webkit.WebView
|
||||
import android.webkit.WebViewClient
|
||||
import androidx.core.app.NotificationCompat
|
||||
import androidx.core.app.NotificationManagerCompat
|
||||
import androidx.core.content.ContextCompat
|
||||
import androidx.core.content.FileProvider
|
||||
import org.json.JSONArray
|
||||
import org.json.JSONObject
|
|
@ -1,11 +1,10 @@
|
|||
package io.elixirdesktop.example
|
||||
package net.nytsoi.geotherminator
|
||||
|
||||
import android.app.Activity
|
||||
import android.os.Bundle
|
||||
import android.system.Os
|
||||
import android.view.KeyEvent
|
||||
import android.view.View
|
||||
import io.elixirdesktop.example.databinding.ActivityMainBinding
|
||||
import net.nytsoi.geotherminator.databinding.ActivityMainBinding
|
||||
import java.io.*
|
||||
import java.util.*
|
||||
import android.webkit.WebView
|
|
@ -1,57 +0,0 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<group android:scaleX="0.15452316"
|
||||
android:scaleY="0.15452316"
|
||||
android:translateX="26.46"
|
||||
android:translateY="31.547009">
|
||||
<path
|
||||
android:pathData="m289.562,14.25c-5.663,0 -11.327,2.17 -15.667,6.509L145.175,149.48 86.891,91.195c-8.679,-8.679 -22.654,-8.679 -31.333,0l-39.231,39.231c-8.679,8.679 -8.679,22.653 0,31.332l73.944,73.945c0.002,0.002 0.004,0.004 0.007,0.007l37.415,37.415c8.679,8.679 22.654,8.679 31.333,0L198.257,233.894 342.645,89.508c8.679,-8.679 8.679,-22.654 0,-31.333L305.229,20.759c-4.34,-4.34 -10.003,-6.509 -15.666,-6.509z"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="4.9847827"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="nonZero"
|
||||
android:strokeLineCap="butt">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:gradientRadius="151.22067"
|
||||
android:centerX="152.22423"
|
||||
android:centerY="106.852066"
|
||||
android:type="radial">
|
||||
<item android:offset="0" android:color="#FF000000"/>
|
||||
<item android:offset="1" android:color="#00000000"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path
|
||||
android:pathData="M125.555,264.573L14.189,153.206A22.156,22.156 90,0 1,14.189 121.873L53.42,82.642A22.156,22.156 90,0 1,84.753 82.642L196.119,194.009A22.156,22.156 0,0 1,196.119 225.342L156.888,264.573A22.156,22.156 0,0 1,125.555 264.573z"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="4.9847827"
|
||||
android:fillColor="#421658"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="nonZero"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="M88.14,195.825L271.758,12.207A22.156,22.156 90,0 1,303.091 12.207L340.506,49.622A22.156,22.156 90,0 1,340.506 80.955L156.888,264.573A22.156,22.156 0,0 1,125.555 264.573L88.14,227.158A22.156,22.156 90,0 1,88.14 195.825z"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="4.9847827"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="nonZero"
|
||||
android:strokeLineCap="butt">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:startY="247.62767"
|
||||
android:startX="105.08517"
|
||||
android:endY="29.152084"
|
||||
android:endX="323.56076"
|
||||
android:type="linear">
|
||||
<item android:offset="0" android:color="#FF61496D"/>
|
||||
<item android:offset="1" android:color="#FF8B8290"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
</group>
|
||||
</vector>
|
86
app/src/main/res/drawable/ic_launcher_foreground.xml
Normal file
|
@ -0,0 +1,86 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<group android:scaleX="0.47305787"
|
||||
android:scaleY="0.47305787"
|
||||
android:translateX="25.61653"
|
||||
android:translateY="25.38">
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M69.5,60.5h40v10h-40z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M10.5,90.5h40v10h-40z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M10.5,60.5h40v10h-40z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M20.5,50.5h80v60h-80z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M30.5,103L30.5,58"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M40.5,103L40.5,58"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M50.5,103L50.5,58"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M60.5,103L60.5,58"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M70.5,103L70.5,58"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M80.5,103L80.5,58"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M90.5,103L90.5,58"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M30.5,40.5Q20.5,30.5 30.5,25.5Q40.5,20.5 30.5,10.5"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M50.5,40.5Q40.5,30.5 50.5,25.5Q60.5,20.5 50.5,10.5"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M70.5,40.5Q60.5,30.5 70.5,25.5Q80.5,20.5 70.5,10.5"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M90.5,40.5Q80.5,30.5 90.5,25.5Q100.5,20.5 90.5,10.5"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
</group>
|
||||
</vector>
|
BIN
app/src/main/res/drawable/ic_launcher_playstore.png
Normal file
After Width: | Height: | Size: 18 KiB |
81
app/src/main/res/drawable/radiator.xml
Normal file
|
@ -0,0 +1,81 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="120"
|
||||
android:viewportHeight="121">
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M69.5,60.5h40v10h-40z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M10.5,90.5h40v10h-40z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M10.5,60.5h40v10h-40z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M20.5,50.5h80v60h-80z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M30.5,103L30.5,58"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M40.5,103L40.5,58"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M50.5,103L50.5,58"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M60.5,103L60.5,58"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M70.5,103L70.5,58"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M80.5,103L80.5,58"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M90.5,103L90.5,58"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M30.5,40.5Q20.5,30.5 30.5,25.5Q40.5,20.5 30.5,10.5"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M50.5,40.5Q40.5,30.5 50.5,25.5Q60.5,20.5 50.5,10.5"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M70.5,40.5Q60.5,30.5 70.5,25.5Q80.5,20.5 70.5,10.5"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M90.5,40.5Q80.5,30.5 90.5,25.5Q100.5,20.5 90.5,10.5"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
</vector>
|
|
@ -10,12 +10,14 @@
|
|||
android:id="@+id/splash"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:background="#FFF"
|
||||
android:contentDescription="@string/app_name"
|
||||
android:src="@drawable/ic_launcher_foreground"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/radiator" />
|
||||
|
||||
<WebView
|
||||
android:id="@+id/browser"
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
BIN
app/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 11 KiB |
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#FFFFFF</color>
|
||||
<color name="ic_launcher_background">#CFCFCF</color>
|
||||
</resources>
|
|
@ -1,3 +1,3 @@
|
|||
<resources>
|
||||
<string name="app_name">TodoApp</string>
|
||||
<string name="app_name">GeoTherminator</string>
|
||||
</resources>
|
|
@ -6,7 +6,7 @@ buildscript {
|
|||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:7.0.3'
|
||||
classpath 'com.android.tools.build:gradle:7.2.2'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30"
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
|
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -1,6 +1,6 @@
|
|||
#Tue Jun 22 14:56:47 CEST 2021
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
|
||||
distributionPath=wrapper/dists
|
||||
zipStorePath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
rootProject.name = "TodoApp"
|
||||
rootProject.name = "GeoTherminator"
|
||||
include ':app'
|
||||
|
|