Is there a way to do this in B4A...

Mickster

Active Member
Licensed User
Longtime User
?


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 */

Mickster
 
Top