Android Question Run external *.bas file?

ilan

Expert
Licensed User
Longtime User
hi

is there any possibility to make an app and then let it download a class that can be run in my app?
like creating a class (bas file) and the app can download it and after that run it without doing any updates?

thanks
 

ilan

Expert
Licensed User
Longtime User

thanx erel, i will have a look at it. the idea is to create an emulator that can run games created with xui2d and run them on android and ios. so it will have the possibility to download rom files (games) and be able to run them.

do you think this lib can do something like this?

EDIT: the games (roms) will be created of course using b4x.
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
No. The best you can do is to run JavaScript games inside WebView.

i dont know javascript. i would like to make them in b4j using xui2d.
i remember you have created a lib that can run math operations from a string.
its a "little" bit similar to what i was thinking to do but i understand that it is much more complex. right?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
i remember you have created a lib that can run math operations from a string.
It is written in B4X: [B4X] Eval (expressions evaluator)

its a "little" bit similar to what i was thinking to do but i understand that it is much more complex. right?
A bit like comparing these two :)

71QYCRGwIIL._SX466_.jpg


harley-davidson-custom-1250-1.jpg
 
Upvote 0

techknight

Well-Known Member
Licensed User
Longtime User
I have never messed with XUI2D yet, Although I should someday.

But it sounds like for what you are trying to accomplish, you need to write your own interpreter language that your software parses and executes to do what you want it to do, as well as being able to load the graphics assets from your file, or another file like a b4xobject.

Think of old school Commodore, Apple, TRS80, etc BASIC here.
 
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
i dont know javascript. i would like to make them in b4j using xui2d.
i remember you have created a lib that can run math operations from a string.
its a "little" bit similar to what i was thinking to do but i understand that it is much more complex. right?
I can tell you that it is not an impossible undertaking, but simply a ambitious one.

it would take too much time that it would be repaid only by the satisfaction of having succeeded
 
Upvote 0
Top