I am trying to open the phone's settings with this code :
B4X:
Dim i2 As Intent
i2.Initialize("", "")
i2.SetComponent("com.android.settings/.Settings")
StartActivity(i2)
but I get this in log :
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.settings/com.android.settings.Settings}; have you declared this activity in your AndroidManifest.xml?
Dim i2 As Intent
i2.Initialize("", "")
'i2.SetComponent("com.android.settings/.Settings")
i2.SetComponent("com.android.settings/.deviceinfo.Status")
StartActivity(i2)
it works only with the android emulator.
when I try galaxy s4 -
still doesn't work.
same error
looks like it prints twice the "com.android.settings" in the log...
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.settings/com.android.settings.ACTION_SETTINGS}; have you declared this activity in your AndroidManifest.xml?