I have developed and deployed my first cross platform B4X project, Farm Finder, a small utility app for accounts of agricultural truck drivers so see at a glance how far a farm is, how much the trip pays, gps coordinates, and an old farm name if it's changed names recently. It also launches the appropriate maps app and drops a pin on the driveway if requested by the driver. Since it can be used by multiple accounts at multiple companies, it comes with no data installed. It must be entered by the account management, then distributed to the drivers via data update package in an email.
These update packages are sent by placing base-64 encoded csv data on the clipboard and instructing the manager to paste it into the body of an email and send it. The driver reads the instructions at the top of the email which instructs them to touch and hold on the email till the cut n paste menu comes up, touch Select All then Copy and start the app. The app then detects the update and asks to install it. This process must be repeated every time a farm is added or removed or changes names, or pay rates change. This all works very well. but... Some of the drivers are not techies, and someone else must install the update for them.
I'm thinking a better way to do all this would be to have the data on a server on the internet, and each time any data is altered, a complete data package sent to the server as soon as it is entered. Then, each time a driver brings up the app, ie. B4XPages_Appear, it would transparently look to the server and download and install any new updates.
My question is this. I'm not sure if I should use https get, or ftp, or a raw socket connection, or maybe something else I haven't considered. I could use https and have an ASP script on the backend for the processing. But I'm steering towards ftp I think, and wanted to ask you all if there were any better ideas.
Sorry for rambling, and thank you for listening and for any input you have.
These update packages are sent by placing base-64 encoded csv data on the clipboard and instructing the manager to paste it into the body of an email and send it. The driver reads the instructions at the top of the email which instructs them to touch and hold on the email till the cut n paste menu comes up, touch Select All then Copy and start the app. The app then detects the update and asks to install it. This process must be repeated every time a farm is added or removed or changes names, or pay rates change. This all works very well. but... Some of the drivers are not techies, and someone else must install the update for them.
I'm thinking a better way to do all this would be to have the data on a server on the internet, and each time any data is altered, a complete data package sent to the server as soon as it is entered. Then, each time a driver brings up the app, ie. B4XPages_Appear, it would transparently look to the server and download and install any new updates.
My question is this. I'm not sure if I should use https get, or ftp, or a raw socket connection, or maybe something else I haven't considered. I could use https and have an ASP script on the backend for the processing. But I'm steering towards ftp I think, and wanted to ask you all if there were any better ideas.
Sorry for rambling, and thank you for listening and for any input you have.