Android disable notification bar [root] - android

I need to enable this on 4.2.2 android tablet.
I've successfull'y done that using this terminal command:
"settings put global device_provisioned 1"
The problem is, that this command also disables HOME button, so I cannot use it. Seems like system stops sending intents.
I've found ways to disable whole system bar at the top and bottom of the screen, but then I loose my navigation buttons.
I've tried disabling notifications one by one, but I still see searching for GPS and Android active hotspot icons in notification bar.
It seems I've tried everything I could, but am unable to get required functionality.
What else could I try?

Related

SOTI MobiControl Kiosk Mode

We are trying to use the Kiosk mode feature of SOTI MobiControl to run our application on a kiosk. We are currently testing on a Zebra TC52 (an Android device) until we get our Elo kiosks.
We’ve set up a profile for our app that uses the Lockdown configuration. It “kind of” works, but isn’t quite doing what we expect.
When we power on the machine, it comes up in the normal startup screen. If I swipe up, then it takes us to our app screen. However, the status bar is showing, and can be pulled down.
However, if I click on the Home button, then the status bar goes away, and we’re closer to where we wanted to be. There is still a back button at the bottom of the screen.
We were hoping:
That when the machine starts, it would immediately go to our app screen, instead of requiring someone to swipe up to get the app to start.
That there would be no status bar, or bottom icons.
This app will be customer facing, so we want our app, and only our app, to ever show on the screen.
I’m not sure if any of these limitations are specifically because we’re using a TC52 instead of an actual kiosk device, but to my mind, they’re both just Android devices.
I have included screen shots of our configuration and the results on the device.
Can anyone see anything we are missing? Or are we expecting too much from the SOTI configuration for kiosks?
at least to disable the Lock Screen you can use the free Zebra StageNow tool (https://www.zebra.com/de/de/support-downloads/software/utilities/stagenow.html).
You can create a lot of device specific setting, just check https://techdocs.zebra.com/mx/ for the setting to disable the swipe lock screen.
in StageNow you can, after finish the Profile, export the Config for MDM
(upper right corner)
In Soti Mobicontrol u can use a script within Packages, Filesync, or direct on Device
mxconfig /sdcard/yoursetting.xm
to import the Setting to the Devices.
Depending on your Soti MC Version there are also some Settings available in the Lockdown Setting Profile to disable the Notification Bar, maybe also u can find some other usefull Settings in the MX Matrix..
Oliver

How to fix app bar being covered by bezel?

I was just testing my app on Pixel3 XL emulator and noticed that the app bar is covered by the bezel. I thought the flutter framework handles this for app bar own its own.
Is there a way to fix this? I also looked at SafeArea but that probably would make me to manage the app bar on all the pages of BottomNavigationBar.
This is an issue with the emulator, not Flutter. If you open Chrome on the emulator you will see that it's also covered by the notch. You can also drag from the notch and the notification's pane will be dragged down, even thought it shouldn't be possible.
You can fix this though. Open the Android settings, go to to the About phone section and tap on the Build Number 7 times, to enable developer mode. Once that's done, in Settings, go to the System section, open Advanced and go to Developer options. Tap the Display cutout option and select Tall cutout. This will adjust the OS to account for the notch.

How to Show Status Bar Icons on the Right like Betternet?

Before you flag this as duplicate, I researched this question a long time ago and found this and this, which both suggest that the right side of the notification bar is a system apps ONLY zone.
However, I recently used Betternet and after connecting to the VPN, these two icons appear:
Betternet is not a system app, and my HTC On3 M8 is not rooted. How did they do it?
The left icon is a Notification. These can be displayed by any app.
The right icon is a standard icon, added there by Android, indicating an active VPN connection. These are not put there by apps directly, though certain things that apps implement (e.g., VpnService) might result in an icon being shown there.

Removing notificationbar for kiosk mode

I am trying to build an android app in kiosk-mode in Android 4.2.2 (Jelly Bean). What I have achieved till now is to make the application as full screen and also handled the home and back buttons. However, my problem is, I want to remove the status/notification bar. I don't want the user to access any other settings through it. I have tried out many ways including the usage of different flags available in android WindowManager for having a screen devoid of the notification bar. However, none were helpful for that.
I have read about apps like Surelock which serve this purpose. Therefore, at least I know that there is something which can be done, except rooting, to remove the notification bar.
Can anyone please help me on this?

Android uiautomator - working with with bars

While trying Android uiautomator utility i face some problem working with bars. (such as bottom bar that display time, wifi status, battery etc...)
The issue is that the bottom bar seems to be not part of the display and when trying to click on it (using uidevice method click(x,y) ), i am getting return value of false - , clicking on pixel above it works just fine (with return value of true)
when using the uiviewer utility clicking on the bar does not update the right pane, e.g: the "display" does not seem to include the bar at all.
is there a known issue with bars and uiautomator ?
can bar be test/interact using uiautomator ?
Thanks in advance, Gal.
My initial investigations match your findings - neither the top notification bar (that displays the time, status indicators e.g. battery, network connectivity, etc) or the bottom bar with icons for the soft keys (back, home, etc.) are available in uiautomationviewer despite being contained in a FrameLayout.
(Note: I'm checking on a Nexus 4 phone, and a Nexus 7 tablet. Some tablet devices have the notification bar at the bottom of the screen e.g. my A500)
Based on my preliminary findings UI Automator will not be suitable. Perhaps monkeyrunner would be more suitable e.g. see the following question and answer Can monkeyrunner interact with android notifications?
When i tried to use the monkeyrunner touch method with a coordinate locate inside the bar it work fine.
I guess this is something that Google will fix in future releases in the UiAutomator.
Thanks again,
Gal.

Categories

Resources