Skip to content

v0.1.0

Choose a tag to compare

@D4vidDf D4vidDf released this 11 Nov 02:37
· 43 commits to main since this release

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

  1. Download and install the demo-release.apk file on your supported device.
  2. Launch the "HyperIsland Demo" app.
  3. Grant the Notification Permission when prompted. The app will not function without it.
  4. The first screen will show you if your device supports HyperIsland.
  5. Navigate to the Demos tab at the bottom.
  6. Tap on any card in the list to trigger the corresponding HyperIsland notification.
  7. 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 chatInfo style expanded panel with an attached action button.
  • Countdown Notification: Demonstrates a 15-minute countdown timer that is visible in the expanded chatInfo panel and the bigIslandArea.
  • Linear Progress Bar: Shows an expanded chatInfo panel 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).
  • Count-Up Timer: Shows a timer counting up from 00:00 in both the expanded chatInfo panel and the bigIslandArea.
  • Simple Small Island: A notification that uses baseInfo (instead of chatInfo) for its expanded panel and a simple icon-only summary island (setSmallIslandIcon).