Lynxbee topic

Android

Android, Android Applications programming, ADB commands, Application framework, Middleware, HAL, Errors and Solutions, Makefiles, Compilation

Capture Android Bluetooth HCI Logs with ADB

Capture Bluetooth traffic at Android’s host-controller boundary, retrieve it through a direct ADB pull or an AOSP bug report, and inspect the BTSnoop file in Wireshark. The workflow also explains privacy risks, vendor-specific paths, and what an HCI log cannot reveal.

Turn On Bluetooth and Discoverability with ADB

ADB can open Android’s trusted system dialogs for enabling Bluetooth and temporary discoverability, but the user still controls consent. This guide shows the exact intents, duration extra, device targeting, verification, and the limits of unattended automation.

Create an Android Upload Key for Google Play

For a Play App Signing release, your upload key proves that a bundle came from your team; Google’s app-signing key signs the APKs users install. Generate them as separate identities, protect the private material, and register the correct certificate fingerprints.

Create Adaptive and Themed Android App Icons

An Android launcher icon is a layered resource, not a pre-cropped rounded PNG. Build separate foreground, background, and monochrome artwork, let the launcher apply its mask and tint, and keep the Google Play listing asset separate.

Fix RecyclerView Orientation WrongConstant

`WrongConstant` is Android lint telling you that an integer came from outside the API’s documented constant set. Use the constant family declared by the parameter, then investigate dependency or lint-version drift if an official alias is still flagged.

Adb shell screenrecord

If you want to take Screen Shot of your device, refer post “How to Capture Screenshot in … Read more

Fix ContextImpl Cannot Be Cast to Activity

`Context` is a capability family, not another name for `Activity`. Find the failing cast, decide whether the operation truly needs a UI owner, and change the API contract instead of swapping context methods until the crash disappears.

Prevent Screenshots in Android with FLAG_SECURE

`FLAG_SECURE` asks Android to keep a window out of screenshots and non-secure displays. Apply it before sensitive UI appears, understand its window-wide scope, and treat newer detection and screen-share APIs as complementary—not interchangeable—controls.

What is Flutter and Flutter Engine

What is Flutter ? Flutter is Google’s portable UI toolkit for building beautiful, natively-compiled applications for mobile, … Read more

Adb install

If we want to install an apk already downloaded or we compiled, use below command to install … Read more

Adb uninstall

If We want to uninstall the apk, using adb, we need to know the package name of … Read more

Make phone call using adb command

If you have multiple devices connected with laptop/desktop, use “-s serial_no” to distinguish which device your want … Read more

Engineering weekly

Useful technical knowledge, not inbox noise.

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