- Home /
can a server based android application be built in Unity?
i want to make an android application like: involves server, form like interfaces , drop down menus saving data in server etc...
can I make this this type of application in unity?
i want to save the data locally in an android phone through forms having multiple input fields, and then, (obviously when there is no internet connection), As soon as a connection is established, the data saved locally must be saved inside a database as well as access the data when needed
Answer by JVene · Jul 21, 2018 at 02:18 PM
You could, but why? From what little information you've stated, I doubt Unity is a good choice for you. Form like interfaces would be a big stopping point, unless you have some UI in mind that involves a 3D rendering engine.
That said, there really isn't much of a restriction on what you can do with C# in Unity. Students learning C# from Unity tend to think of scripts, as if scripts were a central programming concept (but they aren't). In a more traditional project, Unity would be a framework consumed by a C# application (or a C++ application), instead of what appears to be the other way around. Users tend to think of what they build as a Unity application where C# is a way of attaching small scripts to customize Unity.
Yet there's no obstacle to thinking in terms of a C# application that Unity merely initializes conveniently for 3D or 2D animated rendering. You can add to the solution, creating new classes, opening connections to servers, just about anything C# can do within the context of an application focused on providing output through a graphics display rather than a traditional OS GUI.
More complex scenarios are possible with some additional work. Consider the Unity editor itself. The Unity graphics system is available to the editor, but the editor is otherwise a conventional GUI oriented application, built to be portable to Linux, MAC and Windows.
i want to save the data locally in an android phone through forms having multiple input fields, and then, (obviously when there is no internet connection), As soon as a connection is established, the data saved locally must be saved inside a database as well as access the data when needed
Ok, we've had a miscommunication on terms.
Forms is a Windows program$$anonymous$$g idiom related to GUI for business applications (the layout of fields for users to write information on).
I think you're using the word forms to describe, for example, the layout of a SQL database.
So now I'm thinking you're inquiring about persistence data.
There are light SQL apps available for Android. Then, too, depending on what you're actually talking about, C# offers LINQ. Look into LINQ to see if that's what you want.
Your answer
Follow this Question
Related Questions
File paths on Android 0 Answers
Secure APK with Server side 0 Answers
Include data from an eclipse Android project into my Unity project 1 Answer
Connecting multiple platforms to one server 2 Answers
Unity as server side? 0 Answers