Giter VIP home page Giter VIP logo

blacklist's Introduction

Blacklist Call & SMS Blocker

(The project is not currently maintaining)

Get it on F-Droid

Overview

This is a free application that allows you to configure the blocking of unwanted calls and SMS in convenient way. It does not contain ads, supports light and dark interface themes and is supported by devices with Android 2.3 and up.

Features

  • Managing the Blacklist - to block phone numbers
  • Managing the Whitelist - to exclude phone numbers from blocking
  • Reading the Contacts and SMS lists of your phone - to block phone numbers not included in these lists
  • Blocking of private/anonymous numbers
  • Different ways of comparing blocked numbers (equality, by fragment, etc.)
  • Recording of the event log - the history of blocked calls and SMS (with saving the texts)
  • Manage notifications about block events
  • Support for light and dark themes of the interface
  • Common functions of SMS-application - reading/writing/exchanging SMS-messages

Permissions granting

Because of the security policy in Android 4.4 and up to block the incoming SMS-messages it is required to give to the application the permissions of "Default SMS-application" in the Settings. If necessary, you can always opt-out and return to the previous "Default SMS-application". In this case, the SMS blocking will be disabled. At the moment the application supports blocking and exchanging SMS-messages only. Support for MMS-messages has not yet been implemented.

Because of the security policy in Android 6.0 and up, the application requires permissions:

  1. "Access photos, media and files". Allows reading and writing files in the internal memory of the device - for storing the block lists.
  2. "Send and view SMS-messages". Allows to display and block incoming SMS-messages.
  3. "Make and manage phone calls". Allows to block incoming calls.
  4. "Access contacts". Allows to display the list of contacts.

Functionality details

  1. Messaging. Messages list displays SMS-chats, sorted by the time of the last message in them. From here you can go to the reading, writing and sending SMS-messages.

  2. Blacklist. This is the list of contacts with numbers, calls and SMS from which you're planning to block. Add a contact to the list by clicking the "+" toolbar button and from the resulting menu choose one of the suggested ways to add a contact. If you manually add a blocked contact, you can choose one of the rules for comparing numbers: "equals", "contains", "starts with", or "ends with". To edit, delete, or move a contact to another list, make a long click on its line. If you want to temporarily disable blocking contacts from the Blacklist, you can do this in the Settings.

  3. Whitelist. This is the list of contacts with numbers, calls and SMS from which will never be blocked. This list is useful for additional setting of exceptions from blocking. It has a higher priority than other lists when resolving conflicts between them. Managing the contacts in the Whitelist is similar to the Blacklist.

  4. Event list. This is the list of records with info about the events of calls/SMS blocking. Disabling logging of the events can be done in the Settings.

  5. Settings. In the Settings you can set the blocking of all calls and SMS from numbers that are not in the list of contacts of your phone and (or) not included in the list of phone numbers with which you exchanged SMS. These options can be used in conjunction with the Black and White lists, or separately. You can adjust the level of visual and audio information about the event of blocking. You can set the light or dark theme of the application interface. Here, you can also export and import application data, for example, to transfer them from one device to another.

License:

Copyright (C) 2017 Anton Kaliturin <[email protected]>
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.

Privacy Policy

blacklist's People

Contributors

kaliturin avatar moribellamy avatar poussinou avatar vistaus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blacklist's Issues

Issues of logo/icon

Hello,
Good Day, i make a logo icon for your project.Because there is no logo in your project. If you want to use this icon in your project, then comment below, I will give you the source file. And if you want a change, then tell me I will change.

Feature request: AMOLED Black theme.

Rather than currently available dark (gray) theme, many users including me prefer to have an AMOLED black theme such as background being #000000, is it possible to implement such a feature.

Feature request - Redirect unknown numbers to voicemail

Lately, at least for me, telemarketers have not been reusing numbers so blacklisting individual numbers does not help. Yet, when I dismiss the call, they tend not to leave a voicemail. It would be nice if this could be automated.

Could incoming calls numbers that are not whitelisted or listed in Contacts be redirected to voicemail. An option to disable ringing/vibration notifications when this occurs would also be helpful to prevent these types of distractions.

Application crashed while scrolling Messaging list

