INNER CODE UNIT · Rust

android_main

jub0t/Concat · src/crates/concat-android/src/lib.rs:257

fn android_main(app: slint::android::AndroidApp) {
    // Directories first: the log file is written into one of them.
    activity::name_directories(&app);
    activity::open_log();
    log::info!("Concat {} starting", env!("CARGO_PKG_VERSION"));
    if let Err(error) = slint::android::init(app.clone()) {
        log::error!("could not start the Android backend: {error}");
        return;
    }
    // After the backend, which seeds the JavaVM the picker reaches for.
    picker::install(&app);
    if let Err(error) = concat::run() {
        log::error!("{error}");
    }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…