从Native代码启动Activity

时间:2013-11-13 05:26:22

标签: android android-ndk

有没有办法从Native代码启动新活动?我的原生活动是发射器活动。

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

1 个答案:

答案 0 :(得分:0)

这篇文章对用例进行了简洁的讨论。

How to launch a new Activity using NativeActivity?

相关问题