The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
So I'm taking over this client with the WinForms application.
I know this client wants some new software in the near future.
The thing is, he has some sales people who go and sell their product over at the customer, who are all farmers.
They also go out in the field where internet isn't always available.
I know they either have a phone or tablet where they want to enter the client's order.
They currently write it down on paper or enter it as plain text on a tablet and then someone else enters it into the WinForms application.
So I'm thinking, since internet is not always available, I'll have to go with a phone app.
It should work on iOS and Android and, if possible, also on tablets, which can also be Windows.
These apps are installed locally so they should always work, even without internet.
Entered data can be cached when internet is not available and synced once an internet connection becomes available again (which can be hours later).
Does anyone here know of a tool, library or framework that runs on phones and tablets on iOS, Android and Windows or am I doomed to write umpteen different apps?
I know PhoneGap works on iOS and Android (and in the past on Windows Phone too).
I've heard some good things about Xamarin too.
But I have no experience in either.
I know I'll need a Mac to build anything for iOS because Apple are a bunch of ... Well, if you can't say anything nice just don't say anything at all
I've also read about actual offline web pages, but doing something like clearing your browser history or cookies will mess them up good.
It sounds like it's all kind of crap in 2019.
I hear that Notepad runs on most operating systems...
Anything that is unrelated to elephants is irrelephant Anonymous - The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 - Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
To build Xamarin.iOS apps with Visual Studio 2019 on Windows, you will need:
A Windows machine with Visual Studio 2019 installed. This can be a physical or a virtual machine.
A network-accessible Mac set up with Apple's build tools and Xamarin.iOS. Visual Studio 2019 accesses this machine over a network connection to use Apple's build tools, which are required for compiling native iOS applications.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Unless stuff has changed you still need a Mac to do the build because Xamarin just wraps Apple's tool chain.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
There are services that will do the deployment, I forget the name of the one my company uses, that will compile the iOS version of the app for you and submit to Apple store etc.
That way you don't have to have a Mac. BitRise or DevOps I think might be the names or name of what they use.
To clarify, the VS in Windows handles the building on the Mac remotely, so you don't have to build on the Mac yourself. VS even builds it on the Mac, and runs it in an emulator on the Windows machine. All your development, building, and deployment takes place through VS on Windows.
It is only because of Apple's highly proprietary licensing that the Mac is required.
There are cloud options where you can push your code to build ios for you. For example, we use Ionic and VS but push to a local Mac pc to build. Some folks even use VM's to do that which is fine, only issue we had was when you try to debug on a local device, VM didn't play well with USB.
There'll be a time when people get nauseous when something is prefixed with Py
Customer: "So we're looking for a vNext Basic developer."
Programmer: "Please no."
Customer: "Alright, we could really use someone who knows PyLibrary though."
Programmer: "Not a chance."
Customer: "Perhaps CFamily is your kind of language?"
Programmer: "Keep this up and you'll get some foul language from me."
Customer: "You'd fit right into our Java* team."
Programmer: "My fist would fit right into your face."
Customer: "We have this Language On Rails."
Programmer: *Hits customer in the eye.*
I guess I got bored of reading by that point, my bad. Personally I would probably only go for offline web app if it was a simple one page application. If you make it too good, you risk the danger of being asked to make it do everything the existing app does.