Start another app's activity

kanaida

Active Member
Licensed User
Longtime User
I'm trying to emulate the following but can't seem to get the syntax right:

B4X:
Intent intent = new Intent();
intent.setComponent(new ComponentName("com.example", "com.example.MyExampleActivity"));
startActivity(intent);

Here's what i've tried:
B4X:
Dim i As Intent
i.Initialize(I.ACTION_MAIN,"com.android.settings.deviceinfo.Status")
i.SetComponent("com.android.settings")
StartActivity(i)

I'm just trying to directly show the Settings\About Phone\Status
Event better if I can read just the PRL version value directly somehow.
 
Top