In-App regarding Android?

Previous topic - Next topic

Miroslav-Stimac

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
PC: AMD Phenom II X4 955 BE, Microsoft Windows 8 64 Bit, 12 GB DDR3-RAM, 2 TB hard disk, NVidia GTX 560

Home computers:
1. Commodore 64, 1541-II floppy, Final Cartridge 3
2. Commodore Amiga 1200, Blizzard 1230-IV, FPU 50 MHz, 16 MB fast memory, 4 GB Flash HD
3. Atari Mega ST2

MrTAToad

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...

spacefractal

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.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrTAToad

Inline certains compiles on Android...

spacefractal

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?
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrTAToad

No, you can't use Java inline - any extra code needs to be added to the stuff used by the compiler...

spacefractal

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/
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/