M Mickster Active Member Licensed User Longtime User Feb 13, 2012 #1 ? Following code needs to be inserted in the onCreate handler of all activities in the application. /* Code Starts */ this.getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | WindowManager.LayoutParams.FLAG_FULLSCREEN); this.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN); /* Code Ends */ Click to expand... Mickster
? Following code needs to be inserted in the onCreate handler of all activities in the application. /* Code Starts */ this.getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | WindowManager.LayoutParams.FLAG_FULLSCREEN); this.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN); /* Code Ends */ Click to expand... Mickster
Erel B4X founder Staff member Licensed User Longtime User Feb 13, 2012 #2 Yes. See the first result here: Basic4android Search: dismiss lock screen Note that the title of the thread should better match the question. Otherwise the thread will not be helpful for other users. You will need to change the numeric value there to match those flags instead of the ones in the example code. Upvote 0
Yes. See the first result here: Basic4android Search: dismiss lock screen Note that the title of the thread should better match the question. Otherwise the thread will not be helpful for other users. You will need to change the numeric value there to match those flags instead of the ones in the example code.