Coder Social home page Coder Social logo

Comments (8)

kaputnikGo avatar kaputnikGo commented on September 2, 2024

thanks for the feedback :), its very helpful to make this app work across as many devices as possible.
what device and os version (rom?) are you using? also what app manager are you using?

Notifications are in the process of being re-written as android changes things a bit in API 28 and the whole behaviour is not working as intended. For example, the intention was that notifications stay to inform the user that a process is running in the background, but this is pointless when the os allows the user to permanently dismiss notifications.

from pilfershushjammer.

puppykickr avatar puppykickr commented on September 2, 2024

I am using a ZTE 558 VL, Android 7.1.1

I am using the app manager that is stock on the device, accesible via the right button on the navigation bar.

Also, as for the notifications being able to be dismissed manually, this should not be an issue so long as the app stays alive.

I have a couple other apps that use the notification as a simple way to ensure that the system does not turn the app off for any given reason.

One such app pointed out that if the notification was not desired, but the function of keeping the app running was desired, the individual notification for that app could be turned off and the 'keep alive' function will still be in force.

It seems to work great, as I am one that enjoys a minimal notification screen.

The status bar is one thing, but the banner notifications are all together different.

from pilfershushjammer.

kaputnikGo avatar kaputnikGo commented on September 2, 2024

Unfortunately your use case is the opposite of the designed behaviour of this app. Notifications are vital as this app blocks the microphone from being used. The user must remain aware that microphone blocking is occurring and the main method Android has provided is through a posted notification with a minimal icon on the status bar and some information/link on the extended drawer.
I am looking at moving the passive jammer to a service but this can still suffer from both user action and OS abilities that dismiss notifications. It is debatable as to which way is appropriate (user desire vs app design) but i will try to err on the side of informed caution - this means that the notifications must remain, as blocking the microphone is an aggressive action.
n.b. API 28 (Pie) may make this sort of passive jammer irrelevant as the permissions for microphone use have changed, but it depends on if and how tracker devs may work around it.

from pilfershushjammer.

puppykickr avatar puppykickr commented on September 2, 2024

I meant that some apps allow the selection of notifications on or off.

If selected 'on', the notification system acts as a way for the app to remain active, so that the system will not turn the app off.

In this case, the notification for the app can be turned off in the individual app settings on the device.

This gets rid of the banner notifications, while leaving the status bar notifications, and also allows the app to continuously run.

One such app is WaveUp.

from pilfershushjammer.

puppykickr avatar puppykickr commented on September 2, 2024

I meant that some apps allow the selection of notifications on or off.

If selected 'on', the notification system acts as a way for the app to remain active, so that the system will not turn the app off.

In this case, the notification for the app can be turned off in the individual app settings on the device.

This gets rid of the banner notifications, while leaving the status bar notifications, and also allows the app to continuously run.

One such app is WaveUp.

from pilfershushjammer.

puppykickr avatar puppykickr commented on September 2, 2024

I meant that some apps allow the selection of notifications on or off.

If selected 'on', the notification system acts as a way for the app to remain active, so that the system will not turn the app off.

In this case, the notification for the app can be turned off in the individual app settings on the device.

This gets rid of the banner notifications, while leaving the status bar notifications, and also allows the app to continuously run.

One such app is WaveUp.

from pilfershushjammer.

kaputnikGo avatar kaputnikGo commented on September 2, 2024

Yes i get what you mean. The Waveup app uses a service (from quick look at source it looks like a foreground service) and that has different functions within the android OS, especially notifications. This type of service is what i may update the jammer app to run, after a bit more research into the state of things in API 28, specifically if theres an ability to bypass setRecordSilenced() and stop notifications from being dismissed.

from pilfershushjammer.

puppykickr avatar puppykickr commented on September 2, 2024

from pilfershushjammer.

Related Issues (20)

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.