Hi, I'm a newbie in programing (for mobile and in general) and I'm trying to develop an app that give the users 'cultural informations' (like the cultural events of the month). I'll need to update the information in the app monthly (to allow the users to see the cultural events every month). I don't know how to do that: do I need to pay a server host to distribute all the information? Can I use cloud service?
I hope that someone could help me.
Thanks!
Comments
Our crew numbers are increasing rapidly...
o-+ o-+ o-+ o-+ o-+ :ar! :ar! :ar! :ar! :ar! :ar! :ar! :ar! :ar! :ar! :ar! :ar!
With the urlloader class it is so easy to do that. Please have a look at those threads to have some basic knowledge. Than if you have further questions feel free to ask
UrlLoader Reference Manual Link
1-http://www.giderosmobile.com/documentation/reference_manual.html#UrlLoader
So much good example of calling Web-Services from Gideros by @joelghill
2-http://li229-214.members.linode.com/forum/discussion/2111/calling-a-webservice
Just in case a definition of Htpp protocol Post-Get and other
3-http://jmarshall.com/easy/http/#othermethods
Note:
By default urlloader.new is using get method. I become so much confused in the beginning till i discover this. So i am sharing in the beginning
Likes: victor_cappa
Likes: victor_cappa
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
The easiest way to update your app is simply to put a json file with all your events, data, links etc, in your public dropbox folder, then just use the urlLoader class to download it when the app runs.
You can store a copy locally in case the app runs and there's no internet connection.
You can then parse the content to show the data however you want. The core part could be implemented in less than an hour - yes Gideros / Lua / json files are that easy to use and so flexible it's just plain silly.
When you want to update the information in the app, just edit the json file and copy it to your dropbox folder.
Have a look on the forum, I posted a library to read / write JSON files elsewhere (in fact it's here)
Likes: victor_cappa
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
regards from Brazil
Update: alas it wont be available anymore with new dropbox account http://www.slashgear.com/dropbox-confirms-public-folder-phase-out-15234163/
Likes: victor_cappa
http://www.nightspade.com
Public folders will still continue to work after the phase out - just create an account (or 6) now and your sorted.
Even if dropbox public folders no longer work - you just need to find a bit of online space (Google sites works as well) where you can host a file, if you use your own hosting, then you just have to make sure you have enough monthly bandwidth to accommodate the usage, one trick I learned is to have a settings file, that contains links to all the download urls, then providing you don't move the settings file your app will continue to work even if you need to change the urls (just edit the settings file). I also usually put a version number in the settings file so the app can know instantly if it's out of date and should get a new version.
Likes: victor_cappa
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
Likes: victor_cappa
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill