OS for embedded/kiosk mode

Post Reply
lloydhussell
Posts: 33
Joined: Fri Jun 03, 2022 6:01 am
languages_spoken: english
ODROIDs: N2+
Has thanked: 3 times
Been thanked: 2 times
Contact:

OS for embedded/kiosk mode

Post by lloydhussell »

Hello.
I am currently using the Android 9 build supplied by HardKernel, and I am trying to build a kiosk mode app. It's very difficult to achieve what I want, but I have done it in a very hacky and broken way which could create an unstable OS.
I am wondering if you provide any other OS that can remove the OS UI completely, as all I want is my application running in the foreground on startup. I have achieved this, but I am disabling secure settings, which I am not fond of.

Thanks for any help.

User avatar
tobetter
Posts: 12605
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 936 times
Been thanked: 2160 times
Contact:

Re: OS for embedded/kiosk mode

Post by tobetter »

What language/framework are based for your application?

Luke.go
Posts: 816
Joined: Mon May 30, 2016 1:55 pm
languages_spoken: english
Has thanked: 143 times
Been thanked: 139 times
Contact:

Re: OS for embedded/kiosk mode

Post by Luke.go »

Did you use kiosk mode that provided from ODROID Settings? It will remove the OS UI things.

lloydhussell
Posts: 33
Joined: Fri Jun 03, 2022 6:01 am
languages_spoken: english
ODROIDs: N2+
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: OS for embedded/kiosk mode

Post by lloydhussell »

"What language/framework are based for your application?" - I am using Kotlin to build a native android app.

"Did you use kiosk mode that provided from ODROID Settings? It will remove the OS UI things." - I could not create a DPC, but I did manage to get it into Kiosk mode as a device owner. This did remove the home and recents buttons from the navigation bar, but it did not remove the navigation bar entirely. There were still the power, screenshot, and back buttons. I have been looking into the Android Management API as well to control it, but after doing a lot of research, it seems that Kiosk mode there also does the same thing, I would not be able to remove the bottom navigation bar completely. The only way I have truly achieved it is by executing the command ```adb shell settings put secure user_setup_complete 0```

Luke.go
Posts: 816
Joined: Mon May 30, 2016 1:55 pm
languages_spoken: english
Has thanked: 143 times
Been thanked: 139 times
Contact:

Re: OS for embedded/kiosk mode

Post by Luke.go »

hmm.. I can't see the navigation bar on the Kiosk mode.
Can you share your using resolution? I tested it on the 1920x1080.
https://i.imgur.com/kEh25Zm.png
Image
And Please share your display screenshot. :)

lloydhussell
Posts: 33
Joined: Fri Jun 03, 2022 6:01 am
languages_spoken: english
ODROIDs: N2+
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: OS for embedded/kiosk mode

Post by lloydhussell »

Is the navigation bar completely disabled, though? I am able to swipe up from the bottom and still see the navigation bar, but I am restricted from going to home or recents.

Do you have a guide on how to enable kiosk mode properly like this? I have been doing so much research and keep coming to dead ends. Unfortunately I can't post a screenshot right now, sorry. But my resolution is 800x480 right now, but that will change soon.

lloydhussell
Posts: 33
Joined: Fri Jun 03, 2022 6:01 am
languages_spoken: english
ODROIDs: N2+
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: OS for embedded/kiosk mode

Post by lloydhussell »

I see now you mentioned it's actually with the ODROID itself, it allows kiosk mode. Would you be able to link me to the wiki page, please?

lloydhussell
Posts: 33
Joined: Fri Jun 03, 2022 6:01 am
languages_spoken: english
ODROIDs: N2+
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: OS for embedded/kiosk mode

Post by lloydhussell »

Okay, I found how to turn it on, but then how do I turn it back off once it's on that mode? Because I am then locked into the application.

Luke.go
Posts: 816
Joined: Mon May 30, 2016 1:55 pm
languages_spoken: english
Has thanked: 143 times
Been thanked: 139 times
Contact:

Re: OS for embedded/kiosk mode

Post by Luke.go »

Sorry for late reply.

You can make it by two ways.

First, try it turn off with the ODROID Settings apk like it be turn on.

Second, If you can communicate with adb, please type it.

Code: Select all

$ adb shell
$ vi /odm/default.prop
then, Please change kiosk_mode value to false

Code: Select all

...
kiosk_mode=false
...
After reboot, kiosk mode will be disabled.

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 0 guests