Skip to content

Bloqueur d'appels spam français 🇫🇷 / French spam call blocker - Blocks telemarketing & M2M numbers

Notifications You must be signed in to change notification settings

ma2t/SpamCallBlocker

Repository files navigation

Bloqueur d'appels spam / Spam Call Blocker

Français | English

Français

Une application Android qui bloque automatiquement les appels spam provenant de numéros de démarchage téléphonique français et de numéros M2M (Machine-to-Machine).

Fonctionnalités

  • 🚫 Blocage automatique des appels : Bloque les appels entrants des préfixes spam connus
  • 🇫🇷 Numéros spam français : Cible spécifiquement les préfixes de démarchage téléphonique français
  • 🤖 Blocage M2M : Bloque tous les numéros Machine-to-Machine (+337000* à +337009*)
  • 🌍 Internationalisation : Disponible en français et en anglais
  • 📱 Interface simple : Activation en un clic
  • 🔒 Respect de la vie privée : Aucune collecte de données, fonctionne entièrement hors ligne

Numéros bloqués

L'application bloque les appels des préfixes français suivants :

  • +33162*, +33163*
  • +331703944*
  • +33270*, +33271*
  • +33377*, +33378*
  • +33423*, +33424*, +33425*
  • +33568*, +33569*
  • +33948*, +33949*
  • +337000* à +337009* (numéros M2M)

Prérequis

  • Android 7.0 (API 24) ou supérieur
  • Android 10 (API 29) ou supérieur pour le filtrage automatique des appels

Installation

Depuis l'APK

  1. Téléchargez le dernier APK depuis la page Releases
  2. Activez "Sources inconnues" dans les paramètres Android
  3. Installez l'APK
  4. Ouvrez l'application et accordez la permission de filtrage d'appels

Compilation depuis les sources

  1. Clonez ce dépôt :

    git clone https://github.com/ma2t/SpamCallBlocker.git
    cd SpamCallBlocker
  2. Créez le fichier keystore.properties à la racine :

    storePassword=votre_mot_de_passe
    keyPassword=votre_mot_de_passe_cle
    keyAlias=votre_alias
    storeFile=release-key.keystore
  3. Compilez l'APK :

    ./gradlew assembleRelease
  4. L'APK sera disponible dans app/build/outputs/apk/release/app-release.apk

Comment ça marche

L'application utilise l'API CallScreeningService d'Android pour intercepter les appels entrants :

  1. Le numéro de téléphone est normalisé et vérifié contre les motifs spam
  2. S'il correspond à un motif spam, l'appel est automatiquement rejeté
  3. L'appel rejeté apparaît dans le journal d'appels mais ne fait pas sonner le téléphone

Vie privée

Cette application :

  • Ne collecte aucune donnée personnelle
  • Ne nécessite pas d'accès Internet
  • Traite tous les appels localement sur votre appareil
  • Ne partage aucune information avec des tiers

English

An Android application that automatically blocks spam calls from French telemarketing numbers and M2M (Machine-to-Machine) phone numbers.

Features

  • 🚫 Automatic Call Blocking: Blocks incoming calls from known spam prefixes
  • 🇫🇷 French Spam Numbers: Specifically targets French telemarketing prefixes
  • 🤖 M2M Blocking: Blocks all Machine-to-Machine numbers (+337000* to +337009*)
  • 🌍 Internationalization: Available in English and French
  • 📱 Simple Interface: One-tap activation
  • 🔒 Privacy Focused: No data collection, works entirely offline

Blocked Number Patterns

The app blocks calls from the following French number prefixes:

  • +33162*, +33163*
  • +331703944*
  • +33270*, +33271*
  • +33377*, +33378*
  • +33423*, +33424*, +33425*
  • +33568*, +33569*
  • +33948*, +33949*
  • +337000* to +337009* (M2M numbers)

Requirements

  • Android 7.0 (API 24) or higher
  • Android 10 (API 29) or higher for automatic call screening

Installation

From Release APK

  1. Download the latest APK from the Releases page
  2. Enable "Install from Unknown Sources" in your Android settings
  3. Install the APK
  4. Open the app and grant call screening permission

Building from Source

  1. Clone this repository:

    git clone https://github.com/ma2t/SpamCallBlocker.git
    cd SpamCallBlocker
  2. Create keystore.properties file in the root directory:

    storePassword=your_store_password
    keyPassword=your_key_password
    keyAlias=your_key_alias
    storeFile=release-key.keystore
  3. Build the APK:

    ./gradlew assembleRelease
  4. The APK will be available at app/build/outputs/apk/release/app-release.apk

How It Works

The app uses Android's CallScreeningService API to intercept incoming calls:

  1. The phone number is normalized and checked against spam patterns
  2. If it matches a spam pattern, the call is automatically rejected
  3. The rejected call appears in the call log but doesn't ring the phone

Privacy

This app:

  • Does not collect any personal data
  • Does not require internet access
  • Processes all calls locally on your device
  • Does not share any information with third parties

Développement / Development

Structure du projet / Project Structure

SpamCallBlocker/
├── app/
│   ├── src/
│   │   └── main/
│   │       ├── java/com/antispam/callblocker/
│   │       │   ├── MainActivity.java
│   │       │   ├── SpamCallScreeningService.java
│   │       │   └── SpamNumberMatcher.java
│   │       └── res/
│   │           ├── layout/
│   │           ├── values/
│   │           └── values-fr/
│   └── build.gradle
├── build.gradle
└── settings.gradle

Contribuer / Contributing

Les contributions sont les bienvenues ! N'hésitez pas à soumettre une Pull Request.

Contributions are welcome! Please feel free to submit a Pull Request.

Ajouter de nouveaux motifs spam / Adding New Spam Patterns

Pour ajouter de nouveaux motifs de numéros spam, éditez SpamNumberMatcher.java :

To add new spam number patterns, edit SpamNumberMatcher.java:

private static final List<String> SPAM_PREFIXES = Arrays.asList(
    // Ajoutez vos motifs ici / Add your patterns here
    "+33123"
);

Licence / License

Ce projet est open source. N'hésitez pas à l'utiliser, le modifier et le distribuer selon vos besoins.

This project is open source. Feel free to use, modify, and distribute as needed.

Support

Si vous rencontrez des problèmes ou avez des suggestions, veuillez ouvrir une issue sur GitHub.

If you encounter any issues or have suggestions, please open an issue on GitHub.

Avertissement / Disclaimer

Cette application est fournie telle quelle. Bien qu'elle vise à bloquer les appels spam, elle peut occasionnellement bloquer des appels légitimes ou manquer certains appels spam. À utiliser à votre propre discrétion.

This app is provided as-is. While it aims to block spam calls, it may occasionally block legitimate calls or miss some spam calls. Use at your own discretion.

About

Bloqueur d'appels spam français 🇫🇷 / French spam call blocker - Blocks telemarketing & M2M numbers

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages