I am using http://uniformjs.com/ for form elements its work fine in all browser as well as different devices, but only a thing which I noticed is about “File Upload” function is not work in iPad.
Anyone can guide how to fix this issue, without download any other supported app like picupapp.com
Thanks
In iOS (iPhone and iPad), file upload through browser just doesn't work.
You'll need to create an App for that. See some info about file upload Cocoa here: How can I upload a photo to a server with the iPhone?
Or, if you can afford to leave out all the pre iOS6 devices, it seems like they added support for <input type="file"> in their latest version.
Related
I have a simple angular 5 application that uploads an image to my server. The problem is that in desktop browsers it works without problems, but when I'm going to upload images from a mobile device this does not work.
Then I show my Angular code:
Online Code
When I try to use this web app from mobile safari (V11) the blank screen appears, in google chrome mobile it works, but if I upload a heavy image ... it does not upload anything to my server.
My question is how can I do this, so that it works in both safari and chrome (Desktop / mobile)...this is the idea of a web application.
Thanks
I am building my Apps with JavaScript using Cordova and Electron for mobile and desktop apps. In my App, I have a offline feature, where you can download content which is saved using localforage. It works great to show my images, audios, videos and so on.
However, I also have files in the app for users to download (zip, pdf, ...), by using the window.open command, which works as long as I'm using the file's url from the server. But when I use the offline feature and use the blob-url from my localforage, the app doesn't react at all to my onClick event. It doesn't open and also showing no errors in the console.
In the browser though it works just fine, whether it's the blob-url or server-url.
I first used window.open(src, '_blank');, but also tried to remove the _blank attribute with no luck.
Any help would be very appreciated! Thanks!
I have use the angularjs-pdf to show the pdf from remote in mobile app using Ionic Framework.
It shows the pdf in browser but it mobile device the blank screen.
Also I have use sample template example from here.
If it is not supported please suggest me plugin or another any way to display pdf in mobile app itself.
You can try to show the pdf in the webview using the
http://docs.google.com/viewer?embedded=true&url=<your-url>
to show the remote pdf, because in android, the webview doesn't directly support to view pdf.
Appears they do not support all browsers with the angualrjs-pdf or rather it's underlying pdf.js dependency doesn't support all mobile browsers https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#what-browsers-are-supported
Believe you can "bake in" a browser that might do the trick, but the details I'm not sure about.
Would also be good to get some more details if there is any sort of error when you remote debug or any other indication of what the particular failure was.
I have a problem with my Phonegap application. I got a 404 error on phonegap.js
I understand that the compiler (I'm using Phonegap build) will replace the src of my phonegap.js by the real path but I don't get that.
It's weird because I have all the other scripts loaded but not this one.
This screenshot is from Safari, debugging my application launched on my iPad to give you more details.
I'm using Phonegap 3.1.0 with an iPad Retina 64 bits with iOS 7.0.
Edit: I can't use Phonegap 3.4.0, Phonegap build is still not supporting it.
Thanks in advance !
Think of phonegap.js as the runtime. It only exists when your app is running on a device.
If you are previewing your app on a local web server, you will get 404 because the local runtime is not your device (its your laptop).
To solve this, developers have invented tools like PhoneGap emulate (http://emulate.phonegap.com/) where you can use an emulator to 'mock' certain behaviors in your local runtime that would occur on a device.
Thanks guys but the problem wasn't related to Phonegap. I copied from our desktop version and that created the problem. And as I wrote in my comment, the screenshot is from Safari debugger for my iPad, not from a browser tab.
In my project as per client we need to access and upload picture from photo gallery to site. It is for iOS, Android and blackberry. I know we can access it for android using opera browser but my question is can we access it for all mobile device and from any device browser.
Yes, in fact iOS even has multi-upload functionality built in as well. I'm not sure about blackberry, but I'm almost positive that any mobile device has this feature. The best thing you can do is just more research online and testing on them.
HTML(you don't need javascript to do it)
<input type="file"/>