Hi, I need to open notifications settings via intent, on Android 7 I used the this code below and works fine, but in Android 9 or 10 it returns "activity not found".
B4X:
Dim in1 As Intent
in1.Initialize("android.settings.APP_NOTIFICATION_SETTINGS", "")
Dim jo As JavaObject
in1.PutExtra("app_uid", jo.InitializeContext.RunMethodJO("getApplicationInfo", Null).GetField("uid"))
in1.PutExtra("app_package", Application.PackageName)
StartActivity(in1)
I search over internet and I found this code in java and convert to B4A, I don't know if I did something wrong
I have been using Barx's great notification builder library for a while. But now, I thought that maybe I should check current Notifications API with Channels and Erel's class NB6. I noticed that Google removed some methods and that some things that I used before are not implemented in the NB6...
I have been using Barx's great notification builder library for a while. But now, I thought that maybe I should check current Notifications API with Channels and Erel's class NB6. I noticed that Google removed some methods and that some things that I used before are not implemented in the NB6...