<t:inputFileUpload> not work in ipad - ipad

i use JSF <t:inputFileUpload> tag to upload files to my site. It works properly in a PC with all browsers but when I test it in my iPad it does not work. It shows as disabled in iOS 5. It uploads images but not text files or pdf or word or excel files in iOS 6.
Have you faced a similar situation? How can I upload documents and spreadsheets from an iPad onto my site?

This problem is not specific to JSF. It's basically just a HTML code generator. It runs on webserver and produces a bunch of HTML which get sent to the client (in your case, the iPad) and then interpreted over there. The <t:inputFileUpload> just generates a HTML <input type="file">.
That HTML element is in turn indeed disabled in Safari Mobile based browsers. JSF look like a magician, but it really can't control whatever the client decides to do with the retrieved HTML. You'd need to look for a 3rd party client side library which enables this in the Safari Mobile side.
See also:
A html5 web app for mobile safari to upload images from the Photos.app?
upload files via iPad
HTML file browse not working in iPad

Related

Publish simple html + Kendo UI app as ipad application

I am creating a new html application using kendo ui. It is calling the web services to get the data and the ui is rendered using Kendo UI. I want this app to be published as ios app.
Is it possible to publish this app directly as a ipad / iphone app ?
Thanks,
Sachin
I thought this information can be useful to someone who is trying to achieve the same thing.
Phonegap Build is the online tool , that allows you to publish html apps as ios , android or windows applications.
All you need is js , css and html pages of your applications with a valid and well formatted config.xml file. You can upload the zip file with all these files and this portal will build the apps for all 3 platforms and will allow you to download the .ipa, .apk and .xap files.
Thanks.

Phonegap redirecting to safari

I'm trying to use Phonegap to build an iOS application through github. All I have in my directory is one html file and an image. The html basically redirects them to my website, which is optimized for mobile devices. However, instead of redirecting them in-app, it opens a safari window and tries to load my website in there. How do I get it to load the website in-app?
I think it would be useless to correct youut code, because Apple won't allow you to bring this app into the store. It is not allowed create just a browser. But this may answer your question: Stop iframe redirect/opening mobile safari in phonegap project

iOS: Is it possible to access stored data (say images) from the Safari browser

My IT dept. has a web app built with java and they want to be able to access the stored images on an iPad. Is that possible?
The iOS Safari browser does not run Java. But, as of iOS 6, it does support uploading saved images with a standard HTML file upload form.

SwfUpload flash uploader not visible and not working in IOS

i am working on a web application based on media gallery.In this application i am uploading media using SWFUpload either images and videos.When i try to open my application on IOS then uploader not visible there.Where it is working fine on safari installed on windows.I want some suggestions from experts of this field.
one site who is using SWFUpload is http://www.ehproductions.com/mediaimage.htm.
Here SwfUploader working nice on windows but not on IOS machines.
Is there any javax html5 compatible uploader?
Thanks in advance.
According to the description of the SWFUpload:
SWFUpload Upload files to a server via flash and listen all the events
from JavaScript.
As all we know there is no flash on the iOS devices, and as result ­— uploader not visible there. But the problem is not only in the flash. iOS misses html file input, so you cannot use the same tools you use with other OS/browser. Take a look at this question - "A html5 web app for mobile safari to upload images from the Photos.app?", — for possible workarounds.

Browser field in BlackBerry not redirecting

I am developing an app for both BlackBerry and Android. On Android, when I send the browser to some url, it redirects to another url with good look. But on BlackBerry for the same url it is only displaying links on the site. It is not applying css and does not look like the Android layout.
Blackberry browser (specially in OS versions < 6) is not as good as the Android one. There are also a couple of options in the Browser Settings that you should enable for it to load JavaScript, Background Images or PC-targeted CSS files. Sadly, there seems to be no way of automatically passing this as a parameter to the browser before opening.
You're facing a platform issue, not a developer's one. Although you could, of course, create a set of CSS files intended for Blackberry visitors, taking these limits in mind and being conscious that it will not look as good as the Android one.

Resources