Giter Site home page Giter Site logo

kb-1000 / android-torchlight Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 2.0 496 KB

Privacy-friendly flashlight Android app which only uses the permissions it really needs

License: Apache License 2.0

Kotlin 95.52% AIDL 4.48%
android-application flashlight flashlight-application flashlight-widget

android-torchlight's People

Contributors

kb-1000 avatar poussinou avatar tacothedank avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

android-torchlight's Issues

Send not working

The send feature on the menu is not working as user can't send feedback as that's the title to it.

Torchlight goes off suddenly and refuse to come up

Expected behavior

The app should function properly and put on phone flashlight both in portrait and landscape mode. Also, the flashlight should not go off when phone is rotated to landscape mode from portrait mode.

Actual behavior

The behavior is into two places, which I believe were caused by the same root case:
First scenario, when the torchlight has been put on while in portrait mode, it suddenly goes off in landscape mode and won’t work again until app is restarted.

Second issue, if the app was started was started on landscape, the torchlight / flashlight won’t function / come up at all until app is restarted again.

How to reproduce

Reproduction steps of the first bug:

  1. Install app from fdroid
  2. Launch and grant camera permission
  3. Tap the centre of the screen display (torchlight comes up)
  4. Rotate phone to landscape (torchlight goes off)
  5. Rotate back to portrait mode , tap the centre of the screen (torchlight does not come up)

Reproduction steps of the second issue:

  1. Launch the app in landscape mode
  2. Tap the centre of the display to put torchlight on, it will be noticed that the torchlight does not come up.
  • Browser/App version: app version 2.6
    *Operating system: Android 6.0

Recording Of The Bug

I had to use an external camera recording device so as to capture both the operations and effect of the bug succefully because screen recorder will only capture operations and not effect.

https://youtu.be/j5wJq56XZQk

The "Torch Light" feature has errors

Expected behavior

Supposedly, when I click on the "Torch" feature then the flashlight on my smartphone will be on.

Actual behavior

When I click on the "torch" feature to turn on the flashlight, the feature does not work and displays a blank page.

How to reproduce

  1. Install and open the app
  2. Next click the "Torch Light" feature, then you will find the error as I experienced.

  • Device: Xiaomi Redmi 4X
  • Operating system: Marshmallow, 6.0.1 mmb29m (CPU: Octa-core Max 1.9 GHz, RAM: 2 GB)
  • Application Version: 2.6

Recording Of The Bug

https://www.youtube.com/watch?v=c167Sqkhkf4

logo purpose

hello @kaeptmblaubaer1000 i have best and awesome logo design about your application if you want new logo for your application i will send you design after you give me permission

Torchlight v2.7 widget doesn't work

Expected behavior

Expected torchlight widget to function.

Actual behavior

The widget button shows off and clicking it does nothing.

How to reproduce

  1. Install and open the app.
  2. Add the app's widget to homescreen
  3. click widget button

Tested On Nova Launcher, Open Launcher and my device default launcher HiLancher


  • Device: Tecno Camon CM
  • Operating system: Android 7.0
  • Application Version: v 2.7

Recording of the bug

https://youtu.be/g7Of9mkRinE

New logo proposal

Hi I'm Gideon and I saw your app and I really think I can work on a better logo for it if you would grant me this opportunity.
I'm a Graphic Designer I could give you a logo proposal if you wish,
If this is something that may be of the interest of this project, let me know

Cheers! Gideon.

App Permissions

Hello, I would like to know why this app requires access to camera?
Why not only access to flashlight?
Thank you. Smiles :)

The app crashes and exits on its own when accessing the "Share" feature

Expected behavior

Supposedly, the "share" feature can be used without any errors.

Actual behavior

When I click on the "share" feature, the app suddenly crashes and exits by itself.

How to reproduce

  1. Install and open the app
  2. Next, click on the "Share" feature located in the top left menu of the app.
    Then you will find the error as I experienced.

  • Device: Xiaomi Redmi 4X
  • Operating system: Marshmallow, 6.0.1 mmb29m (CPU: Octa-core Max 1.9 GHz, RAM: 2 GB)
  • Application Version: 2.6

Recording Of The Bug

https://www.youtube.com/watch?v=194AILHLs2M

Logcat

05-22 00:11:53.305 29721 29721 E AndroidRuntime: FATAL EXCEPTION: main
05-22 00:11:53.305 29721 29721 E AndroidRuntime: Process: com.fake.android.torchlight, PID: 29721
05-22 00:11:53.305 29721 29721 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at java.io.File.fixSlashes(File.java:183)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at java.io.File.<init>(File.java:130)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at com.fake.android.torchlight.MainActivity.onNavigationItemSelected(MainActivity.java:157)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at android.support.design.widget.NavigationView$1.onMenuItemSelected(NavigationView.java:156)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:822)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at android.support.v7.view.menu.SubMenuBuilder.dispatchMenuItemSelected(SubMenuBuilder.java:88)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:156)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:969)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at android.support.design.internal.NavigationMenuPresenter$1.onClick(NavigationMenuPresenter.java:342)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at android.view.View.performClick(View.java:5207)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at android.view.View$PerformClick.run(View.java:21177)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:742)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:95)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:154)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:5527)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
05-22 00:11:53.305 29721 29721 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
05-22 00:11:53.307 29721 29721 E MQSEventManagerDelegate: failed to get MQSService.

Add read.me

Add read.me, so users can know more about the application and also where to download it.

After clicking on the torch option Flash light is not responding

Expected behavior

My expectation was that after clicking on the torch ,the flash light should respond as its expected.

Actual behavior

After clicking on the torch ,the surface of the app is showing blank screen and flash light is not responding.

How to reproduce

  1. Open the app
  2. Click on the torch
  3. It will bring blank screen and the flash light will not respond.

  • Browser/App version: Torchlight version 2.7
  • Operating system: Android marshmallow 6.0 ,tecno w3

Recording Of The Bug

https://youtu.be/m1ZAjoiBTcU

New icon

The Android icon isn't nice for an app.

Allow camera view

Describe the solution you'd like

I hoped this would let me use the camera (preview) with the light active. Can this feature be added?

App crashes while clicking on share option.

###Actual behaviour
When I open the torchlight app and open options by sliding my finger from left to right.i click on share option to share this .After clicking on share option app crashes.

How to reproduce

  • Open the torchlight app.

  • Open options by sliding finger from left to right.

  • Select share option.

  • Click on share option.

  • After clicking on share option app crashes.

  • Browser: Torchlight.

  • Version:0.02b5
    *Operating system:7.1.2

Recording of the bug

https://youtu.be/MGEeDY6AasA

Logo Proposal For Torchlight

Hi sir, I would like to propose the latest logo for your application. I created a logo that will give the latest impression to your application, and the logo I created will greatly describe the functionality of your application.

Logomark

example

Mookup

www

Hope you like it,
I'm new to github, and I do not know how to add "Pull request", If you like it I will send you a GOOGLE DRIVE file.

Thank You

stops working after looking at "Settings"

  • Device: Samsung SM-G730W8
  • Operating system: Android 4.4.2
  • Application Version: 2.7

Expected behavior

Always change the icon and toggle LED light when tapping the button.

Actual behavior

Changes icon but LED light does not turn on.

How to reproduce

  1. Open app
  2. Click button, observe button changing and LED light turning on/off
  3. Click hamburger menu button (upper-left)
  4. Click Settings, then '<-' back.
  5. Click button, observe button changing and LED does not turn on/off

Workaround

  • go to Android task manager, 'End' the Torchlight app. It will work as expected next time it is started
  • never ever use the hamburger menu in the upper-left

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.