AndroidRuntime: FATAL EXCEPTION: main
Process: com.kaliturin.blacklist, PID: 22065
java.lang.IllegalArgumentException: URI: content://com.android.contacts/phone_lookup/, calling user: com.kaliturin.blacklist, calling package:com.kaliturin.blacklist
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:167)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:137)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:421)
at android.content.ContentResolver.query(ContentResolver.java:489)
at android.content.ContentResolver.query(ContentResolver.java:433)
at com.kaliturin.blacklist.utils.ContactsAccessHelper.getContactCursor(ContactsAccessHelper.java:186)
at com.kaliturin.blacklist.utils.ContactsAccessHelper.getContact(ContactsAccessHelper.java:198)
at com.kaliturin.blacklist.utils.ContactsAccessHelper.access$1000(ContactsAccessHelper.java:49)
at com.kaliturin.blacklist.utils.ContactsAccessHelper$SMSMessageCursorWrapper.getSMSMessage(ContactsAccessHelper.java:898)
at com.kaliturin.blacklist.utils.ContactsAccessHelper.getSMSConversationByThreadId(ContactsAccessHelper.java:652)
at com.kaliturin.blacklist.utils.ContactsAccessHelper.access$500(ContactsAccessHelper.java:49)
at com.kaliturin.blacklist.utils.ContactsAccessHelper$SMSConversationWrapper.getConversation(ContactsAccessHelper.java:614)
at com.kaliturin.blacklist.adapters.SMSConversationsListCursorAdapter.bindView(SMSConversationsListCursorAdapter.java:90)
at android.support.v4.widget.CursorAdapter.getView(CursorAdapter.java:273)
at android.widget.AbsListView.obtainView(AbsListView.java:2836)
at android.widget.ListView.makeAndAddView(ListView.java:1903)
at android.widget.ListView.fillDown(ListView.java:713)
at android.widget.ListView.fillGap(ListView.java:677)
at android.widget.AbsListView.trackMotionScroll(AbsListView.java:7106)
at android.widget.AbsListView$FlingRunnable.run(AbsListView.java:6548)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:777)
at android.view.Choreographer.doCallbacks(Choreographer.java:590)
at android.view.Choreographer.doFrame(Choreographer.java:559)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:763)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6837)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)

java.lang.NoSuchMethodError: No interface method endCall()Z in class Lcom/android/internal/telephony/ITelephony; or its super classes

FATAL EXCEPTION: main
Process: com.kaliturin.blacklist, PID: 16954
java.lang.NoSuchMethodError: No interface method endCall()Z in class Lcom/android/internal/telephony/ITelephony; or its super classes (declaration of 'com.android.internal.telephony.ITelephony' appears in /system/framework/framework.jar!classes4.dex)
at com.kaliturin.blacklist.receivers.CallBroadcastReceiver.breakCall(CallBroadcastReceiver.java:157)
at com.kaliturin.blacklist.receivers.CallBroadcastReceiver.breakCallAndNotify(CallBroadcastReceiver.java:183)
at com.kaliturin.blacklist.receivers.CallBroadcastReceiver.onReceive(CallBroadcastReceiver.java:69)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:4308)
at android.app.ActivityThread.access$1600(ActivityThread.java:247)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2064)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

set an end time for blocked calls

COMPONENT

Blacklist blocker is an open source free application that gives its users a convenient way to configure the blocking of unwanted calls and SMS. The application has a blacklist page where the list of contacts to be blocked is added. The whitelist store contacts that users do not intend to block. In the event log, the user can view info about the event of calls and SMS blocking. Calls and SMS from contacts that are not in the list of contacts of users phone can be blocked in the settings as well.
PROPOSAL
I love this app and i will be glad if this feature is implemented. My proposals are listed below

Set an end time for blocked calls: This is when the app has the ability to regulate the time a call can be automatically unblocked. For example, a call from one or more number can be blocked within a stipulated time. From the blacklist page, each number added will have access to this feature. After calls from all the contacts on the blacklist has been blocked from the settings, a long click on any number that the user wishes to temporarily block will pop up a small page where the unblock time can be set. Eg (unblock in 3 hours, 1 hour, 2 hours and so on). When the time elapses, there will be a notification to notify the user of the timeout.

Mocks up/Example
11

22

33

BENEFITS
Sometimes, we might not have the intention of blocking some calls, but due to some reasons at times, we might want to ignore such calls. This feature will be suitable for this scenario.
Also, some people are fond of calling repeatedly. Even if you refuse to answer, their calls persist till they run down your battery. This kind of calls can be tied in that category anytime that occurs.
The feature will help in term of forgetfulness in removing some numbers from blacklist at the right time. Any call that user does not want to receive till further notice will remain in the mass blacklist while the ones to be blocked for a short period will be in the timing group. This feature will make this app special as no other similar apps has ever incorporate this idea.

Thanks.

MotoG4 with Lineage OS 14.1

Calls are not being blocked. It shows the number blacklisted but it does not stop the call from ringing in. Not sure what else I can give you to help understand what the problem could be.

Feature: whitelist all contacts

This is similar to the "blacklist all not in contacts" feature, but with a twist.

