how to disable notification bar for an android application? [duplicate]
问题 This question already has answers here : Hide Notification bar (8 answers) Closed 6 years ago . I have an android application which lists installed applications and launch them on item click.I want to disable accessing NotificationBar from my application.ie,When user launch 'Browser' application from my application,it is possible to drag down the notification bar and he/she can change settings of gps,wifi etc...I tried this requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags