Lynxbee topic

lynxbeedev

How Android System Properties Work Across Partitions

Android system properties are a system-wide string key/value mechanism, but they are not an unrestricted global preferences store. Reads use shared property areas; writes are validated by init’s property service and SELinux policy. Modern cross-partition contracts should use generated typed Sysprop APIs.

Avoid zombie process in Linux

Zombie process is the process which dies/finishes immediately and whose parent didn’t cares to handle the status … Read more

Use Splint for C Analysis—and Know When to Move On

Splint can still expose useful C mistakes through annotations and strict checking, but its last upstream release is from 2007. Use it for legacy compatibility or learning—not as the only security control—and pair it with current compilers, path-sensitive analyzers, sanitizers, tests, and human review.

Use Valgrind to find memory leaks

Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically … Read more

Add AdSense Auto Ads to AMP and WordPress Safely

AMP pages require AMP-specific AdSense code. Load the amp-auto-ads component once in the document head and place the publisher element immediately after the opening body tag—then validate the generated AMP page, consent flow, ads.txt, and real performance rather than editing theme files blindly.

Canonical URLs: Choose One Version Without Hiding Content

A canonical URL is the representative address search engines select for duplicate or very similar pages. Your canonical annotation is a strong preference—not an instruction—so redirects, internal links, sitemaps, hreflang, indexability, and page content must tell the same story.

Build an Android AAR Library That Is Ready to Share

Creating an Android library module is the easy click. Making its AAR safe for another app requires a deliberate API, resource and manifest hygiene, consumer shrinker rules, compatibility metadata, tests, and a distribution path that preserves dependencies.

Connect Android Library Modules with Gradle

A library module can depend on another module with one Gradle project dependency. The important design choice is whether the dependency remains an implementation detail or becomes part of your public API—and how that relationship survives publication.

Add a Local AAR Dependency to an Android Project

A precompiled AAR can be linked directly from an app module, but the file carries no Maven dependency metadata. Here is the clean Gradle setup, plus the checks that prevent missing classes, resource conflicts, native ABI surprises, and release-only failures.

Fix “Invoke-customs” Android min-api 26 Build Error

This dex error usually means a module or dependency emits Java 8 invocation bytecode without compatible desugaring. First configure the module correctly; if the failing code calls MethodHandle.invoke, use the API-26-safe path instead of masking the problem.

Adb shell getprop

As we have seen in our another post “commands to Identify Product Model, Serial Number ( Device … Read more

Keep Android Immersive Mode After a PopupMenu

A PopupMenu temporarily owns window focus, so Android may reveal system bars. Use the current WindowInsets controller, track whether fullscreen remains desired, and restore bars only after focus returns or the popup is dismissed—without fighting system gestures or accessibility.

Engineering weekly

Useful technical knowledge, not inbox noise.

Receive verified fixes, references, labs, and tools. Confirm by email; unsubscribe any time.