Hi all...
i have to develop an app for iOS and Android devices (iPhone, iPad, Android phones and tablets) and actually i'm searching the right tool for the Job.
I have to write an app for a insurance Holding Company. This app should be used to send car accident reports to an Enterprise ERP backend.
For example :
- An insurance employee Comes to an customer and he hast to enter some text informations about the accident in some text fields / checkboxes etc.etc... he also has to add some Pictures from the car to this "Report"
Now i have some questions about LiveCode..
1. Can i save data locally on the iPhone in a local database ? (if so.. what Kind of db is supported out of the box with LivCode) ?
2. I have to add the accident-report in "offline-mode" because we can not guarantee that the employee is allways connected. When he Comes back to his Office or has access to mobile data Services then he can press a button in the app and the data should be send to the backend System using a REST Service or SOAP Webservice. Does LiveCode Support REST and/or SOAP Webservices ?
3. I Need the app to be multilangual (English, german, French...). How can this be done in LiveCode ?
THX
Fenderbaum
Is LiveCode the right tool for me ??
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 328
- Joined: Mon Dec 05, 2011 5:34 pm
- Contact:
Re: Is LiveCode the right tool for me ??
Hi,
In answer to your questions:
1) Yes you can save data locally, in an SQLite Database, Text files, XML files or whatever filetype you prefer. As far as the database side goes though, SQLite is the main option - that is available out-of-the-box with no extras needed.
2) SOAP is just a fancy way of saying 'send XML via POST/GET to a server'. Basically yes is the answer. How you package your SOAP XML is really up to you - there are XML handling tools in Livecode as standard, but you would probably find it easier to just construct the XML string manually. Sending it to a server is a very, very easy process:
Obviously that is a very simple example - but the reality is not much different.
3) Livecode supports Unicode fields and text. The exact mechanism of how you alter the labels, etc of your App is completely up to you, but I would simply use a separate file for each language and have the text for each label/button one a line for each. Again, it's pretty simple really.
The 'fun' part of the development is not so much what you can do as the task (most business level stuff is pretty easy), but handling the various resolutions of Android devices is a pain in the <insert location here>. Supposedly later in August RunRev will be releasing a version of LC that will alleviate some of that problem, but I don't know any details.
BTW, you can also access the cameras on devices and grab images which you could also store - great for Insurance photos to go along with the reports. I've done a couple of little tools which do most of what you refer to, but in a different field of work, so I can say with certainty that you would be able to do all that you want with relative ease.
Cheers,
Dave
In answer to your questions:
1) Yes you can save data locally, in an SQLite Database, Text files, XML files or whatever filetype you prefer. As far as the database side goes though, SQLite is the main option - that is available out-of-the-box with no extras needed.
2) SOAP is just a fancy way of saying 'send XML via POST/GET to a server'. Basically yes is the answer. How you package your SOAP XML is really up to you - there are XML handling tools in Livecode as standard, but you would probably find it easier to just construct the XML string manually. Sending it to a server is a very, very easy process:
Code: Select all
put myXMLSOAPDataVariableThingy into URL( theServerURLandPath )
3) Livecode supports Unicode fields and text. The exact mechanism of how you alter the labels, etc of your App is completely up to you, but I would simply use a separate file for each language and have the text for each label/button one a line for each. Again, it's pretty simple really.
The 'fun' part of the development is not so much what you can do as the task (most business level stuff is pretty easy), but handling the various resolutions of Android devices is a pain in the <insert location here>. Supposedly later in August RunRev will be releasing a version of LC that will alleviate some of that problem, but I don't know any details.
BTW, you can also access the cameras on devices and grab images which you could also store - great for Insurance photos to go along with the reports. I've done a couple of little tools which do most of what you refer to, but in a different field of work, so I can say with certainty that you would be able to do all that you want with relative ease.
Cheers,
Dave
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.
Visit http://electronic-apps.info for released App information.
Re: Is LiveCode the right tool for me ??
Adam Hyde (a member of this forum) made a similar app for boating:
https://itunes.apple.com/us/app/safe-bo ... ?ls=1&mt=8
Same stuff, take photos, add text and other. Though I think his used email for communication.
Simon
https://itunes.apple.com/us/app/safe-bo ... ?ls=1&mt=8
Same stuff, take photos, add text and other. Though I think his used email for communication.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!