Overview of the Camera JavaScript API
window.CameraView object. The standard workflow for using the camera is: 1. Open the camera, 2. Perform operations (take photos or record video), and 3. Close the camera.website·Indexed 31 days ago
https://shinedoc.kangxiaoguang.comInternal interface and technical documentation for Shinevision (神州视翰). It provides JavaScript APIs for hardware integration including face recognition (window.FaceRecognition), card readers (window.CardReader), printers (window.Printer), and TTS (window.TTS), as well as SDKs for general hardware functions, A64 and px30 firmware configurations, and ADB usage guides.
window.CameraView object. The standard workflow for using the camera is: 1. Open the camera, 2. Perform operations (take photos or record video), and 3. Close the camera./proc/asound/cards file to view information about the device's sound cards.cat /proc/asound/cards/proc/cpuinfo file or by querying the ro.product.cpu.abi system property via ADB.cat /proc/cpuinfo
# OR
adb shell getprop ro.product.cpu.abiDocusaurus blogging features are powered by the @docusaurus/plugin-content-blog plugin. To create blog posts, add Markdown files or folders to the blog directory.
Blog post dates are automatically extracted from filenames using the format YYYY-MM-DD-title.md (e.g., 2019-05-30-welcome.md). Alternatively, you can use a folder structure like 2019-05-30-welcome/index.md, which is useful for co-locating images with the post content. The blog also supports tags and a dedicated authors.yml file for managing regular blog authors.
# Example filename for date extraction
2019-05-30-welcome.md
# Example folder structure for co-locating assets
2019-05-30-welcome/
└── index.md# Delete existing page program
adb shell rm -rf /sdcard/shine/www/web
# Push new package
adb push [local_path_to_web.zip] /sdcard/shine/webapp/web.zip
# Reboot
adb rebootwindow.AreaWebView.createCloseView. When this button is clicked, the system triggers a global callback function named onWebViewCloseViewClick on the page.// 1. Create the close button view
// window.AreaWebView.createCloseView(id, imgPath, x, y, width, height)
window.AreaWebView.createCloseView('uuid-123', '/sdcard/close.png', 0, 0, 50, 50);
// 2. Define the callback function to handle the click
function onWebViewCloseViewClick(content) {
console.log('Close button clicked with content:', content);
}@docusaurus/plugin-content-blog plugin. To create blog posts, add Markdown files or folders to the blog directory. To co-locate images with a specific post, use a folder for that post. Blog post dates are automatically extracted from filenames using the format YYYY-MM-DD-title.md or by placing an index.md inside a folder named YYYY-MM-DD-title.# Example filename for date extraction
2019-05-30-welcome.md
# Example folder structure for co-locating images
blog/2019-05-30-welcome/index.md
blog/2019-05-30-welcome/image.jpg@docusaurus/plugin-content-blog plugin. To create blog posts, add Markdown files or folders to the blog directory. Dates are automatically extracted from filenames using the format YYYY-MM-DD-title.md (e.g., 2019-05-30-welcome.md). For posts with multiple assets, use a folder structure like YYYY-MM-DD-title/index.md to co-locate images with the content.adb pull to export files from the device to the computer, and adb push to import files from the computer to the device.# Export file from device to PC
adb pull /sdcard/log.txt D:\log.txt
# Import file from PC to device
adb push D:\log.txt /sdcard/log.txtrun_shine.sh may not execute on boot. To fix this, install the provided APK and run the following command once:am start -n com.example.myreplace/.activity.MainActivity// Install APK from sdcard
window.Native.installSilent("/sdcard/test.apk");SystemCommonUtils class.// Add private repository address first, then add dependency
dependencies {
implementation 'cn.com.shine.sdk:common:3.7.9'
}// Initialize the SDK, preferably in Application.onCreate()
SystemCommonUtils.init(Application app);