joisar / lockscreenapp Goto Github PK
View Code? Open in Web Editor NEWNOTE: IT IS DEPRECATED AND NOT MAINTAINED ANYMORE
NOTE: IT IS DEPRECATED AND NOT MAINTAINED ANYMORE
where is the build.gradle file
Does it work for phones with virtual home button?
I mean: I don't really understand how you've done this "auto opening activity" when user push the power button. On stackoverflow are many questions about that, but no one really can explain how it works.
Trying on Android Lollipop 5.1.1 the Home button and the recents apps are still working, making the LockScreen go to the background.
When it locked, don not drag anything, just press the Home Key, The Lock App will disappear like it has unlocked! It's a bug.
Dear Sir
first of all thanks for your app, it is save my time. but i have a problem with it, sometimes lock screen comes very late, it comes after seconds, how can i solve this problem and show lock screen immediately after mobile unlock?
another problem is, when you write something and in meanwhile you lock your phone and immediately unlock it, keyboard screen left on lock screen on top of everything, i tried to hide it but can't solve this problem.
Hi,
If i am having system lock and this app. After locking the devices i am getting both lock screen.
Application crashes when it starts.
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: FATAL EXCEPTION: main
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: Process: com.mehuljoisar.lockscreen, PID: 18451
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: java.lang.IllegalArgumentException: Window type can not be changed after the window is added.
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1469)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1419)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.IWindowSession$Stub$Proxy.relayout(IWindowSession.java:835)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.ViewRootImpl.relayoutWindow(ViewRootImpl.java:5609)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1656)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1192)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6231)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:816)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:619)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:588)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:802)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:808)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:103)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5388)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:515)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:655)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at dalvik.system.NativeStart.main(Native Method)
public void onCreate(Bundle savedInstanceState) {
this.getWindow().setType(
WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG
| WindowManager.LayoutParams.FLAG_FULLSCREEN);
super.onAttachedToWindow();
super.onCreate(savedInstanceState);
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON | WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED | WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.layout);
the lock screen is just an intent over the real lockscreen started by the ACTION_SCREEN_OFF BroadcastReceiver
any idea how to register it as a real system lock screen?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.