Hello,
I and a friend of mine are developing a game with GLBasic primary for the Android platform.
Now we are thinking about the business model.
Either we would set a specific price for the game or we would set it as a free game where the players could buy in-game item for real money.
The second alternative would be our favorit, but we do not know whether this is possible with GLBasic.
Is there a way to program In-App payment and purchase of in-game items with GLBasic regarding the Android platform?
Best wishes,
Miroslav
If you knew the correct Java code, you could probably incorporate it into the compiling system. However whilst its probably possible, no-one has done it yet...
Inline as I know is not supported for android, hence not possible. A very big request for v11, eventuelly a single function call as the idea under request forum.
Inline certains compiles on Android...
with c code, yes of course, but its require a lots of java calls, so its need a java implentation. Its java part I was thinking its not possible using inline?
No, you can't use Java inline - any extra code needs to be added to the stuff used by the compiler...
As long we can't do a IMPORT "JAVA" int foo(), and call foo in SDLActivity.java or user.java (or something like that), then its would been impossible to do me think.
I requested that some month ago, but more simple way to call a java function inside SDLActivity.java, that could call other java functions. Its some sort of boilercode, but nothing can do about it.
I think here is more info and its something I cannot do that, but think need to been done in core (most seen allready included due SDL):
http://android.wooyd.org/JNIExample/