GithubHelp home page GithubHelp logo

jerryc05 / unlockme Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 0.0 345 KB

An Android broadcast receiver to capture images on failed screen unlock attempts via Device Admin API.

Home Page: https://github.com/jerryc05/UnlockMe

License: GNU General Public License v3.0

Java 73.33% Kotlin 26.67%
android device-admin camera-api camera2-api

unlockme's Introduction

UnlockMe

An Android broadcast receiver to capture images on failed screen unlock attempts via Device Admin API.

unlockme's People

Contributors

jerryc05 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

unlockme's Issues

(BUG UnlockMe VERSION v0.2.1 ) after Take a picture from the front camera when I click take photo on back camera option then the application crashes.

Project Information

Expected behavior

after taking a picture from the front camera when I click on the take photo on back camera option the application should not crash

Actual behavior

Taking a picture from the front camera when I click take photo on back camera option then the application crashes.

How to reproduce

  • Download the application

  • open the application

  • First of All, take the picture from TAKE PHOTO ON FRONT CAMERA option

  • after tacking the picture then click on TAKE PHOTO ON BACK CAMERA option

  • Note the Error

  • Browser/App version: v0.2.1

  • Operating system: 6.0

Recording Of The Bug

20190716_152431

Logcat

E/AndroidRuntime( 7705): FATAL EXCEPTION: pool-1-thread-2

E/AndroidRuntime( 7705): Process: jerryc05.unlockme, PID: 7705

E/AndroidRuntime( 7705): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getAction()' on a null object reference

E/AndroidRuntime( 7705): 	at jerryc05.unlockme.services.ForegroundService$b.run()

E/AndroidRuntime( 7705): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)

E/AndroidRuntime( 7705): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)

E/AndroidRuntime( 7705): 	at java.lang.Thread.run(Thread.java:818)

(BUG UnlockMe VERSION v0.0.1 ) THE Application crashes when I click on Take Photo On Back Camera option

Project Information

Expected behavior

When I click on the Take Photo On Back Camera option, the back camera should be opened and the application should not crash.

Actual behavior

THE Application crashes when I click on Take Photo On Back Camera option

How to reproduce

  • Download the application

  • open the application

  • click on Take Photo On Back Camera option

  • Note the Error

  • Browser/App version: 0.0.1

  • Operating system: 6.0

Recording Of The Bug

20190711_153458

Logcat

D/AndroidRuntime(18372): Shutting down VM

E/AndroidRuntime(18372): FATAL EXCEPTION: main

E/AndroidRuntime(18372): Process: jerryc05.unlockme, PID: 18372

E/AndroidRuntime(18372): android.app.RemoteServiceException: Bad notification posted from package jerryc05.unlockme: Couldn't create icon: StatusBarIcon(pkg=jerryc05.unlockmeuser=0 id=0x7f020000 level=0 visible=true num=0 )

E/AndroidRuntime(18372): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)

E/AndroidRuntime(18372): 	at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime(18372): 	at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime(18372): 	at android.app.ActivityThread.main(ActivityThread.java:5910)

E/AndroidRuntime(18372): 	at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime(18372): 	at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime(18372): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)

E/AndroidRuntime(18372): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

(BUG UnlockMe VERSION v0.0.1 ) The application crashes when I click the Take Photo On Front Camera option

Project Information

Expected behavior

When I click the Take Photo On Front Camera option, the Front camera should be turned on and the application should not crash.

Actual behavior

The application crashes when I click the Take Photo On Front Camera option

How to reproduce

  • Download the application

  • open the application

  • click on Take Photo On Front Camera option

  • Note the Error

  • Browser/App version: 0.0.1

  • Operating system: 6.0

Recording Of The Bug

20190711_160526

Logcat

D/AndroidRuntime(19288): Shutting down VM

E/AndroidRuntime(19288): FATAL EXCEPTION: main

E/AndroidRuntime(19288): Process: jerryc05.unlockme, PID: 19288

E/AndroidRuntime(19288): android.app.RemoteServiceException: Bad notification posted from package jerryc05.unlockme: Couldn't create icon: StatusBarIcon(pkg=jerryc05.unlockmeuser=0 id=0x7f020000 level=0 visible=true num=0 )

E/AndroidRuntime(19288): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)

E/AndroidRuntime(19288): 	at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime(19288): 	at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime(19288): 	at android.app.ActivityThread.main(ActivityThread.java:5910)

E/AndroidRuntime(19288): 	at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime(19288): 	at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime(19288): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)

E/AndroidRuntime(19288): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

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.