agentsclimarketplace

Androidbooster audio

Skill huhx0015/AndroidBooster/claude/skills/androidbooster-audio

Android Booster: An Android starter project that provides a modular foundation for building production-ready apps. It offers multiple architecture patterns (MVI, MVVM, MVP, VIPER) with shared base classes, so you can choose the approach that fits each feature.

Install
npx -y skills add huhx0015/AndroidBooster --skill androidbooster-audio

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

HX Audio Player for music and sound playback. Use when implementing music playback, sound effects, HXMusic, HXSound, or audio in AndroidBooster. Uses hxaudio-v331.aar in core/audio.

SKILL.md

2.6 KB, as published. Nobody here has run it

AndroidBooster Audio (HX Audio Player)

Use HX Audio Player for music and sound in AndroidBooster. The library is in core/audio (hxaudio-v331.aar). Supports Android 2.3+ with workarounds for MediaPlayer/SoundPool bugs.

Audio files: Place audio files in the res/raw/ folder (e.g. res/raw/my_song.mp3R.raw.my_song).

Music Playback (HXMusic)

Play from resource:

HXMusic.music()
    .load(R.raw.my_song_name)    // [REQUIRED]
    .title("My Awesome Song")    // [OPTIONAL]
    .artist("Mr. Anonymous")    // [OPTIONAL]
    .date("January 1, 1998")    // [OPTIONAL]
    .at(5)                      // Start position (seconds)
    .gapless(true)              // Gapless playback
    .looped(true)               // Loop
    .play(this)                 // [REQUIRED]

Play from path/URL:

HXMusic.music()
    .load("http://example.com/song.mp3")
    .title("My Awesome Song")
    .play(this)

Control:

  • HXMusic.pause() — Pause
  • HXMusic.resume(this) — Resume
  • HXMusic.stop() — Stop all
  • HXMusic.isPlaying() — Boolean
  • HXMusic.getPosition() / HXMusic.setPosition(0) — Position
  • HXMusic.setListener(this) — HXMusicListener
  • HXMusic.getStatus() — Status string
  • HXMusic.enable(true) — Enable/disable
  • HXMusic.logging(true) — Log output
  • HXMusic.clear() — Clear when app is terminating

Lifecycle (Activity/Fragment): When pausing music on background and resuming on foreground:

  • onPause()HXMusic.pause() — Pause when app is backgrounded
  • onResume()HXMusic.resume(this) — Resume when activity/fragment is in foreground
  • App terminating → HXMusic.clear() — Clean up when the app is shutting down

Sound Playback (HXSound)

Play sound:

HXSound.sound()
    .load(R.raw.my_sound_effect)  // [REQUIRED]
    .looped(true)                 // [OPTIONAL]
    .play(this)                   // [REQUIRED]

Control:

  • HXSound.pause() — Pause looping sounds
  • HXSound.resume() — Resume
  • HXSound.load() — Pre-load resources
  • HXSound.engines(2) — Multiple sound engines (API 9–10)
  • HXSound.enable(true) — Enable/disable
  • HXSound.reinitialize(this) — Re-init (API 9–10)
  • HXSound.logging(true) — Log output
  • HXSound.clear() — Clear when no longer needed

Module

Add core:audio dependency. Audio is provided via hxaudio-v331.aar in the audio module.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.