Questions tagged [device-owner]

A specialized type of Android device administrator

Android 5.0 introduces the ability to deploy a device owner app. A device owner is a specialized type of device administrator that has the additional ability to create and remove secondary users and to configure global settings on the device.

149 questions
0
votes
0 answers

Android device owner app access other apps files

I am working on a KIOSK device, and I have two apps on the device. One is the device owner, the other isn't. I am trying to access the /data/data/not_device_owner_app/files/.. and load files from the device owner application. I am getting a…
Bako
  • 313
  • 1
  • 15
0
votes
1 answer

KIOSK: Activity transition while keeping lock task to avoid "pinned" "unpinned" toasts

I am creating a KIOSK application for a specific device. The application is the device owner. While the application had only one activity, I solved this problem calling startLockTask() in onResume(). The problem now, I have multiple activities and I…
Bako
  • 313
  • 1
  • 15
0
votes
2 answers

Unable to set device owner through programmatically

I tried to execute the following code to set my app as a device owner. I can't use ADB because I have more than 10K android-9 non rooted devices. So, Need to do this programmatically. String name = AdminReceiver.class.getName(); if…
kashyap
  • 498
  • 1
  • 6
  • 21
0
votes
2 answers

Device Owner "Kiosk" App boots before BOOT_COMPLETED and lock task replaces user lock screen for PIN password

I developed a Device Owner App (Full Kiosk) and in Lock Task Mode, that once installed on a provisioned device, it's instructed to set itself on the top of the screen. Everything was fine until some day ago, when on some devices, after a firmware…
0
votes
2 answers

Distributing Private apps through Android Management API

I am using Android Management API for setting up kiosk mode. I was able to create an enterprise, enroll a couple of devices, install the apps available in store and control it via policies. It works just fine. Now I want to publish my app to Play…
itdeeps
  • 277
  • 10
  • 25
0
votes
1 answer

Provisioning an Android device using NFC

I have an android device with this app installed on it. Then have a second device that I have factory-reset. Both are NFC enabled. And I am trying to provision the second device with a device owner application. I want to understand how this works. I…
nwagu
  • 532
  • 3
  • 17
0
votes
1 answer

Does uninstalling the application removes the device owner settings the application has utilized?

I'm trying to create an application that can disable or hide other applications. After going through some online resources i found out that i have to make my application the device owner to do so. I would like to know, if i make my application the…
0
votes
0 answers

Remove notification "Device is managed by your organization" while Device Owner

When I set my Custom DPC as Device Owner after provisioning on Setup Wizard, at the end of the provisioning, a notification appears. The title of this notification is "Device is managed by your organization". Here is a screenshot: Do you know how…
Bazouk55555
  • 557
  • 6
  • 24
0
votes
1 answer

Should I sign my Android APKs even though they are only used in an enterprise/private context?

I am building an app that is installed on multiple private enterprise android devices on which I am the device owner. Should I bother signing my apps in this context, as they will only be side loaded, never posted on Google Play? What could or…
Tribble42
  • 3
  • 2
0
votes
0 answers

How to add specific system app while provisionned device using QR

I tried to provisioned my android device using QR code. The QR code contains all the information concerning my DPC so that it becomes device owner. Everything is working except one thing. I would like to have my own system apps after provisioned. I…
Bazouk55555
  • 557
  • 6
  • 24
0
votes
0 answers

Set system app as lock task package using device owner

My app is a system signed Device-owner app, and i would like to set my own app in lock task mode. However the method in DevicePolicyManager setLockTaskPackages doesn't work for system apps even if its the same app calling. …
0
votes
1 answer

Android ContentProvider and Service in Multi-User Devices

In a multi-user Android device and when we switch to other secondary user (either using Ui or programmatically), does Android keep any of Primary user components alive , for example started ContentProviders or background Services
issamux
  • 1,336
  • 1
  • 19
  • 35
0
votes
1 answer

Android QR Provisioning using basic auth

I'm build an Android kiosk app (runs as Device Owner) that will not be in the Google Play Store and will be provisioned by QR Code. Until now, things have been working pretty well. I can sign my app, build a QR code and get a factory reset tablet…
0
votes
1 answer

Default Policies applied after QR provisioning - Unable to install apps

I'm trying to provision my 7.0 device through QR provisioning. The provisioning was done successfully but default policies have been applied and i'm not unable to change it. These policies are configurable when i provision my device through adb…
Nivil Boban
  • 286
  • 1
  • 13
0
votes
1 answer

dpm set-device-owner not working in redmi note 4

I am trying to make an application device-admin, for that I'm following Developing a Device Administration Application And when I try to run below command ./adb shell dpm set-device-owner com.example.app/.receiver.AdminReceiver it gives…
umesh
  • 1,148
  • 1
  • 12
  • 25
1 2 3
9
10