Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
c77f7dc
build: update gradle wrapper
justjanne Dec 9, 2023
995a4de
build: update android build tools
justjanne Dec 9, 2023
f516987
build: switch to kotlin buildscripts
justjanne Dec 9, 2023
bf8554c
build: add required exported attribute
justjanne Dec 9, 2023
3c48eaa
chore: R.id is not constant anymore, can't be used with switch/case
justjanne Dec 9, 2023
de80310
Merge pull request #23 from justjanne/justjanne/depupdate
codingcatgirl Dec 9, 2023
49eafcf
remove wifiscanrate setting
codingcatgirl Dec 11, 2023
1a9b7a8
update to 37c3 URL
codingcatgirl Dec 11, 2023
809a9dc
update tls pin
gwenya Dec 14, 2023
56bcbde
Revert "remove wifiscanrate setting"
scientress Dec 18, 2023
4c62218
added missing ressources file
scientress Dec 18, 2023
9f69e7c
updated settings because of getDefaultSharedPreferences deprecation
scientress Dec 18, 2023
d70f350
updated primay acceent color
scientress Dec 18, 2023
26999fa
fixed typo
scientress Dec 21, 2023
2719997
updated intent filter for 37c3
scientress Dec 21, 2023
9f4be7f
disabled splash screen and adapted logo screen work as a splash screen
scientress Dec 21, 2023
084940b
updated logo for 37c3
scientress Dec 21, 2023
4291127
updated launcher icon
scientress Dec 23, 2023
ff80fda
updated shortcut icons
scientress Dec 23, 2023
3035b00
version bump 4.2.1
scientress Dec 23, 2023
0aa845f
updated current_version file for fdroid
scientress Dec 23, 2023
46c4ad0
updated c3nav logo (better kerning)
scientress Dec 24, 2023
5a1c953
version bump v4.2.2
scientress Dec 24, 2023
454a09f
replaced twitter link with mastodon link
scientress Dec 24, 2023
d243afa
version bump 4.2.3
scientress Dec 24, 2023
ebacd62
use autoVerify="true" for the URL intent-filter
scientress Dec 25, 2023
0f606dc
properly check if mobileclientOnResume is available
scientress Dec 27, 2023
4e66a9c
don't try to use WifiManager.startScan on API level >= 34
scientress Dec 27, 2023
6e83e81
add information about 802.11mc support to the wifi scan result
scientress Dec 27, 2023
0e2ac21
version bump to 4.2.4
scientress Dec 27, 2023
11f9969
Revert "don't try to use WifiManager.startScan on API level >= 34"
scientress Dec 27, 2023
ad8d5af
version bump v4.2.5
scientress Dec 27, 2023
bbef54d
rtt stuff
gwenya Dec 27, 2023
0731d2e
rename "level" to "rssi" in wifi measurement data
gwenya Dec 27, 2023
323a23f
record rtt support independently of rtt success
gwenya Dec 27, 2023
bda066a
add custom fdroid repo to README.md
m4ci3k2 Dec 27, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 0 additions & 64 deletions CongressRoutePlanner/app/build.gradle

This file was deleted.

68 changes: 68 additions & 0 deletions CongressRoutePlanner/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
plugins {
id("com.android.application")
}

val versionMajor = 4
val versionMinor = 2
val versionPatch = 5
val minimumSdkVersion = 14

android {
namespace = "de.c3nav.droid"
compileSdk = 34
buildToolsVersion = "34.0.0"

defaultConfig {
applicationId = "de.c3nav.droid"
minSdk = minimumSdkVersion
targetSdk = 34
versionCode = generateVersionCode()
versionName = generateVersionName()
buildConfigField("String", "WEB_URL", "\"https://37c3.c3nav.de\"")
}
signingConfigs {
create("release") {
storeFile = file("../../c3nav.keystore")
storePassword = System.getenv("KSTOREPWD")
keyAlias = "c3nav"
keyPassword = System.getenv("KSTOREPWD")
}
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
signingConfig = signingConfigs.findByName("release")
}
debug {
isDebuggable = true
applicationIdSuffix = ".debug"
versionNameSuffix = "-debug"
}
}
buildFeatures {
buildConfig = true
}
lint {
disable.add("AddJavascriptInterface")
disable.add("SetJavaScriptEnabled")
}
}

fun generateVersionCode(): Int {
return minimumSdkVersion * 1000000 + versionMajor * 10000 + versionMinor * 100 + versionPatch
}

fun generateVersionName(): String {
return "${versionMajor}.${versionMinor}.${versionPatch}"
}

dependencies {
implementation("androidx.appcompat:appcompat:1.1.0")
implementation("com.google.android.material:material:1.0.0")
implementation("androidx.legacy:legacy-support-v4:1.0.0")
implementation("androidx.preference:preference:1.1.0")
implementation("androidx.legacy:legacy-preference-v14:1.0.0")
implementation("com.android.support:support-annotations:28.0.0")
testImplementation("junit:junit:4.12")
}
30 changes: 10 additions & 20 deletions CongressRoutePlanner/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,51 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.c3nav.droid">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.NEARBY_WIFI_DEVICES" />
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />

<application
android:allowBackup="false"
android:icon="@mipmap/ic_launcher_36c3"
android:icon="@mipmap/ic_launcher_basic"
android:roundIcon="@mipmap/ic_launcher_basic_round"
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config"
android:supportsRtl="true"
android:theme="@style/AppTheme.Launcher">
<activity
android:name=".MainActivity"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"
android:exported="true"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter android:label="@string/viewc3nav">
<intent-filter android:label="@string/viewc3nav" android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:host="36c3.c3nav.de"
android:pathPrefix="/"
android:scheme="http" />
</intent-filter>
<intent-filter android:label="@string/viewc3nav">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:host="36c3.c3nav.de"
android:pathPrefix="/"
android:scheme="https" />
<data android:scheme="http" />
<data android:scheme="https" />
<data android:host="37c3.c3nav.de"/>
<data android:pathPrefix="/"/>
</intent-filter>
<intent-filter>
<action android:name="de.c3nav.droid.action.CURRENT_LOCATION" />
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading