Add Android build target and responsive/drawer UI for phones and tablets
Restructure src-tauri into lib+bin (Tauri 2's mobile requirement — Android embeds the app as a JNI cdylib, which needs a [lib] target with tauri::mobile_entry_point) and scaffold gen/android/ via `cargo tauri android init`. Builds and packages cleanly to a debug APK/AAB. pcd_viewer.html: the 284px docked sidebar becomes a slide-in drawer under 768px viewport width (toggled from the rail, closes on backdrop tap), the rail sheds its subtitle and secondary telemetry chips under 480px, and the camera panel caps its width to the viewport. Also disables native pinch-zoom (the canvas has its own via OrbitControls) and sets overscroll-behavior:none for a full-bleed touch surface.
This commit is contained in:
+21
@@ -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
|
||||
Reference in New Issue
Block a user