Google Play Game Services
#1
Apost 
Is there a way to get Google Play Game Services running with your engine.
There are three ways to init GPG:
 /**
  * When using Play Game Services with a standard Java Activity, JNI_OnLoad
  * should be called when the dynamic library's JNI_OnLoad is called.
  */
 static void JNI_OnLoad(JavaVM *jvm);

 /**
  * When using Play Game Services with a NativeActivity which is based on
  * android_native_app_glue.h, android_main should be called during your
  * activity's android_main, before any other Play Game Services calls.
  */
 static void android_main(struct android_app *app);

 /**
  * When using Play Game Services with a NativeActivity which is based on only
  * native_activity.h, ANativeActivity_onCreate should be called during your
  * activity's ANativeActivity_onCreate, before any other Play Game Services
  * calls.
  */
 static void ANativeActivity_onCreate(ANativeActivity *native_activity,
                                      void *savedState,
                                      size_t savedStateSize);


Which one should be use with your engine and when should it be called
What needs to be done to add libgpg.a
Reply


Messages In This Thread
Google Play Game Services - by the____tiger - 25 Mar 2017, 21:35
RE: Google Play Game Services - by Ketschak - 30 Mar 2017, 9:54
RE: Google Play Game Services - by Ketschak - 31 Mar 2017, 9:41

Forum Jump:


Copyright © 2011-2018 Spraylight GmbH.