【问题标题】:Launch skype app in C#在 C# 中启动 Skype 应用程序
【发布时间】:2014-02-10 23:39:09
【问题描述】:

我想用 C 语言代码为 Android 应用程序启动 Skype 应用程序。就像我们在原生 android 中启动一样

Intent LaunchIntent = getPackageManager().getLaunchIntentForPackage("com.skype.raider");
startActivity( LaunchIntent );

我们如何在 C# 中实现这一点?任何帮助将不胜感激。

【问题讨论】:

    标签: c# android skype


    【解决方案1】:

    基本上你在做的事情和在 java 中一样,只需要对 Mono c# 实现稍作调整。假设您在 Activity 中执行此操作。

    var intent = PackageManager.GetLaunchIntentForPackage("com.skype.raider");
    StartActivity(intent);
    

    【讨论】:

      猜你喜欢
      • 2019-10-24
      • 1970-01-01
      • 1970-01-01
      • 2014-01-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-08-07
      相关资源
      最近更新 更多