Questions tagged [cosu]

48 questions
3
votes
2 answers

Launch application after PackageInstaller finished (self) updating

After the PackageInstaller successfully (self) updates the application, the application closes and doesn't launch again. Possible duplicate: Android PackageInstaller, re-open the app after it updates itself The situation is pretty similar, ill show…
3
votes
0 answers

Kiosk mode for tv app

I've integrated kiosk mode for an android app that runs on TV using http://www.andreas-schrade.de/2015/02/16/android-tutorial-how-to-create-a-kiosk-mode-in-android/. As per the kiosk mode only my app is opening on boot completion.But the problem is…
Daniel
  • 51
  • 4
3
votes
1 answer

android COSU single app - lock for browser and just one web-app on gadgets

I'm not experienced with Android. I want to setup some tablets in such a way, that the gadgets are locked to just one web-app. I think it should be somehow locked to a Browser (which in turn should open directly after the launch of the tablet with…
3
votes
0 answers

How do I enforce COSU in React Native?

I am currently trying to implement COSU in React Native, specifically the functionality to lock down the user from accessing non-whitelisted apps at a certain time. I would also need the non-whitelisted apps to display a lock screen. How do I…
3
votes
2 answers

Mobile Device Managed Single App Devices

I like to have single android app in our managed devices, we want only that app to be used on the device with necessary restriction, such that, Single use - Device will have only one app, user can't use other apps, like browsing, youtube or…
Vikas Pandey
  • 1,115
  • 1
  • 15
  • 25
2
votes
1 answer

Does Android management API support custom DPC apps?

https://developer.android.com/work/dpc/build-dpc Caution: Android Enterprise is no longer accepting new registrations for custom device policy controllers (DPCs). Learn more. Hi @Fred, I found this above information from the mentioned path. I…
2
votes
1 answer

Unable to install apk after device provisioning (Android 8.0)

We are developing a COSU app using Android Management API and QR code provisioning. We're planning to distribute app with private Google play, but for now I'm trying to make it work with manual installation using apk. That's how it should work: A…
anro
  • 1,300
  • 16
  • 30
2
votes
1 answer

PackageInstaller error when pragmatically updating app

I have a class called CosuUtils that follows this class pretty closely. I am programmatically updating an application that is a device owner. This works fine in Android 6 but I'm getting the following error when trying to update in Android 7.…
2
votes
1 answer

Android Management API (COSU) on AndroidTV?

Android Management APIs are supposed to be "compatible with any device running Android 5.1 or above that has Google Play installed." I really want that to be true, but am having trouble with Android TVs. (Specifically, a NexBox A95x and a TX3mini…
2
votes
2 answers

Build Applications for Single-Use Devices

I have tested build applications for corporate-owned, single-use (COSU) code from google for single app use case where there will be one app locked on the screen. It works well, but the app need to be device owner to use lockTask. For testing…
Vikas Pandey
  • 1,115
  • 1
  • 15
  • 25
2
votes
0 answers

Cannot access system dialogs in Android KIOSK mode

I am trying to connect external fingerprint scanner to the Android application which is in Kiosk mode(Android COSU). A system dialog should be displayed to ask for the permissions in order to access the fingerprint scanner. However, In kiosk mode,…
2
votes
2 answers

Perform calls in Android Locktask mode

TL;DR How to make a phone call while using Activity.startLockTask()? I'm trying to setup a restricted environment on an Android device, i.e. what is usually called "Kiosk-Mode". Official documentation can be found…
darken
  • 807
  • 12
  • 25
1
vote
1 answer

How to keep the unique id for dedicated device in Android management api?

We are developing an emm console. Currently we are facing one issue with device data. How to get the unique id from the device provisioned via enrollment token using Android management api. A is an enterprise, we enrolled the mobile device to the…
1
vote
2 answers

How to automatically power on an Android COSU device when plugged in?

I want to setup some tablets in a way that they automatically turn on and open my application when connected in a power source. Those tablets will be all COSU devices and my application is a single app. I have read the docs and the closest policy…
gpedote
  • 48
  • 1
  • 8
1
vote
0 answers

How to update android COSU apps

I am trying to make one android application which is implemented using android COSU. But I am stuck now to update the app, few doubts that comes in my mind: 1) After updation what about the Device Owner Privileges that were set up earlier ? 2) We…