Holy Grail

Previous topic - Next topic

MrPlow

I would love it if GLB allowed easy external library and in-line java coding!
Like the in-line c++ feature but for Java.

:whistle:
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

MrTAToad

You'll have Gernot running around with his underpants on his head and running around proclaiming he is King of the Jellybeans...

fuzzy70

He might if you make him a Shrubbery  :D.

Honestly though can't see it happening due to it being limited to some platforms & not all, inline c++ works on all whereas Java doesn't.

Lee
"Why don't you just make ten louder and make ten be the top number and make that a little louder?"
- "These go to eleven."

This Is Spinal Tap (1984)

MrTAToad

Another problem is that Gernot would have to create/find a Java to C++ converter.  There are some, but they are all commercial programs.

spacefractal

You cant do that at all to mix various languages that way.

Instead we have IMPORT to do that, so we can call c objective on iOS. Its could have been done same way with Java eventuelly, but im thinks its only relavant on Android. Android Extras does this very much, when im found a way to call the Java Virtual Machine. Its some sort of hack, which could have been done with IMPORT.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Kitty Hello

it would be an idea to make a function:
JAVA_CALL("function_name", array_of_string_args$[])

Is that possible? I'm not a java king.

spacefractal

Use the java Call function im created for android Extras. The most limit is howover its does one special Call to a function and split the string in the java part.

Property IMPORT could do the job and replace that function.

This would only work on Android. No idea on other systems.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/