video-capture-sdk-x-android

Integrate VisioForge Video Capture SDK X into .NET for Android apps.

Updated May 29, 2025
One-click install
npx skills add https://github.com/visioforge/help --skill video-capture-sdk-x-android
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: video-capture-sdk-x-android
Source: https://github.com/visioforge/help/tree/main/dotnet/agent-skills/video-capture-sdk-x-android
Command: npx skills add https://github.com/visioforge/help --skill video-capture-sdk-x-android

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It removes the guesswork of integrating VisioForge Video Capture SDK X into a native .NET for Android app, especially around permissions, Android-specific UI hosting, licensing, and deployment pitfalls that cause black previews or runtime crashes.

Core Features & Use Cases

  • Native .NET for Android Video Capture: Set up VideoViewGL and wire VideoCaptureCoreX for webcam/video capture and recording on Android hosts (net10.0-android activity-based).
  • End-to-end recording workflow: Configure an MP4 output, run preview, and toggle recording using StartCaptureAsync / StopCaptureAsync without rebuilding the pipeline.
  • Production-focused integration guidance: Handle CAMERA/RECORD_AUDIO runtime permissions, AndroidDependency project reference requirements, trial-to-licensed activation via SetLicenseCertificateAsync, and common AAB/ABI packaging issues.

Use Case: You want a native .NET Android app that previews the camera, records MP4 to app-private Movies storage, and lets users switch front/back cameras without crashes or confusing permission failures.

Quick Start

Tell the AI assistant: “Generate a step-by-step plan to integrate video-capture-sdk-x-android into my net10.0-android project, including the required NuGet packages, the AndroidDependency project reference, the VideoViewGL layout, runtime permission handling, MP4 output setup, and where to place the license registration call.”

Frequently Asked Questions about video-capture-sdk-x-android

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add native camera preview and MP4 recording to a .NET Android app?

To add native camera preview and MP4 recording to a .NET Android app, integrate the VisioForge Video Capture SDK X by wiring VideoCaptureCoreX with VideoViewGL, handling runtime permissions, and calling StartCaptureAsync and StopCaptureAsync for recording control.

Why does my .NET Android camera preview show a black screen or crash on startup?

A black screen or startup crash in .NET Android camera preview often results from missing CAMERA and RECORD_AUDIO runtime permissions, incorrect VideoViewGL layout hosting, or unregistered SDK licenses via SetLicenseCertificateAsync before calling StartAsync.

What NuGet packages and project references do I need for .NET Android video capture?

For .NET Android video capture, you need the wrapper NuGet package paired with the CrossPlatform Android redist, plus an AndroidDependency project reference, ensuring correct deployment and avoiding AAB ABI packaging issues on net10.0-android targets.

Can I switch front and back cameras during MP4 recording in a .NET Android application?

You can switch front and back cameras during MP4 recording in a .NET Android application by utilizing the VideoCaptureCoreX pipeline, which supports toggling camera sources without completely rebuilding the video capture pipeline.

How do I activate a VisioForge Video Capture SDK X license in a .NET Android app?

To activate a VisioForge Video Capture SDK X license in a .NET Android app, call SetLicenseCertificateAsync before invoking StartAsync to handle trial-to-licensed activation and avoid trial-expiry issues during video capture.

Does Video Capture SDK X work with .NET MAUI or only native .NET for Android?

Video Capture SDK X targets native .NET for Android activity-based apps on TFM net10.0-android, providing specific lifecycle-safe disposal and VideoViewGL hosting configurations designed for native Android development rather than MAUI.