My phone's area code is not the area code where I live. This is convenient, because phone spammers are using my area code (or areaCode+rand(0..3)) as the caller ID, I have blacklisted all numbers starting with my phone's area code, but I want to allow most calls from strangers. (I'm a musician and you don't want to turn away work!) However, I several friends in my phone's area code, and want to make sure they are whitelisted.

I wish I could add a whitelist option that is just "all contacts", but leave the blacklisting side completely manual. I realize that, as a workaround, I can simply add all contacts (or manually search out friend's numbers).

So this is a wishlist feature. BLB is beautifully simple to set up and use, and I'm afraid to suggest anything that would complicate it.

Whitlisted phone numbers are bloking in foreign country

First of all thank you for this perfect open source application which block about ten unwanted phone call per day for me.

However, I recently traveled in a foreign country and my whitlisted phone numbers was blocked because my phone added the country prefix and Blacklist Blocker was not be able to recognize the number to authorize it.

Is it possible to make more flexible rules with international prefix number ?
Many thanks.

Feature: support many address books

Problem:
Google Contacts App allows to add many address books from many accounts. By using OpenSync + Nextcloud we can sync many of them from one server. I've even created "blacklist" address book, which is shared among all users of instance, and publicly using URL.
Solution:
Allow user to filter contacts by address book. And allow to block whole address book.

dual sim issue

what if the sim is dual sim how can i differentiate from which sim to add for blacklist

Force Caller to Annouce Name

Is there anyway to makev this app force caller to annouce name or send text with name before accepting call or adding to white list..

Force close

The application forces closed when you set to default and click Messaging in navigation?

No updates in over a year?

Was just wondering why F-Droid hasn't recieved an update in over a year? I see commits on here, I just wanted to ensure this wasn't a dead project.. possibly leaving the concerns for possible security vulnerabilities

Receiving The Same Messages Repeatedly

It has been happening often lately that I will get a message, and read it, then I will get the same message again and again.

The time delay between repeat messages is totally random, from minutes to hours apart.

Sometimes I get the same message over 50 times.

It occurs with both singular and multiple part messages.

Often, with multi-part messages, only one part will be received over and over again.

There is no way to make it stop unless I restart the device.

Permission in marshmallow

your app indeed is great have pulled for my college project request
i guess there is bug of permission with marshmallow api 23 every time i open app it asks for permission again

SMS List Empty row

In the messaging fragment the list view show empty gaps or multiple empty row in the list view and that is randomly showing on the all the devices i have tested and some its shows one or more empty rows

Screenshot_2019-06-05-12-06-41-846_com kaliturin blacklist

Blacklisted call is still ringing for some seconds

I was noticing that while I receive a call from a blacklisted number, the phone still rings/vibrates for some seconds (maybe 1 or 2 seconds), before getting rejected.

Isn't it possible to directly and silently reject the call, without ringing/vibrating for some seconds?

Call not being rejected in Oreo

I have just installed this on my mum's older phone and it is working very well.

After getting impressed I installed it too but it failed my simple test, I added an contact and the app didn't reject the call, it did show the notification about the call being blocked.

I am using Android Oreo and I have given it all of the requested permission on the first launch.

[Feature Request] On/Off toggle on main menu or top of default page

It would be great to have an easy on/off toggle to quickly disable and reenable the blocker.

If I default to only accept calls from my address book, I occasionally need to receive a call from elsewhere but don't want to change my rules for the few minutes I'm waiting.

Thanks.

Edit: An example is if I call a business and someone might return my call from a different number. I can't whitelist a number if I don't know which line they will call from. So, unless there is an on/off, I would end up changing my rules to allow the call.

logo design contribution

Hi
I want to make a logo for this projects if you have any requirements then let me know.its totally free for open source projects.

Consider submitting to f-droid?

Great project! Have you considered submitting it to f-droid? If not, would you be OK with me submitting it on your behalf?

Lenny ChatBot option

It would be really nice if there was an option to forward the first two Blacklisted and/or unknown callers each day to Lenny the ChatBot.

Transfer, conference, or forward your telemarketing calls to 1-347-514-7296 or sip:[email protected]. If you conference Lenny in, be sure to mute your phone. The rules: Lenny is for incoming, telemarketing calls only - not for annoying people, even if they deserve it.

All numbers appear as 'private number' and are blocked regardless of settings

Android 9
Selected settings are

  • block not in contacts
  • block private numbers
  • whitelist numbers: I copied my entire contact list to the whitelist and it didn't fix the issue.

No matter who calls you, the app alerts you it blocked a private number.

My phone has a built-in blocking app from my service provider (not aggressive enough), could it be interfering with this app and causing it to log only private numbers? If so I didn't see that behavior documented anywhere.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.