Comments (13)
Thank you so much, it works without rooting.
https://sdgsystems.com/blog/implementing-kiosk-mode-android-part-3-android-lollipop
this link helped me.
from kioskmode-android.
You must set your app as Device Owner (without Google Account Signed In)
Screen Pinning Android Lollipop without Rooting
set Your App as Admin/Owner, please open terminal
adb shell dpm set-device-owner net.derohimat.kioskmodesample/.AdminReceiver
from kioskmode-android.
Hi,
I need to install in the actual device so I don't think I can access the terminal.
any other way.
Thanks
from kioskmode-android.
@ravenet for access terminal and execute that command you can access from your laptop, and access devices via ADB
from kioskmode-android.
@derohimat I install app and then run code in Android Studio shell
adb shell dpm set-device-owner net.derohimat.kioskmodesample/.AdminReceiver
but it throws error
Not allowed to set the device owner because there are already some accounts on the device
Can you help me? My android is 7.0,Thanks
from kioskmode-android.
Not working always gives error even after factory reset.
'Not allowed to set the device owner because there are already some accounts on the device'
from kioskmode-android.
@hzshang @RaziaSandhu it's because your phone actually already has device owner, you must remove it before run the command
from kioskmode-android.
https://stackoverflow.com/questions/26561029/android-uninstall-device-administrator-using-adb
from kioskmode-android.
I've tried all these solution but no success. I have no accounts and device admin is unchecked in settings.
from kioskmode-android.
This code worked perfectly on rooted device, but not on simple devices.
from kioskmode-android.
this is a reference, hope it will help you @RaziaSandhu
since android 5.0 :
Android 5.0 Lollipop introduced two new ways to configure Android devices for a single purpose:
-
With app pinning, the device user can temporarily pin specific apps to the screen.
-
With lock task mode, a user canβt escape the app and the Home and Recents buttons are hidden. Additionally, lock task mode gives the IT administrator a more robust way to manage COSU devices, as discussed below.
detail from here.
https://developer.android.com/work/cosu.html#pinning
and here some reference too
https://sdgsystems.com/blog/implementing-kiosk-mode-android-part-3-android-lollipop
from kioskmode-android.
Need to root the device first?
from kioskmode-android.
@RaziaSandhu no need to rooting first. Just follow step by step.
OK, you are wellcome
from kioskmode-android.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kioskmode-android.