Standalone Android helper for Rokid Glasses settings surfaces, plus a reusable launcher utility you can copy into another app.
- opens the compact Wi-Fi panel that is available on current Rokid Glasses firmware
- falls back cleanly to full Wi-Fi settings and general network settings
- exposes a tiny
RokidSettingsLauncherAPI for use from other apps - includes a minimal on-device helper app for manual launch and regression checks
The Wi-Fi panel path is verified on the tested glasses build:
- action:
android.settings.panel.action.WIFI - package:
com.android.settings - component fallback:
com.android.settings.panel.SettingsPanelActivity
Observed UX on the tested build:
- the panel is less disruptive than opening full Settings
- pressing back returns to the caller
- double-back from the panel returns to the helper app
That makes it a good recovery surface when your app detects a connectivity error and wants to hand the user directly to Wi-Fi controls.
Main entrypoint:
RokidSettingsLauncher.openWifiPanel(context)
Other helpers:
openWifiSettings(context)openNetworkSettings(context)openDeviceInfo(context)openDeveloperSettings(context)openSettingsHome(context)
Source:
app/src/main/java/io/github/bzerk/rokidsettingshelper/RokidSettingsLauncher.kt
import io.github.bzerk.rokidsettingshelper.RokidSettingsLauncher
val launched = RokidSettingsLauncher.openWifiPanel(this)
if (!launched) {
RokidSettingsLauncher.openWifiSettings(this)
}If you want to route through the helper app explicitly instead of calling the panel directly:
import io.github.bzerk.rokidsettingshelper.RokidSettingsLauncher
startActivity(
RokidSettingsLauncher.createHelperIntent(
this,
RokidSettingsLauncher.ACTION_WIFI_PANEL
)
)- open Wi-Fi panel
- open Wi-Fi settings
- open network settings
- open device info
- open developer settings
- open settings home
You can also cold-start the helper into a specific action:
adb shell am start -W \
-n io.github.bzerk.rokidsettingshelper/.MainActivity \
--es io.github.bzerk.rokidsettingshelper.extra.ACTION_ID wifi_panel./gradlew :app:assembleDebugadb install -r app/build/outputs/apk/debug/app-debug.apk
adb shell am start -n io.github.bzerk.rokidsettingshelper/.MainActivity- This is intentionally small and practical.
- The Wi-Fi panel path is a firmware behavior, not a guaranteed Android API contract across all vendors.
- Keep a fallback to full Wi-Fi settings in case the panel path changes.