
I'm writing an app and wish it to be truly cross platform (it's my first LC app - so probably not the best move)...
I'm coding and using a Mac, I have a Windows XP platform and both an older iPad and recent Android tablet available to me for testing.
Generally, I'm getting there, I find I have lots of "if platform = ..." statements everywhere I try to do something apart from manipulating data and displaying the results... but, like, I say, I'm making progress.
My final hurdle for this app (before trying to deploy it anything other than the Mac or the PC) is to be able to -1-get my data out of the app (to back it up) and -2-get the data created on a.n. other platform back into my app.
OK, I can collect my data files and zip them up within LC - no worries there - but how to e-mail this zip file as an attachment ?
There are many references and examples with LC, StackOverflow and this forum BUT I'm confused as to best place to start when I know right now that I want compatibility across all 4 platforms. I have no problems using the various platforms' e-mail client/handling 'server' (I'm not desperate to create my own - if it's not necessary) but I am very keen on putting my best foot forward from the start and not ending up with multiple messy code blocks to handle each platform individually when it might not be necessary - I enjoy learning but I'd just prefer to keep my 'dead-ends' to a minimum on the way

I guess this has been done many times before and I wondered if someone would shed some light on simply where to start (and maybe why).
Thanks a million.