且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Xamarin Android:从另一个应用程序获取一个应用程序的状态信息

更新时间:2022-04-21 06:53:13

根据我的研究,我认为您可以在需要Mehitabel中的数据之前打开Archy.这是有关使用代码打开应用程序的演示.

Based on my research, I think you could open Archy before you need the data in Mehitabel. This is demo about opening an app in code.

 Intent launchIntent = PackageManager.GetLaunchIntentForPackage("NewTestApp.NewTestApp");
            if (launchIntent != null)
            {
                StartActivity(launchIntent);

            }

注意:NewTestApp.NewTestApp是Archy的程序包名称.

Note:NewTestApp.NewTestApp is package name of Archy.