I have a folder for a functional HTML website that has the CSS and JS all zipped up together. My goal is to get this information displayed on an IOS by any means whether through browser or an application. The process that makes this difficult is that the website in the zipped up folder can not be hosted for security reasons. I have tried downloading the HTML zip on to my device and displaying it their through the native browser to no luck. Most tutorials suggest hosting the information and displaying the information through a web viewer provided by xcode; however I cannot host this information, needs to able to be viewed offline. What's the best way to get this done?
Related
I'm teaching a Year7 class via Zoom on writing HTML, and I have one student on an iPad (the rest are on desktops/laptops), and they're not able to get their webpage to open in Safari (I'm using Chrome on Windows, which of course is simply a matter of double-clicking on the file). I'm trying to see what she sees, but I think Zoom is possibly not showing me the pop-up dialogues. She is using Notes to write the page (which looked to be the closest iOS equivalent to Notepad).
I Googled and sent her a few blogs, but still not working. I said she needs to click on Share and look for something like "copy path to file" or "copy link", and then paste that into the Safari address bar. She said when she did that Safari was showing the source code, not the rendered page. When she just taps the file it opens in Notes, not Safari. That made me suspect her file was actually index.html.txt (she tells me she has extensions switched on), but when I sent her my own file, which is definitely only index.html, she says the same thing is happenning.
Is anyone able to give me some definite step-by-step instructions (this is for a Year 7 student) on how to open their local HTML page in Safari?
thanks,
Donald.
Safari iPad no longer supports access to local or iCloud files. A number of iPadOS apps will however allow a user to view, edit, and test html code in files stored in local iPad, iCloud, or third party (e.g. Google or Dropbox) storage folders. One needs only to search in the App Store for “html editor” to see the list. Some of the apps have features that rival or exceed those found in tools on desktop (laptop) systems.
I had the same issue today on ios15.
There is a free app called Koder available on the App Store which will let you edit and view the HTML file. I’m no expert but the editor looks pretty fully featured at first glance.
Sorry to say but an iPad is obviously not the best place for simple HTML editing. At least not with the default apps available on iOS.
Given an existing HTML File one can use Files app to navigate to it and open it with double click. This will open the file in a very simple viewer wich is at least able to render the HTML. As a developer i bet its using WKWebView which is basically Safari's HTML View.
Turns out Microsoft Edge, unlike Safari, can still open local html files. Discovered in this answer. To wit:
Install Microsoft Edge from the App Store
Open Files (or whatever file browsing app you like).
Open the file, then tap the Share button to send to another app.
Scroll across to "More...", choose Edge, and voila!
I have a website with all coding and appropriate html and file paths for my images. When I run the code through my own testing process, everything works. However, when I upload my html files and picture folders to the hosting site Web Hosting Pad, none of my images show up, instead a black "x" appears. Everything is uploaded and on the site. This is what the website looks like when hosted through Web Hosting Pad (Web Hosting Pad version) VERSUS what it looks like through my own test (My Testing Version). I honestly have no idea what or why this is happening, if its a coding problem or something I'm missing in how I'm hosting the site. Please help if you have any knowledge or idea of what I should do! This is what my code looks like for my images. Code
Did you save your images as jpg or jpeg?
You image tag is wrong, it's necessary to close it with "/>"
I dearly hope my first question here is 'acceptable', but I cannot find an answer anywhere - not even from an online Dropbox search.
As a web developer in training, I recently added an HTML file to my Public folder in Dropbox; it is meant as an example webpage for my 'portfolio'. The rendered page directly in Dropbox online links to a Dropbox CSS file successfully. Also, my local Dropbox images link and display successfully.
However, my link to a Dropbox audio file does not play - and neither does the video link to Youtube.
All 'src' and 'a href' links work fine when I render the page from my laptop Desktop Dropbox app; they link to external pages and audio and video files correctly. After researching, I had already changed the 'www' to 'dl' to my local Dropbox files, but that doesn't solve the issue of links working when rendered from the Dropbox server. The audio file works fine when accessing the file directly in Dropbox online using the player, so it's the HTML file that cannot 'find' the audio file from within the Dropbox server. Similarly, any hyperlinks to external sites, such as Youtube and my Linkedin account do not work by left-clicking or CTRL-click - the correct URL shows in the bottom-left corner but the link does not respond. Only right-clicking and 'open in another tab' works on links, thus 'escaping' the restriction of the Dropbox server.
I tried to provide as much detail here as possible so that you're fully aware of my situation. I hope someone knows how to 'free' these hyperlinks from the Dropbox server. I'll soon have my first website online, which will eliminate these issues - but I'm curious to solve this Dropbox problem. Thanks in advance.
I have developed an application using HTML 5. To make the application compatible with the mobile devices I have used cordova/phonegap.
Now the problem is that, the PDf files which is there inside the application is only getting downloaded, when clicked on the link. I need to get it opened in the browser, when clicked on the link. It works fine with the PC. But not with the mobile devices.
I stored the link to a variable and passed that variable to google. Now using some sort of services from google, the link is getting opened in the browser.
I tried installing inAppbrowser plugin also.
window.open(Furl, '_system', 'location=yes');
This was the line of code used, where Furl is the name of the variable, into which, the url address of the pdf file is passed.
This line of code works fine, when url address of a webpage is passed to the variable. But not with the pdf files.
Apart from that idea, is there any other solution for this problem?
Can someone help me out with this problem?
-Thank you
As stated already on a comment, it is possible on modern browser since they have in-built PDF viewer. This isn't the case for Android or iOS currently. What you could do is to convert the PDF to PNG image and then show that. There is a PDF2PNG plugin available for this purpose. Also, if you only need to support iOS 6 & 7, you can take a look at the PDF Viewer plugin.
I used the latest and greatest jQuery Mobile (RC1) to develop an app for the client. I used the latest Webworks version from RIM and packaged the app in a Cod file.
The app works great if accessed through the web browser ETC however when I installed the actual generated JAD/Cod files onto a blackberry device, performance was horrible even with minimum number of jQuery libraries.
Since I have Googled this everywhere and it is apparent that one cannot have a meaningful app experience if Webworks is used, I want to be able to just create something that just places the app icon on the phone. Once clicked, it open the browser and takes the user to the web server where the HTML files are parked.
Is this possible?
You can do that, with a very simple Java-application.
The following code:
Browser.getDefaultSession().displayPage("http://www.yourserver.com");
It will open browser and open page: http://www.yourserver.com
Browser class javadoc is here: http://www.blackberry.com/developers/docs/5.0.0api/net/rim/blackberry/api/browser/Browser.html