An open API service indexing awesome lists of open source software.

https://github.com/vinberg88/blanketforandroid

Blanket for Android 2026 - Listen to sounds and enjoy - relax - 2026
https://github.com/vinberg88/blanketforandroid

android android-studio apk artificial-intelligence blanket debian google linux microsoft plat sound ubuntu windows

Last synced: 3 months ago
JSON representation

Blanket for Android 2026 - Listen to sounds and enjoy - relax - 2026

Awesome Lists containing this project

README

          

# Blanket for ANDROID - Listen to different sounds and Relax.

com rafaelmardojai Blanket

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)

Thanks to Mattias Vinberg for build for Android - https://github.com/vinberg88 - Thanks to Rafael Mardojai CM for the original Blanket application - 2026 - https://github.com/rafaelmardojai

**Listen to different sounds**

## Description - Blanket
Improve focus and increase your productivity by listening to different sounds. Blanket can also be used to help you to fall asleep in a noisy environment.

image

## Description
I use ubuntu 24.04 to build blanket APK file - 2026

-------------------

HOW TO BUILD BLANKET FOR ANDROID - 2026 - Ubuntu 24.04

-------------------

First Thing update all.

sudo apt update

sudo apt upgrade

-------------------

Install some programs for Android and Ubuntu.

sudo apt install kotlin gradle bash git wget curl npm jet* cmake* openjdk-17-jdk unzip libc6* zlib1g*

-------------------

install OpenJDK - JAVA for ANDROID - extra install.

sudo add-apt-repository ppa:openjdk-r/ppa

sudo apt-get update

sudo apt-get install openjdk-8-jdk

-------------------

Install Android SDK (CLI) for WSL - Ubuntu 24.04

mkdir -p ~/Android/Sdk
cd ~/Android/Sdk

wget https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip
unzip commandlinetools-linux-*.zip

mkdir -p cmdline-tools/latest
mv cmdline-tools/* cmdline-tools/latest/

-------------------

Add this to bashrc file...

sudo nano ~/.bashrc

export ANDROID_HOME=$HOME/Android/Sdk

export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin

export PATH=$PATH:$ANDROID_HOME/platform-tools

Last Activate the changes....

source ~/.bashrc

-------------------

Time to build Android files for Ubuntu 24.04 and Blanket.

Copy and paste....

sdkmanager --licenses

Press y - All SDK package licenses accepted...

Next install all....

sudo sdkmanager --install "platform-tools"

sudo sdkmanager --install "build-tools;37.0.0-rc2"

sudo sdkmanager --install "cmake;4.1.2"

sudo sdkmanager --install "cmdline-tools;latest"

sudo sdkmanager --install "ndk;29.0.14206865"

sudo sdkmanager --install "platforms;android-36.1"

sudo sdkmanager --install "sources;android-36.1"

sudo sdkmanager --install "android-desktop;x86_64"

sudo sdkmanager --install "system-images;android-35;google_apis;x86_64"

sudo sdkmanager --install "build-tools;37.0.0-rc2"

sudo sdkmanager --install "platforms;android-34"

sudo sdkmanager --install "build-tools;34.0.0"

sudo sdkmanager --install "platforms;android-34"

-------------------

CD out from DIR - files.... cd

-----------------

Clone Repo from GitHub - Blanket

git clone https://github.com/vinberg88/blanketforandroid.git blanket

-----------------

Build so Ubuntu can find Sdk...

cd /home/adolf/blanket

sudo nano local.properties

sdk.dir=/home/adolf/Android/Sdk

-----------------

LAST COPY AND PASTE ALL IN TERMINAL FOR UBUNTU 24.04

set -e
cd /home/adolf/blanket

export ANDROID_SDK_ROOT=/home/adolf/Android/Sdk
export ANDROID_HOME=/home/adolf/Android/Sdk
mkdir -p "$ANDROID_SDK_ROOT"

SDKMANAGER="$(find "$ANDROID_SDK_ROOT" -type f -name sdkmanager | head -n 1 || true)"
echo "SDKMANAGER=$SDKMANAGER"

if [ -z "$SDKMANAGER" ]; then
echo "Ingen sdkmanager hittades i $ANDROID_SDK_ROOT"
echo "Installera 'Android SDK Command-line Tools (latest)' i Android Studio -> SDK Manager -> SDK Tools"
exit 1
fi

yes | "$SDKMANAGER" --licenses
"$SDKMANAGER" --install "platform-tools" "platforms;android-34" "build-tools;34.0.0"

ls -la "$ANDROID_SDK_ROOT/platforms/android-34"
ls -la "$ANDROID_SDK_ROOT/build-tools/34.0.0"

GRADLE_USER_HOME=/home/adolf/blanket/.gradle ./gradlew --stop || true
GRADLE_USER_HOME=/home/adolf/blanket/.gradle ./gradlew clean :app:buildBlanketInternalApk --stacktrace

-----------------

REBOOT UBUNTU - REBOOT UBUNTU - REBOOT UBUNTU - REBOOT UBUNTU

-----------------

Time to build app - Build (command line) so we have an APP. Choose which one suits you...

Copy and Paste: cd /home/adolf/blanket

Debug APK:
Build: sudo ./gradlew :app:buildBlanketApk
Output: dist/blanket.apk

Installable APK for testing (debug-signed):
Build: sudo ./gradlew :app:buildBlanketInternalApk
Output: dist/blanket.apk

Release APK:
Build: sudo ./gradlew :app:buildBlanketReleaseApk
Output: dist/blanket.apk
Note: release signing is not configured by default; for production you should add a real keystore.

------------------------------------------

Blanket

Android - What it looks like =)

------------------------------------------

## Build from source (Android) A few more facts

This repository is an **Android Studio-ready Gradle project** (Kotlin + Jetpack Compose).

### Requirements
- Android Studio (recommended) or a working Android SDK + JDK setup
- Android SDK available via `local.properties` (`sdk.dir=...`) or `ANDROID_SDK_ROOT`

### Build (command line)

- Debug APK:
- Build: `./gradlew :app:buildBlanketApk`
- Output: `dist/blanket.apk`

- Installable APK for testing (debug-signed):
- Build: `./gradlew :app:buildBlanketInternalApk`
- Output: `dist/blanket.apk`

- Release APK:
- Build: `./gradlew :app:buildBlanketReleaseApk`
- Output: `dist/blanket.apk`
- Note: release signing is not configured by default; for production you should add a real keystore.

### Useful tasks
- Show signing configs: `./gradlew :app:signingReport`
- Compatibility signing validation: `./gradlew :app:validateReleaseSigning`

## Documentation

Comprehensive documentation is available in the [`docs/`](docs/) directory:

- **[Build Notes](docs/BUILD_NOTES.md)** - Detailed build instructions, project structure, and features
- **[Azure CI/CD](docs/AZURE_CICD.md)** - Azure Pipelines configuration for building APK files
- **[Implementation Guide](docs/IMPLEMENTATION.md)** - Technical architecture and design decisions
- **[Testing Guide](docs/TESTING_GUIDE.md)** - Step-by-step testing instructions
- **[UI Design](docs/UI_DESIGN.md)** - Visual design reference and theming
- **[Summary](docs/SUMMARY.md)** - Implementation summary and overview

For developers contributing to the project, also see:
- **[PR Overview](docs/development/PR_OVERVIEW.md)** - Pull request guidelines and structure

## Install

Download on Flathub

### Third Party Packages

| Distribution | Package | Maintainer |
|:-:|:-:|:-:|
| Alpine Linux (edge) | [`blanket`](https://pkgs.alpinelinux.org/packages?name=blanket) | mio |
| Arch Linux (extra) | [`blanket`](https://archlinux.org/packages/extra/any/blanket/) | [Balló György](https://github.com/City-busz) |
| Fedora (Copr) | Copr: [`tuxino/Blob`](https://copr.fedorainfracloud.org/coprs/tuxino/Blob/), package: `blanket` | Tuxino |
| NixOS | [`blanket`](https://search.nixos.org/packages?channel=unstable&show=blanket&from=0&size=50&sort=relevance&type=packages&query=blanket) | onny |
| openSUSE | [`blanket`](https://build.opensuse.org/package/show/multimedia%3Aapps/blanket) | [Michael Vetter](https://github.com/jubalh) |
| Ubuntu (PPA) | [`Stable Releases`](https://launchpad.net/~apandada1/+archive/ubuntu/blanket), [`Daily Builds`](https://launchpad.net/~apandada1/+archive/ubuntu/blanket-daily) | [Archisman Panigrahi](https://github.com/apandada1) |
| MX Linux | [`blanket`](http://mxrepo.com/mx/repo/pool/main/b/blanket/) | [SwampRabbit](https://github.com/SwampRabbit) |

### Build from source for linux

IF you use LINUX look here.

You can clone and run from GNOME Builder.

#### Requirements

- Python 3 `python`
- PyGObject `python-gobject`
- GTK4 `gtk4`
- libadwaita (>= 1.5.0) `libadwaita`
- GStreamer 1.0 `gstreamer`
- Meson `meson`
- Ninja `ninja`

Alternatively, use the following commands to build it with meson.
```bash
meson builddir --prefix=/usr/local
sudo ninja -C builddir install
```

## Translations
Blanket is translated into several languages. If your language is missing or incomplete, please help to [translate Blanket in Weblate](https://hosted.weblate.org/engage/blanket/).


Translation status

## Credits
Developed for Linux **[Rafael Mardojai CM](https://github.com/rafaelmardojai)** and [contributors](https://github.com/rafaelmardojai/blanket/graphs/contributors).

Thanks to Jorge Toledo for the name idea.

Thanks to Mattias Vinberg for blanket for Android

For detailed information about sounds licensing, [check this file](https://github.com/rafaelmardojai/blanket/blob/master/SOUNDS_LICENSING.md).

## Related Projects
- [Blankie](https://github.com/codybrom/blankie) - Native macOS app inspired by Blanket
- [feeltheblow](https://feeltheblow.web.app/) - Web App inspired by Blanket
- [Soothing Noise Player](https://f-droid.org/en/packages/ie.delilahsthings.soothingloop/), [Napify](https://play.google.com/store/apps/details?id=com.pronaycoding.blanket_mobile) - Android apps inspired by Blanket
- [Blanket Web](https://apps.roanapur.de/blanket/) - Web clone of Blanket

## License

This project is licensed under the MIT License — see the [LICENSE](./LICENSE) file for details.

# Sounds Licensing

| Sound | Author | Editor* | License
| :-: | :-: | :-: | :-:
| [Birds](https://freesound.org/people/kvgarlic/sounds/156826/) | kvgarlic | Porrumentzio | CC0
| [Boat](https://freesound.org/people/Falcet/sounds/439365/) | Falcet | Porrumentzio | CC0
| [City](https://freesound.org/people/gezortenplotz/sounds/44796/) | gezortenplotz | Porrumentzio | CC BY
| [Coffee Shop](https://soundbible.com/1664-Restaurant-Ambiance.html) | stephan | - | Public Domain
| [Fireplace](https://soundbible.com/1543-Fireplace.html) | ezwa | - | Public Domain
| [Pink noise](https://es.wikipedia.org/wiki/Archivo:Pink_noise.ogg) | Omegatron | - | CC BY-SA
| [Rain](https://freesound.org/people/alex36917/sounds/524605/) | alex36917 | Porrumentzio | CC BY
| [Summer night](https://soundbible.com/2083-Crickets-Chirping-At-Night.html) | Lisa Redfern | - | Public Domain |
| [Storm](https://freesound.org/people/digifishmusic/sounds/41739/) | Digifish music | Porrumentzio | CC BY
| [Stream](https://freesound.org/people/gluckose/sounds/333987/) | gluckose | - | CC0
| [Train](https://freesound.org/people/SDLx/sounds/259988/) | SDLx | - | CC BY 3.0
| [Waves](https://freesound.org/people/Luftrum/sounds/48412/) | Luftrum | Porrumentzio | CC BY
| [White noise](https://commons.wikimedia.org/w/index.php?title=File%3AWhite-noise-sound-20sec-mono-44100Hz.ogg) | Jorge Stolfi | - | CC BY-SA |
| [Wind](https://freesound.org/people/felix.blume/sounds/217506/) | felix.blume | Porrumentzio | CC0

(*) Editing implies making the sound meet [this guidelines](https://github.com/rafaelmardojai/blanket/blob/master/CONTRIBUTING.md#sounds).

## Related Projects
- [Blankie](https://github.com/codybrom/blankie) - Native macOS app inspired by Blanket
- [feeltheblow](https://feeltheblow.web.app/) - Web App inspired by Blanket
- [Soothing Noise Player](https://f-droid.org/en/packages/ie.delilahsthings.soothingloop/), [Napify](https://play.google.com/store/apps/details?id=com.pronaycoding.blanket_mobile) - Android apps inspired by Blanket
- [Blanket Web](https://apps.roanapur.de/blanket/) - Web clone of Blanket

Thank you! ❤️ for watching - Regards Mattias Vinberg - Ubuntu - Android - Blanket - Stockholm - Sweden - 2025