Giter VIP home page Giter VIP logo

proximityservice's Introduction

ProximityService

Android service for turning off the display using the proximity sensor.

License

Copyright 2016 ssaqua

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.

proximityservice's People

Contributors

ssaqua 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

proximityservice's Issues

Feature request: Quick Settings Tile 7.0+

Please consider adding a quick settings tile to activate/deactivate the service. This would also allow for a "hide icon from app drawer" option since the service could be activated without it.

Samsung Galaxy S10 issues

Have had reports that Proximity Service is not working for these devices (S10, S10+, S10e). Would greatly appreciate any help with debugging this from any developers that own one of these.

Am aware there are other devices which have issues with this app due to aggressive battery optimization. This issue is just about finding a cause for the Galaxy S10 series. Users with 8 or 9 series phones on the same Android P + One UI combination don't seem to have this problem.

Could you please add an option to turn off the screen without covering the proximity sensor?

I use ProximityService + Auto clicker + Camera App to capture plants growing as image sequences and then encode into timelapse movies.
I want to turn off the screen during the image capturing, to prevent the OLED screen being burned.
I have to find something to cover the Proximity sensor.
Could you please allow to turn off the screen withoug covering the proximity sensor, and touch anywhere on screen to turn it on again?

Feature request: Integration with Tasker

Love the app for it's simplicity and usefulness. Would it be feasible to integrate with Tasker (https://tasker.dinglisch.net) for starting and disabling the service? Ideally you'd have the option of turning off proximity service while leaving the notification, OR disabling and removing the notification.

Thanks.

'settings" option on notification causes device restart

I just tried out your app, and really like it.
When playing with it the first time, I saw that in addition to the 'Tap To Turn Off' notification from your app, there was also a 'Settings' notification that is presumably from my device.

I went ahead and tapped the 'Settings' option, as the app description stated that there were no settings, lol.

The device immediately restarted.

It is a ZTE 557VL running Nugat 7.1.1 OS.

I just wanted to bring this to your attention.

Actually, it can be very useful for me, as my volume and power keys are not functioning properly.

I already have found an app for the volume control, and I use Wave Up to turn the screen on from sleep.
Wave Up has a feature similar to your app (turning the screen off when covered), but it is very finicky, and does not work good with any of my devices.

I have not previously found any app to cause a restart like yours, so I might actually consider this a plus, lol.

I wonder if having Wave Up running (only as a way to turn the screen on from sleep) has anything to do with this restart thing happening?

Flashing screen

Running on Nokia 3 Android 8.0 the screen flashes on and off when the sensor is covered. Is there anything to try to do to fix it?

stops working properly sometimes

For some reason this app is not working as intended sometimes, like for example now for the past 4 days or so.

The symptoms 1: I start the service as usual and all seems right, but when I move my finger over the sensor area, the screen stays on as if the service is not running.

The installed app section shows 0kb for cache and data, so I can't clear those. I tried uninstaling and reinstalling app, and rebooting my Xiaomi Redmi Note 3+ running android 5.1.1 and MIUI version 8.0.6.0. but is not helping.

The symptoms 2: Before symptoms 1 problem started to occur 4 days ago, the sensor worked normally until the following happened when I started the service: I moved my finger on top of the sensor, the screen went dark, but when I removed my finger from it, it would stay dark. Pressing the "lock screen" button on side of the phone multiple times finally awakes the screen eventually. This thing repeated multiple times until I had to stop the service. Next time I started the service the "symptoms 1" behaviour started to happen.

This cycle has happened earlier too, maybe twice, and I don't know what had made it work again. Maybe after I have installed updates from play store, or some system upgrade has happened it has started to work again. However now it is once again not working, and without knowing how to fix it, I might have to be without this app once again for weeks or even a month, until it suddenly start to work again...

Bugged update 2.2.5

Hi, your latest update doesn't save the screen off time, keeps reverting to 0, is there an archive of past apks so I can revert?

Doesn't run at boot

Would it be possible to add a "run at boot" setting?

Right now I need to start it manually after each boot (or is this a bug, and it's already supposed to start at boot?)

Samsung Galaxy S20 proximity

Unlike S10 series, proximity sensor in S20 works like a charm, but this service still counts this device as unsupported. Could we have an update?

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.