我自定义了一个PandoraEntryActivity继承io.dcloud.PandoraEntryActivity
public class PandoraEntryActivity extends io.dcloud.PandoraEntryActivity {
@SuppressLint("RestrictedApi")
@Override
public boolean dispatchKeyEvent(KeyEvent event) {
System.out.println(event.toString());
return super.dispatchKeyEvent(event);
}
}
但是我如何在上述代码中将数据通信给uniapp。
ITMobai (作者)
离线打包就可以了,下载离线包,新增Activity然后继承io.dcloud.PandoraEntryActivity,然后AndroidManifest.xml修改一下主Activity就行了
2024-06-04 16:02