Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / AGK / Server and SQL

Author
Message
puzzler2018
User Banned
Posted: 18th Mar 2019 21:39
Hello

Im developing some tools for work to be able to create some GUI software on Android tablets, the software requires to communicate with a server and an SQL Database

Can this be done?

Thanks in advance
Tier 1 Developer
puzzler2018
User Banned
Posted: 18th Mar 2019 21:45 Edited at: 18th Mar 2019 21:45
If not, then i can still create the GUI and the responses to create a text file using RAW: to send the result file to a server location and the i create a C# app to run every minute which reads that text file to do all the back end stuff for me

)))))
Tier 1 Developer
GarBenjamin
AGK Developer
7
Years of Service
User Offline
Joined: 30th Nov 2016
Location: USA
puzzler2018
User Banned
Posted: 18th Mar 2019 21:55
Wow - thank GarBenjamin - ill have a browse for that - would be very useful
Tier 1 Developer
Ortu
DBPro Master
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 19th Mar 2019 01:03
Sqlite is typically for local data, and i don't know of one for agk, only dbpro.

You definitely don't want to hammer a file system or poll for a text file.

Use the http web request commands to communicate with a web server.

The server can implement the database handling and pass the results back to the app.

Is this a windows server or linux?
Sql server or mysql?



http://games.joshkirklin.com/sulium

A single player RPG featuring a branching, player driven storyline of meaningful choices and multiple endings alongside challenging active combat and intelligent AI.
2D Analyst
AGK Developer
20
Years of Service
User Offline
Joined: 2nd May 2004
Location:
Posted: 19th Mar 2019 01:28
Exactly what the user above mentioned. Using http communications will allow you to pass data from AppGameKit to http to server side script such as php, asp.net, etc to sql dB.

LAMP is probably the most popular open source setup. Linux Apache MySQL PHP.

Login to post a reply

Server time is: 2024-11-26 17:00:27
Your offset time is: 2024-11-26 17:00:27