Live data from Hacker News

Hidden Gem of iOS6: File Uploads in Mobile Safari

agileleague.com

31–40 of 55 posts

Re: Hidden Gem of iOS6: File Uploads in Mobile Safari

#31
post #3

Yup, input type=file only took them 5 or 6 years to finally implement while Android has had it since 2.0 But since ipad1 can never have ios6, you'll have to do alternative methods for any website service you operate for years to come.

Does anyone know if there is a list somewhere with file input support on different Android devices? Earlier I found this issue and assumed support was sketchy: http://code.google.com/p/android/issues/detail?id=2519

Re: Hidden Gem of iOS6: File Uploads in Mobile Safari

#32
post #31
post #3

Yup, input type=file only took them 5 or 6 years to finally implement while Android has had it since 2.0 But since ipad1 can never have ios6, you'll have to do alternative methods for any website service you operate for years to come.

Does anyone know if there is a list somewhere with file input support on different Android devices? Earlier I found this issue and assumed support was sketchy: http://code.google.com/p/android/issues/detail?id=2519

It's plausible some specific carriers have locked specific models but it's also plausible some people posting in that thread were using Android 1.5 back in 2009 - note how the thread was opened in April and closed in October 2009 as "Status: Released"

But even before then there was a trick to using HTTP POST for browser uploads in Android. iPhone could never do that.

Re: Hidden Gem of iOS6: File Uploads in Mobile Safari

#33

Perhaps, it's not a hidden gem but a needed pursuit which most of us waited for. I know so many developers who were forced to use third party APIs (picplz etc.) just to have normal web experience on their application. Anyway, this is good news for the web. Hope the browsers on tablets go beyond their 'mobile' paradigm and there is increase both in horsepower and adoption of web standards.

Android has been doing this for a while, it's Apple that's a slow adopter.

Re: Hidden Gem of iOS6: File Uploads in Mobile Safari

#34

Earlier quoted context omitted.

Apple was probably concerned with the security implications of providing Safari with access to the local file system.

No, they weren't! They just wanted to force all major websites to create an iOS app as well. Now that there are 750.000+ apps in the App Store, they can give web a long-overdue break. They still don't give websites access to camera feed (read or frontal), among other things, so you can't use a website to make a video conference.

...given that Mobile Safari has been around longer than the app store I'm not sure that's strictly true. And let's be honest, Android support for direct camera access through getUserMedia is pretty ropey at best. Neither platform is at a state where it's usable by the masses.

Re: Hidden Gem of iOS6: File Uploads in Mobile Safari

#36

Earlier quoted context omitted.

Well, you can, if it's an image or a video.

Only if the app that produced it sticks it in the Camera Roll.

Indeed, very true. I guess it's very Apple like to have a closed system.

Re: Hidden Gem of iOS6: File Uploads in Mobile Safari

#37

Earlier quoted context omitted.

Well, you can, if it's an image or a video.

Only if the app that produced it sticks it in the Camera Roll.

Can you write out files to binary-encoded images and save them to the Camera Roll? Or does that violate TOS?

Re: Hidden Gem of iOS6: File Uploads in Mobile Safari

#38
post #3

Yup, input type=file only took them 5 or 6 years to finally implement while Android has had it since 2.0 But since ipad1 can never have ios6, you'll have to do alternative methods for any website service you operate for years to come.

The "input type=file" has been handled great on original iphone iOS using the iCab browser, and consistently since as well.

You can use that browser with any version of iOS you like. It was my go-to browser on both iPhone and iPad up until Safari in iOS 6 gained a few of iCab's features. I still use iCab on iPad, however, for the ad blocking.

Re: Hidden Gem of iOS6: File Uploads in Mobile Safari

#39
post #37

Earlier quoted context omitted.

Only if the app that produced it sticks it in the Camera Roll.

Can you write out files to binary-encoded images and save them to the Camera Roll? Or does that violate TOS?

Instagram does it so I think it should be fine.

Re: Hidden Gem of iOS6: File Uploads in Mobile Safari

#40

Earlier quoted context omitted.

Apple was probably concerned with the security implications of providing Safari with access to the local file system.

No, they weren't! They just wanted to force all major websites to create an iOS app as well. Now that there are 750.000+ apps in the App Store, they can give web a long-overdue break. They still don't give websites access to camera feed (read or frontal), among other things, so you can't use a website to make a video conference.

Yeah, the shipped the best and most performant mobile browser for years, but omitted one small feature that no-one has implemented well for nefarious purposes.
Post reply on HN