Questions tagged [androidappsonchromeos]

Tag for developing Android apps that run on Chrome OS.

Resources

58 questions
0
votes
1 answer

Detect screenshots on Android apps running on Chromebook

I have a react native android application running on Chrome OS. Usually the android app calls a function to disable screenshots on phones like this: NativeModules.FlagSecure.activate(); However, this approach doesn't do anything on Chrome OS; I…
0
votes
2 answers

Cannot install Android Studio on Chrome OS: Error while installing package: package architecture (amd64) does not match system (arm64)

I cant seem to install Android Studio on my Chromebook and I cant find a compatible package on the website. Any way to get it working on this specific Chromebook? (Acer Chromebook Spin 513) About Chrome OS: Google Chrome 90.0.4430.218 (Official…
0
votes
1 answer

Android How can I catch a right click (tap 2 fingers on touch pad of a chromebook)?

This is my touch listener: var touchListener = OnTouchListener { view, motionEvent -> val action = motionEvent.action when (action and MotionEvent.ACTION_MASK) { MotionEvent.ACTION_POINTER_DOWN -> { …
0
votes
0 answers

Android App - File access fails on ChromeOS

My Android file browser fails to run on ChromeOS so I made a small test application to access files on my Chromebook. This fails, too: The program checks the start location exists (in this case "/"): File currentFolder; String pathname =…
David
  • 1,050
  • 1
  • 16
  • 31
0
votes
1 answer

Android management API for chrome devices

Actually I am working on my custom MDM for my working. I used android management api for enrolling the devices. I have successfully provisioned and applied policies on android mobile device. Now I have few question regarding android management Does…
0
votes
1 answer

Saving state when closing android app on chromeos

Our android app saves state before it is killed via (Activity::OnSaveInstanceState). The works well if the app is back grounded before being killed. (which one has to do before explicitly closing an app android) However on ChromeOS, android apps can…
Tom
  • 6,325
  • 4
  • 31
  • 55
0
votes
1 answer

Android Studio on Chromebook, does not recognise itself as a device

I need to install an app, from my project to my Chromebook. Now: 1. I have set developers mode ON 2. I have installed Android Studio. 3. I cloned the project, and it builds successfully. 4. I have installed adb on it. BUT I still cannot run, cause…
0
votes
1 answer

SSO to Office 365 Android Apps on ChromeOS

I'm working on a project where employees will receive Chromebooks. The plan is to use the native Office 365 Android Apps. The Chromebooks are configured to authenticate against Azure AD which is configured by using this…
0
votes
1 answer

Is there a way to smoothly update window size in floating mode on Chrome OS

So basically I need to update current floating window bounds (width, height, and maybe position) from already running Activity. I need this to smoothly transition from one screen to another. Is there a recommended way to do it? Thanks
0
votes
1 answer

How to have a android:background color and still retain the gray focus highlight for lists in Android?

I'm porting my app to Chrome OS and there are a few places in the app where arrow key navigation works, but the current focused element is not highlighted in any way. I've found that whenever I set a background color for an element like…
0
votes
1 answer

Chromebook giving error "ARC crash collector has stopped" after start-up

I am using a Chromebook Samsung 3 and I keep receiving the error "ARC crash collector has stopped" about 2 minutes after start-up. It appears as a pop-up window that I can close that instantly reappears, not allowing me to navigate around the GUI…
0
votes
1 answer

How to set the window decorator color on an Android app in Chromebook?

There are many "default" apps that have the window decorator matching the app color theme such as the Youtube or Google Play apps. My app otherwise has a gray bar (the bottom one in the pic) as most of the apps one can download from Google Play…
biquillo
  • 6,469
  • 7
  • 37
  • 40
0
votes
0 answers

How to detect programmatically if you app is maximized in chromebook?

I am porting my app to Chromebook as Google has announced for Android support in ChromeOS. I am struggling with a problem where I am getting system toast message "This app may not work when resized". My question is simple: a) how to detect…
1 2 3
4