Are there any way for prevent user open difference app?.
I tried to use startLockTask(); in activity, and make application full screen, but user still out this mode by press on back and menu button.
So how can I prevent android show navigation bar when user touch down from top or touch up from bottom of screen?
Related
I want to know is there any way we can stop navbar stop showing when we swipe from the edge in the Samsung tab. I want that user navigates my app using the custom button.
I have tried this [link] (Permanently hide Android Status Bar)
can anyone try any solution to hide navbar permanently and not shows up when the app is in the foreground?
Some newer Android devices have removed the hard Home Button and replaced it with a soft pop up navigation bar at the bottom of the screen that appears when the user swipes up. I've found that the Home Button can also be accessed by hard pressing (not just long clicking, kind of like iOS force touch) the area where the Home Button would appear if navigation bar is visible. This action triggers an onClick event within the current application before navigating to the device home screen. How can I prevent the onClick event within the application?
You can see in the image below how the navigation bar Home Button overlays the app button. Thanks for any help, I feel like i'm missing something really obvious.
So what I wanna do is make app that will display information and allow you to launch other apps from that main screen but I want that screen to appear when I swipe from corner (right bottom ..) from any app and any screen like swipe pad app or swipe drawer type of apps.. Any ideas? :)
You can do it by service.
this will make your button show on top of everything so you can hide it and show a small line or something or even a transparent icon and when user touches it it will do what ever you want.
To display a window on top of the status bar (and accept touch events), it seems TYPE_SYSTEM_ERROR is the only way to go.
However, such a window will also appear on the lock screen, which I do not want to happen.
Is there some other way to achieve this?
If not, is there a way to listen to the event where the lockscreen becomes visible, so that I can hide the window programmatically?
Please note: the app does not have an Activity context.
I am working on an application that needs to be opened in full screen. I am able to remove title bar & Action bar from my application. But multi-window tray icon appears on side of application. Please let me know how can I hide or remove that tray to appear.
Note: I neither want to go to setting & change the setting nor want to press & hold back button to disable it. I want the open should be disabled automatically whenever my app starts.