Use Android Jetpack Compose rendering effects to create cool animation effects

How to use rendering effects to create a stunning visual experience in Android Jetpack Compose Learning example: How to use rendering effects to change the UI interface Introduction Jetpack Compose provides a variety of tools and components for building engaging UIs, but one of the lesser-known gems in Compose is RenderEffect. In this blog post, […]

Jetpack Compose large screen adaptation exploration

Article directory 1. Convert the original size to the window Size class 2. Measurement constraints 3. Constraint layout 4. Demo Official documentation: https://developer.android.com/jetpack/compose/layouts/adaptive?hl=zh-cn When you use Compose to lay out your entire app, app-level and screen-level composables take up all the space allocated to the app for rendering. At this level of app design, it […]

Deployment of yolov8 tensorrt model under Jetson Xavier NX (Jetpack5.1.2, CUDA11.4, Cudnn8.6.0, Tensorrt8.5.2)

Article directory Preface Jetson Xavier NX environment configuration 1. TensorRT-Alpha source code download 1. Source code download 2.File settings 2. Yolov8 model deployment 1. Export yolov8 onnx model 2. Use tensorrt to convert onnx files to trt files 3. Source code modification 4.Compile 5. Run Summarize refer to Foreword Records of the deployment process and […]

Solve Android Studio missing essential plugin org.jetbrains.android

Table of Contents Solve Android Studio missing essential plugin org.jetbrains.android Problem solving steps Step 1: Check if the plugin exists Step 2: Clear cache Step 3: Update or reinstall the plugin Step 4: Reimport the project Summarize Solution to Android Studio missing essential plugin org.jetbrains.android In the process of using Android Studio for Android development, […]

Use only one network cable to connect JetsonNano to achieve NoMachine remote access

Use only one network cable to connect to the JetsonNano shared network and achieve NoMachine remote access Article directory Use only one network cable to connect to JetsonNano to share the network and achieve NoMachine remote access 1 NoMachin installation and configuration 1.1 Download address (Jetson) 1.2 Installation steps 1.2.1 Copy the compressed package to […]

Jetpack Compose | State status management and interface refresh

We know that the UI composable items in Jetpack Compose (hereinafter referred to as Compose) are described through functions declared by @Composable, such as: @Composable funGreeting() { Text( text = “init”, color = Color.Red, modifier = Modifier.fillMaxWidth() ) } The above code describes a static Text, so how to update the UI in Compose? State […]

The new version of jetpack navigation2.5.3 returns repeated creation of fragments

When navigation returns, it will re-create the version of the fragment before 2.3.5, most of the modifications (the new version is invalid): override fun navigate( destination: Destination, args: Bundle?, navOptions: NavOptions?, navigatorExtras: Navigator.Extras? ): NavDestination? { if (mFragmentManager.isStateSaved) { Log.i( TAG, “Ignoring navigate() call: FragmentManager has already” + “saved its state” ) return null } […]

JETSON-ORIN-NX face detection experiment–Ultra-Light-Fast-Generic-Face-Detector-1MB article

JETSON face detection–Ultra-Light-Fast-Generic-Face-Detector-1MB Article directory JETSON Face Detection–Ultra-Light-Fast-Generic-Face-Detector-1MB Ultra-Light-Fast-Generic-Face-Detector-1MB (hereinafter referred to as ultraface) introduction Source code Environment setup and related C++ deployment Download and compile NCNN Compile Ultra-Light-Fast-Generic-Face-Detector-1MB Modify main.cpp for video reading and face detection Obtaining data such as CPU resource usage Ultra-Light-Fast-Generic-Face-Detector-1MB (hereinafter referred to as ultraface) introduction You can refer to […]