Top "Android-8.0-oreo" questions

Android 8.0 Oreo (API level 26), formerly known as "Android O".

How can I reliably simulate touch events on Android without root (like Automate and Tasker)?

How can I reliably simulate touch events on Android (without rooting) from Java outside my app which runs as a …

java android android-8.0-oreo accessibilityservice
How Do We Leave Picture-In-Picture Mode?

We have enterPictureInPictureMode() to move an activity from its current form into a picture-in-picture representation. What is the means by …

android android-8.0-oreo android-picture-in-picture
Android O - Detect connectivity change in background

First off: I know that ConnectivityManager.CONNECTIVITY_ACTION has been deprecated and I know how to use connectivityManager.registerNetworkCallback. Furthermore …

android android-service android-8.0-oreo
Android Oreo notification keep making Sound even if I do not set sound. On Older version, works perfectly

So I am making my app compatible with Oreo and facing issue with notification. I added notification channel according to …

android android-8.0-oreo
How to find out the Notification channel Id from RemoteMessage

I registered notification channel in Android app following GoogleSamples https://github.com/googlesamples/android-NotificationChannels However how can I get notification …

android firebase firebase-cloud-messaging android-8.0-oreo
Runtime exception Android O with boot_completed

I'm trying to start an IntentService within my BOOT_COMPLETED receiver, but in Android O (API 26) I get: java.lang.…

android android-broadcastreceiver bootcompleted android-8.0-oreo
How to remove old notification channels?

My app now has 3 notification channels, I want to remove 2 of them. I thought simply not registering 2 channels would do …

android notifications android-8.0-oreo notification-channel
Get Device mac adress in Android Nougat and O programmatically

I have an application, which required device mac address. I'm getting mac address in Marshmallow and below easily but problem …

android android-7.0-nougat android-settings android-8.0-oreo
Unable to resume activity with java.lang.IllegalArgumentException on Android api >=24

There is a crash in my app on devices running version 7.0, 7.1.1 and 8.0.0 with the following stacktrace: Fatal Exception: java.lang.…

android android-activity android-8.0-oreo android-7.0-nougat