Android Question StartActiviti Intent

FabioG

Active Member
Licensed User
Longtime User
Hello,

I do not find the way to run this java code in B4A

Code:
startActivity(newIntent(android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS,Uri.parse("package:my.package.app")));

can someone help me ?

Thanks!
 
Code:
Dim in As Intent
in.Initialize("android.settings.APPLICATION_DEVELOPMENT_SETTINGS", "package:my.package.app")
StartActivity(in)

Thanks but not work

Code:
(ActivityNotFoundException) android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.settings.APPLICATION_DEVELOPMENT_SETTINGS dat=package:com.android.camera2 flg=0x20000 }

other suggestions?
 
Upvote 0
Back
Top