HI dear @Erel.
In new Android, it seems that it can not be used without auto start permission . I tested that I need this access to start
Is it possible to convert this from Java to B4X Language?
Java:
Intent intent = new Intent();
intent.setComponent(new ComponentName("com.miui.securitycenter",
"com.miui.permcenter.autostart.AutoStartManagementActivity"));
startActivity(intent);
Dim in As Intent
in.Initialize("", "")
in.SetComponent("com.miui.securitycenter/com.miui.permcenter.autostart.AutoStartManagementActivity")
StartActivity(in)
Dim Intent As Intent
Intent.Initialize("miui.intent.action.APP_PERM_EDITOR","")
Intent.SetComponent("com.miui.securitycenter/com.miui.permcenter.permissions.PermissionsEditorActivity")
Intent.PutExtra("extra_pkgname",Application.PackageName)
StartActivity(Intent)