From Any Native Activity to LibGDX Activity :
Yes, It is possible to launch a LibGDX screen from an Android Activity
.
AndroidLauncher.java
is a launcher Activity
of LibGDX and In Android you can move from one activity to another using Intent
.
intent = new Intent(this, AndroidLauncher.class);
startActivity(intent);
From LibGDX Screen to any Native Activity :
Any Screen of LibGDX is nothing more than a View of AndroidLauncher
activity. You need to use interfacing to call android specific APIs and move to another Activity.
You need to maintain OpenGL Context Loss.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.