Notification not showing in Oreo
Normal Notification Builder doesn’t show notifications on Android O. How could I show notification on Android 8 Oreo? Is there any new piece of code to add for showing notification on Android O? 24 Answers 24
Normal Notification Builder doesn’t show notifications on Android O. How could I show notification on Android 8 Oreo? Is there any new piece of code to add for showing notification on Android O? 24 Answers 24
I am facing the problem while retrieving the contacts from the contact book in Android 8.0 Oreo java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation I am trying to get the contact in my activity from the phone contact book and it works perfect for Lollipop, Marshmallow, Nougat, etc but it will gives me the … Read more
I am using Service Class on the Android O OS. I plan to use the Service in the background. The Android documentation states that If your app targets API level 26 or higher, the system imposes restrictions on using or creating background services unless the app itself is in the foreground. If an app needs … Read more
On application launch, app starts the service that should to do some network task. After targeting API level 26, my application fails to start service on Android 8.0 on background. Caused by: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=my.app.tt/com.my.service }: app is in background uid UidRecord{90372b1 u0a136 CEM idle procs:1 seq(0,0,0)} as I … Read more