Repository navigation
v0.1.0
Demo App v0.1.0
This is the first release of the demo and test application for the HyperIsland Kit library.
You can install the attached demo-release.apk file on a supported Xiaomi device (with HyperIsland capabilities) to see all the implemented notification templates in action.
How to Test
- Download and install the
demo-release.apkfile on your supported device. - Launch the "HyperIsland Demo" app.
- Grant the Notification Permission when prompted. The app will not function without it.
- The first screen will show you if your device supports HyperIsland.
- Navigate to the Demos tab at the bottom.
- Tap on any card in the list to trigger the corresponding HyperIsland notification.
- Go to the Launcher Home Screen to see the Hyper Island working. When you have the app open, the system will hide the island corresponding to that app.
Features & Demo Functions
This demo app includes test cases for the following notification types:
- App Open Demo: A basic notification that demonstrates the "drag-to-open" functionality (
setSmallWindowTarget) and the standard "tap-to-open" (setContentIntent). - Chat Notification: Shows a
chatInfostyle expanded panel with an attached action button. - Countdown Notification: Demonstrates a 15-minute countdown timer that is visible in the expanded
chatInfopanel and thebigIslandArea. - Linear Progress Bar: Shows an expanded
chatInfopanel with a linear progress bar (setProgressBar) displayed at the bottom. - Circular Progress Demo: Shows a circular progress bar. This demo correctly implements both the summary and expanded views:
- Summary View: An icon with a circular progress ring (
setSmallIslandCircularProgress). - Expanded View: Text on the left ("Downloading") and the circular progress ring on the right (
setBigIslandProgressCircle).
- Summary View: An icon with a circular progress ring (
- Count-Up Timer: Shows a timer counting up from 00:00 in both the expanded
chatInfopanel and thebigIslandArea. - Simple Small Island: A notification that uses
baseInfo(instead ofchatInfo) for its expanded panel and a simple icon-only summary island (setSmallIslandIcon).