Giter Site home page Giter Site logo

simplemobiletools / simple-flashlight Goto Github PK

View Code? Open in Web Editor NEW
345.0 345.0 177.0 62.53 MB

A simple modern flashlight with SOS, stroboscope & bright display, has no ads.

Home Page: https://www.simplemobiletools.com

License: GNU General Public License v3.0

Kotlin 99.18% Ruby 0.82%
android android-development flashlight freedom kotlin open-source

simple-flashlight's People

Contributors

aga-c avatar artemmolotov avatar bla-ke avatar chocho04 avatar chrjsorg avatar comradekingu avatar en2sv avatar esensar avatar fatihergin avatar fricyo avatar kryptkode avatar lianergoist avatar ltguillaume avatar melintemarian avatar meskobalazs avatar milotype avatar nhman-python avatar nuclearphoenixx avatar rehork avatar rex07 avatar samtada avatar smarquespt avatar solokot avatar spkprs avatar tibbi avatar trubitsyn avatar txemaq avatar vachan-maker avatar vitorhcl avatar weblate 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  avatar  avatar  avatar

simple-flashlight's Issues

Hide Status Bar on Screen Flashlight

The screen flashlight should show only a full screen panel of color.

For example, in low light conditions, setting a dark orange #0D0801, the white icons on the status bar with clock, battery level and notifications, are brighter than the flashlight, making it unsuited for when a dim "candle" is needed.

Better yet, the change color button should be removed and show as a popup "touch the screen to change color" when activating the function.

This would allow the flashlight to be used in very dark conditions and be as unobtrusive as possible.

I have already changed the theme on the app to show a black background on the status bar, opposed to the default bright orange, but the icons on status bar shine brighter than the rest of the screen, making it the determining factor on the light output, regardless of the #0D0801 screen.

Thank you for the otherwise excellent app.

New logo design for Simple Flashlight

Hello sir, my name is Samet Ceylan and I am a designer. If you want and let me, I want to design a creative logo for Simple Flashlight. I want you to know that I will do it for you. I do not want any compensation. If you would like me to design and if you have any particular detail, please contact me.

[Feature request] Viewfinder

Flashlight apps come a dime a dozen, but for years, I've been using Search Light (https://github.com/scottamain/Search_Light) for its unique, never-seen-elsewhere feature : the viewfinder !
It simply displays on the screen what the camera sees... with the light on, of course.

Ever needed to look for an item that fell and rolled under the couch but had to lie on the ground ? Tried to look into a dark, cramped opening in an engine/computer case/human throat, and had to choose between shining some light in there OR actually looking into it ? Well with a viewfinder, you could kiss goodbye to those problems. :-)

As Search Light's development has pretty much stopped, why not import that feature into Simple Flashlight ?

Flickering when rotating

Please add a setting to disable rotation or do something to avoid the light turning off and on every time it rotates. It is just a short flickering but it is annoying if you hold the phone so that rotation is triggered often. Also I'm not sure if this can be reproduced on other phones. Mine is oneplus 3.

Feature request: Add option to save custom screen colors

Wenn using the phone's display as light source (bright display), I would love to have an option to store several custom colors (tints).

Per default they should be named like #ff0000 with an option to rename to i.e. "pure Red" or "Tungsten warm".

Quick Settings Tile for Simple Flashlight

My stock flashlight app has a tile in the Quick Settings. I just wanted to replace the app with Simple Flashlight, but there's no tile for it, which makes it a little bit inconvenient to use.
According to this document, an app developer can add a tile for his app. Would you implement this feature?

Copycat/clone app on Google Play

Hi @SimpleMobileTools

I found this app https://play.google.com/store/apps/details?id=com.flashlight.flashlightfree on the Google Play Store. This guy just took your source code, added some ads and monetization in it and put it on the Store, without warning this is free software...

As you are the owner of the source code, feel free to open a request to google here to remove this copy from the Store, if it's your wish ;)

Don't forget to tell Google that:

  • The app is licensed under GNU GPLv3 license and this guy is violating it;
  • He is falsely claiming he made the app;
  • Provide some screenshots of your own app.

Resources occupied after closing this app properly and openning another app

Steps to trigger the problem

  1. open the Flashlight app.
  2. click the button to let flashlight on and reclick the button to let the flashlight off in order.
  3. click the HOME button and open an app which using the flashlight resources(e.g. Camera).

What happens when you follow the steps

The app open in Step 3 will report errors or be hanging. Below is a screenshot:
s61116-094106

Bugs behind the problem

It does not release the flashlight or relevant services in a proper way.

The version of the software being used

Version 1.20 - Added on 2016-09-27

Environments

  • Device: m2 note
  • Android version: 5.1

Can't install 5.4.1 on Samsung Note 4

It might be because "CPU Architecture: 32-bit"

  • CPU Quad-core 2.7 GHz Krait 450 - Snapdragon 805
  • GPU Adreno 420 (Snapdragon 805)
  • OS 6.0.1 (Marshmallow)

Replace the non-intuitive icons in the app

Especially the icons for switching the flashlight and the blinking feature are quite non-intuitive. A user has to try them out to see what they do.
And hopefully there will be a button for an SOS code in the near future too ...

Morse code

Hi! Please, add an ability to use "strobe" function like morse code transmitter + ability to change the "alphabet"

Some dependencies can be updated

Android Studio
Your version: 3.2.1
Current version: 3.3.1

Kotlin
Your version: 1.2.71
Current version: 1.3.21

Gradle
https://github.com/gradle/gradle/releases
https://docs.gradle.org/5.1/userguide/upgrading_version_4.html
Your version: 4.6
Current version: 5.2.1

(I'm sure you're aware of this one, but I'll put it down because why not)
com.simplemobiletools:commons
Your version: 5.0.14
Current version: 5.9.5

androidx.constraintlayout:constraintlayout
Your version: 2.0.0-alpha2
Current version: 2.0.0-alpha3

IMPORTANT
com.squareup:otto is deprecated in favor of RxJava

I believe "Turn flashlight on at startup" needs a tweak

I have activated the setting "turn flashlight on at startup", because that's just how I want to use the app.
Then the following happened:

  • After switching the flashlight off I changed to other apps by using the home button (btw, logical as the app has no "switch" to turn the flashlight off and also close the app).
  • Later I wanted to use it again, returned to the app by tapping the app icon again. And the flashlight was not turned on... I guess because that was not a 'startup', the app just came to the front again after running in the background.
  • But for me it was like "taking a flashlight out of my pocket again", I guess whoever enables this option wants the flashlight to turn on whenever you tap the app icon and bring it to the front.

Small addition: You may also consider evolving this feature by an option "Automatically switch off the flashlight when the app is sent to the background". Or alternatively adding a switch "turn off the flashlight and close the app". Not sure what is the best way - the idea is to save a tap, i.e. turning off the flashlight and go back to home screen with one tap instead of two.

All this is about nitty gritty details, I know... but being diligent on user experience and simplicity is a design objective for these and app and there I believe such small details matter and many such details make the apps superior.

app asking for additional permissions

X-Privacy warns that Simple-Flashlight wants to access device identification information, the files on the sd card (every time I turn it on) and IPC. There are explicit permissions for those, but they are not listed for the application.

Does anybody know where can I find in the source code the parts that trigger those accesses? I got the apk from F-droid.

Led is noticeably dimmer than stock app

I can turn on the rear led flashlight using the stock app that came with the phone, and it will be at full brightness. When I switch over to your app there is a noticeable drop in output of light.

The stock app has no brightness changing feature, just on/off and sos.

My phone is the BLU Vivo 5R running nougat 7.0

Need java code

Hello,

Can I get java code for same.

Thank you in advance...!

HomePage Doesn't Respond To Landscape Rotation.

Expected behavior

Every section of the App should be able to respond to to screen rotation, since the App obviously supports rotation.

Actual behavior

The home page doesnt respond to landscape rotation.

How to reproduce

  • configure the device for auto rotation
  • Launch Simple Flashlight
  • While on the home page
  • Turn the device to 180°, for use landscape view

Testing Environment

  • Browser: Google Chrome
  • Operating system: Aneroid Version 7 (Nougat)
  • App version: Version 3.1.0

Recording Of The Bug

20180313222338.gif



Posted on Utopian.io - Rewarding Open Source Contributors

Button remains in pressed state if you turn screen lock on/off

Steps to reproduce (using Mate 20 Pro (EMUI 12) )

  1. Tap the widget / or the flashlight icon of the app
  2. Now turn the screen lock on
  3. Tap the flash light on the lock screen (so it is turned off)
  4. Now turn the screen lock off
  5. The buttons of widget and the flashlight icon of the app remain in pressed state (although the flashlight is no longer turned on)

If you use the screen's light:

  1. Open the App
  2. Tap the screen's light button
  3. Now turn the screen lock on (by pressing the on/off button)
  4. Tap the on the on/off button again
  5. Now you can see the bright screen of your phone instead of the lock screen
  6. Tap the return button
  7. unlock the screen
  8. The (additional) screen's light is now disabled

Regional language switcher

In the UK, we don't use the word flashlight, instead we use the word torch. The system flashlight is displayed as "torch" when the language is set to EN_GB, it would be good if Simple Flashlight would respect the system language too.
img
Thank you.

Flash light turns off if you use the camera app but the button remains in pressed state

using Mate 20 Pro (EMUI 12)

maybe similar to #159

Steps to reproduce

  1. Tap the widget / or the flashlight icon of the app
  2. Tap the camera app
  3. As soon as you tap the camera app the flash light is turned off

It doesn't change if you tap the overview button and/or exit the camera app

The buttons of widget and the flashlight icon of the app remain in pressed state (although the flashlight is no longer turned on)

Support for other screen colors than white

Feature request: The flashlight app currently supports lighting up the screen in bright white (instead of using the flashlight), but it would be handy if it could display other colors too.
I sometimes use this feature in Asus Flashlight (see below for an impression for how they do it, it's not the greatest UI) to check a screen for dead pixels or for color abnormalities.
Another purpose could be using the red light as a safelight in a darkroom, or the red/green light for illuminate e.g. a map during the night without being blinded.

image

Turn light on/off by shaking the phone

I got used to this feature with an old and now unmaintained app from f-droid (called "Flashlight). Evey time I need to use SF I try shaking and then remember it doesn't work lol. Basically you vigorously shake the phone and light turns on automatically, it s really useful when you don't have time to unlock the phone, find SF icon,click on it and click on the button to turn it on. I suppose it uses gyroscope or??

Edit: forgot to specify that of course shaking should also turn light off :)

[Feature request] Stroboscope/blinking/Morse modes

Several features that could make this app even more useful :

  1. Stroboscope mode, for your cheap, improvised dance parties whereever you are, with optional frequency adjustment knob. Might also help in a self-defense situation to dazzle an aggressor (would that work on animals ?).

  2. Blinking mode : hiking in the night along a country/forest road ? Strap your device on your backpack, facing back, and warn drivers coming your way to mind your presence. With optional frequency adjustment knob (yep, I know it's the same as stroboscope mode, just with a much lower frequency. Frequency presets may be the best solution).

  3. SOS/Morse mode : lost during your trip and need to signal for help ? Switch to this mode to flash the standard SOS (. . . - - - . . .) signal. Alternatively, tap the screen to flash the light and send your own Morse messages if you know the code yourself.

  4. Morse-composer mode : this feature clearly exceeds Simple Flashlight's initial purpose, but why not include a Morse-composer mode ? Type in a text, it then gets converted into Morse code (example library : https://github.com/alwindoss/morse), then flashed (at a given frequency). Only useful if both you and your recipient know Morse code, of course.

OPTIONAL :
Make all features available to flashless devices (e.g. cheap tablets or repurposed phones) by using a max-brightness, white screen (à la MrWhite : https://bc-bd.org/blog/mrwhite.html).

NB :
This FR is a duplicate of scottamain/Search_Light#2

[FR] White background with black icons

Dark theme switch seems useless as it changes settings screen background only. I think making main screen background white would make user experience better.

Please add bright display quick settings tile

Like the title says, please add a quick setting for bright display, to accompany the one for the regular flashlight. Right now my UX is split between the native (or app's) quick tile for regular flashlight, and the launcher shortcut (a concept I'm not used to using for anything anyway) for bright display.

I tried making my own tile for it with Automate, but start app throws a security exception and start shortcut doesn't list the bright display activity.

Thanks

Add an option for flashing SOS code

Feature request in the category 'must have': add an option to flash SOS code. Most android flashlight apps have this option. This might save lives.

At the same time you might reconsider the current flash icon, which looks like a spinning wheel. This is IMHO not very intuitive, you might consider a flash icon, like in Asus Flashlight:

image

Flashlight Brightness intensity

On some phones i've used, brightness intensity quick setting is built into their system.

Add the flashlight brightness intensity slider into the app.

F-Droid version

Hi! The F-Droid version is stop to 1.21 from 27/11/2016. Is possible update it??

Two leds, different colors, turn both or just one of them

My phone has two leds, one of which is yellow, and the other is white. The stock flashlight app turns only the white led on, whereas Simple Flashlight turns both on. The resulting light in these two cases differs. Also when you have two leds on, they consume more power. Moreover, sometimes I need the brighter light, and sometimes the warmer one. So I have a question -- is there a possibility to implement some functionality concerning choosing whether this app turns both leds on or just the one that suits someone's needs? :)

Delay in Flashlight Activation after Turning Off Stroboscope

Expected Behavior

Turning off the Stoboscope and then turning on the Flashlight causes the light to activate instantly.

Actual Behavior

Turning off the Stoboscope and then turning on the Flashlight causes the light to be delayed in activating.

How to Reproduce

  1. Launch Simple Flashlight 3.1.0 on Android 8.1
  2. Tap the Stroboscope icon
  3. Drag the slider all the way to the left
  4. Tap the Stroboscope icon immediately after the light flashes off
  5. Tap the Flashlight icon

Device: Pixel 2 XL
OS: Android 8.1.0
App Version: 3.1.0

Recording of the Bug

FlashOffDelay.gif



Posted on Utopian.io - Rewarding Open Source Contributors

Quick Setting Tile Has Vanished

After the most recent F-Droid update, the flashlight quick settings tile is no longer visable.

Poblano VLE 8.1.0
app version 5.0.2

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.