【问题标题】:Launch Activity from Native code从本机代码启动 Activity
【发布时间】:2013-11-13 05:26:21
【问题描述】:

有什么方法可以从 Native 代码启动新的 Activity?我的原生活动是启动器活动。

// main.c - launcher activities native code here
void android_main(struct android_app* state)
{
  // launch new activity from here.
}

【问题讨论】:

    标签: android android-ndk


    【解决方案1】:

    这篇文章对用例进行了巧妙的讨论。

    How to launch a new Activity using NativeActivity?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-02-01
      • 2012-01-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多