android activity to libGdx screen -


how possible move android activity libgdx screen . implementing facebook api in libgdx game. whenever press facebook button in game, takes me android activity logs me facebook , displays information using interface in core project.

public void loginfacebook() {          handler.post(new runnable() {             @override             public void run() {                 intent intent = new intent(context, loginactivity.class);                 context.startactivity(intent);             }         });      } 

now i'm wondering how achieve same thing reversed.

how can move results page (android) mainmenu screen (libgdx core)?

any screen of libgdx nothing more type of view of androidlauncher activity.

when open other activity using interface activity having libgdx view paused , fold in background.

you can use intent move libgdx activity activity.

intent intent = new intent(this, androidlauncher.class); startactivity(intent); 

or possibly finish() can go previous activity.


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -