This check takes one build command and one pass through M3UAndroid settings. Success means that Hello Extension appears and its settings page contains Greeting plus the localized Phone name or 手机名称 field.
From the repository root:
./gradlew :samples:hello-extension:installDebug- In M3UAndroid, open Settings → Optional features and enable External extensions.
- Open Settings → Playlist management.
- Swipe to Extension plugins.
- Select Hello Extension, choose Enable, and confirm the requested capability.
- Open Settings on the Hello card.
The Hello settings page should contain:
- Greeting with
Hello from my extension; - Phone name with
My phonein English, or 手机名称 with我的手机in Chinese.
This proves both paths: Greeting comes from the manifest, while the localized device field comes
from a Hook call.
In the sample's
values/strings.xml, change
Phone name to Handset name. Make the matching Chinese change in
values-zh-rCN/strings.xml.
Run ./gradlew :samples:hello-extension:installDebug again, refresh the extension list, and reopen
Hello settings. The field should use the changed name for the current app language.