This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

Is it possible to build a module that works simultaneously on Andorid, IOS and Windows ? I'm trying to build a SQLITE driver using the already existing project gdsqlite, which is only PC oriented.

My intention is to fork or contribute the existing one and add the other 2 missing platforms.

Is this possible to do this given the actual Godot Module framework ?

Where I can find examples of such feat ? Godot's official documentation only shows examples for modules for a single platform.

in Engine by (12 points)

I think you can make your module work on any platform as long as it doesn't relies on something platform-specific (such as how the filesystem works or OS-specific system calls that are not handled by Godot already).

In the case of SQLite it seems to me file access is the only thing you need, since it does nothing else than storing data in a file and read/write stuff in and out depending on requests.

Why is the existing version PC-oriented?

Thanks for your fast response. The reason why I'm sure that this is only PC oriented id due the fact that android only allows sqlite access on store application using Android's JAVA API and if you closely look at the existing module it relies on the old standard C++ library. Checkout this:

https://github.com/khairul169/gdsqlite/blob/master/gdsqlite.h

I don't get why you would have to use the Java implementation of sqlite :|
They say it on their website, it's just an extension of fopen and fwrite using SQL commands. Nothing fancier than interacting with an elaborate XML file. I don't even think you need sqlite if you have to talk to a service that uses sqlite as backend (because you only have to write SQL).

What do you need sqlite for? You need to open your own database file? Or is it a database you don't own / remote database?

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.