At this stage: - The program launches the rear camera of the smartphone (if 1 camera is available, it uses it). - Allows you to take a photo and save it on the phone: Pictures/Lilula - Allows you to broadcast video on the local network to the IP address of the smartphone in Mjpeg format, which can be viewed by any client: browser, VLC, etc. The broadcast address is shown on the screen. API level 19+ (Android 4.4.+) Tested on devices Android 4.4.2, Android 13 (Color OS), Android 14 (LineagoOS)
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
plugins {
|
|
alias(libs.plugins.android.application)
|
|
}
|
|
|
|
android {
|
|
namespace = "com.gitea.kashamannaya.lilula"
|
|
compileSdk = 35
|
|
|
|
defaultConfig {
|
|
applicationId = "com.gitea.kashamannaya.lilula"
|
|
minSdk = 19
|
|
targetSdk = 35
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
multiDexEnabled =true
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
// https://mvnrepository.com/artifact/androidx.appcompat/appcompat
|
|
runtimeOnly(libs.appcompat.v161)
|
|
implementation(libs.material)
|
|
// https://mvnrepository.com/artifact/androidx.activity/activity
|
|
runtimeOnly(libs.activity.v190)
|
|
implementation (libs.multidex)
|
|
implementation(libs.rxandroid)
|
|
implementation(libs.rxjava)
|
|
implementation (libs.androidasync)
|
|
|
|
testImplementation(libs.junit)
|
|
androidTestImplementation(libs.ext.junit)
|
|
androidTestImplementation(libs.espresso.core)
|
|
} |