[SDL] In-App Purchases
pallavnawani at gmail.com
Mon Sep 29 20:08:46 PDT 2014
Those other headers are not required, you can simply remove them.
ClassPath is the path for the main activity, like:
mClassPath = "
basically used to call the methods defined in the game's activity via JNI.
is used to ensure that JNI doesn't garbage collect local variables we
create via JNI before we are done using them. I am not quite sure whether
this works at all though, I just had it as a safety measure.
*IronCode Gaming Private Limited*
On Fri, Sep 26, 2014 at 9:58 PM, ruler501 <d.ruler501 at gmail.com> wrote:
> ruler501 wrote:
> Thanks for the code, it is greatly appreciated.
> It does seem to be missing a few headers though(XAppBase.h, misc/XF_Log.h,
> os/xf_os_android_jni.h) otherwise it seems to be working great, and though
> I'm not sure if we could make a library out of it, because of the android
> complications I think I could write some scripts to make it seem almost
> like a plug and play library.
> I managed to edit it so it would compile, but I'm not certain my edits
> were correct, what is mClassPath = pApp->mJavaClassPath; supposed to do? I
> just assumed it returned the path of the main package in my code.
> Also does XFOsAndroidManageLocalRef aLocalRef(aEnv); do anything? It seems
> the value was never used so I commented out those lines.
> I also had to remove most of the logging since that header was missing.
> SDL mailing list
> SDL at lists.libsdl.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL