How to view a local *. html file with Chrome - Galaxy S III Q&A, Help & Troubleshooting

Hi,
I would like to open a *.html file from my SD card with Chrome.
With Opera it is : "file://localhost/mnt/extSdcard/Myfolder/myfile.html"
With the native browser it is "file://mnt/extSdcard/Myfolder/myfile.html"
I have tried with Chrome many possibilities but it doesn't work.
Any idea please.
Thanks.
Daniel

Danielfr said:
Hi,
I would like to open a *.html file from my SD card with Chrome.
With Opera it is : "file://localhost/mnt/extSdcard/Myfolder/myfile.html"
With the native browser it is "file://mnt/extSdcard/Myfolder/myfile.html"
I have tried with Chrome many possibilities but it doesn't work.
Any idea please.
Thanks.
Daniel
Click to expand...
Click to collapse
I don't know. Try open it when you browse your files with a file manager.

lelinuxien52 said:
I don't know. Try open it when you browse your files with a file manager.
Click to expand...
Click to collapse
No I need to open this *.html file with Chrome because I have exported all my bookmarks in an html file

Danielfr said:
No I need to open this *.html file with Chrome because I have exported all my bookmarks in an html file
Click to expand...
Click to collapse
Try : "file:///localhost/mnt/extSdcard/Myfolder/myfile.html" with three "/" after "file:".
On my laptop (running Archlinux and Chromium), to open file I have try "file:///localhost/home/*myuseraccount*/*myfilename*.txt" and it works.

lelinuxien52 said:
Try : "file:///localhost/mnt/extSdcard/Myfolder/myfile.html" with three "/" after "file:".
On my laptop (running Archlinux and Chromium), to open file I have try "file:///localhost/home/*myuseraccount*/*myfilename*.txt" and it works.
Click to expand...
Click to collapse
It doesn't work
Daniel

Here's a link which worked for me on my Nexus 4:
file://localhost//storage/emulated/0/MyFolder/MyFile.ex
\___________________________________/\___________________/
..............................↓................................................↓...............
................Path of the sd-card.........................Your path........
For example:
file://localhost//storage/emulated/0/Download/picture.jpg
I tried to open the sd-card and it denied the access, but I could open the downloads folder. I don't know exactly why but it doesn't matter. The main thing is that the link is workin

CheckThisOutGuys said:
Here's a link which worked for me on my Nexus 4:
file://localhost//storage/emulated/0/MyFolder/MyFile.ex
\___________________________________/\___________________/
..............................↓................................................↓...............
................Path of the sd-card.........................Your path........
For example:
file://localhost//storage/emulated/0/Download/picture.jpg
I tried to open the sd-card and it denied the access, but I could open the downloads folder. I don't know exactly why but it doesn't matter. The main thing is that the link is workin
Click to expand...
Click to collapse
Using ES File Explorer on my XPERIA Z1, choosing Open As > Other > Chrome Beta, I get the following URL:
"file:///sdcard/Download/file.html"
As long as the file is on the internal storage, and not on an SD card, the page will open.
Otherwise i get a page stating "Access to the file was denied. ERR_ACCESS_DENIED

How to open/view a local/SD card web page/html file in Android browser
wlxgrf said:
Using ES File Explorer on my XPERIA Z1, choosing Open As > Other > Chrome Beta, I get the following URL: "file:///sdcard/Download/file.html"
As long as the file is on the internal storage, and not on an SD card, the page will open.
Otherwise i get a page stating "Access to the file was denied. ERR_ACCESS_DENIED
Click to expand...
Click to collapse
Having the file on the internal storage (i.e. the phone / device) and not an external storage (SD card) worked for me also.
FOR OTHERS WITH SIMILAR ISSUES:
Generally Android browsers do not allow viewing of files on the external media card (SD card) for security reasons (e.g.. a malicious website could read/write to your SD card). Directory browsing is also prohibited. So if you try to load a page it may give the option to open the file using its HTML viewer - which isn't as fully functional as a browser (and no good for simple web page design testing).
Placing the file on the device's internal storage (e.g. in Download folder) and opening the URL link in the browser (e.g. file:///sdcard/Download/file.html †) will open the HTML file in the browser normally.
†Despite "sdcard" being in the name, "file:///sdcard/Download/file.html" is actually a path to the internal device storage. (The device's internal storage is an emulated SD card for technical reasons). An external SD card path is usually "extSDcard" or similar - but the browser will not load it due to the security restrictions mentioned.

Related

Applications cannot access the shared network

The ES explorer sees it and I can see JPG files and play music but if I want to open files from my network even giving the application the path, it says the folder doesn't exists. To be more specific, what I'm trying to do is open CBR files in Perfect Viewer that reside in my home network.
SimonDroid said:
The ES explorer sees it and I can see JPG files and play music but if I want to open files from my network even giving the application the path, it says the folder doesn't exists. To be more specific, what I'm trying to do is open CBR files in Perfect Viewer that reside in my home network.
Click to expand...
Click to collapse
I used CIFS Mount, which mounts a shared drive as if it were a folder on your SD card. You can then navigate to it via most apps.
Is it cifsmanager? After installed I get the error: "This app is not installed in your phone"

[Q] How to download a .tbz2 file from my Archos?

Hello,
I've Urukdroid 0.7 installed on the SD card of my Archos 70.
I would like to upgrade to 1.0.
Following the wiki I've to download a file UrukDroid-1.0-upgrade.tbz2 but when I go with the default web browser of Archos on the link provided in the wiki, the web browser opens me an "ugly" text page will all strange alphanumeric caracters in place of proposing me a pop up to download the file.
Any idea how to solve that?
Rookie question...
Thanks for reading...
Vincent
Longer press on link and then "save link"
I had the same issue yesterday
This is because the browser dont know the *.tbz2 file, so the browser open the file as a text document (standart option)
You have to do this with the "fix" from the first poster
Or (if you have dolphin browser hd) you open the site and klick on
menubutton>>more>>save page
fzelle said:
Longer press on link and then "save link"
Click to expand...
Click to collapse
First thanks to you two for your fast answers.
I don't have installed yet the market in Urukdroid mode then no Dolphin.
I pressed long then save link then I've a file UrukDroid-1.txt of 139Mb.
I renamed it with the right full name. I copy it with the default file manager in a directory UrukUpdate I created by myself under Android/data that is displayed in "Internal" even if I install UD06 on my SD card...
When I ask to force update via urukconfig, it says that no file found in /data/UrukUpdate.
Knowing that during the installation of UD06 on my SD card, I said No to copy the data, is it normal that /Android/data is under internal and that no /data/UrukUpdate exists?
vanpevi said:
1) I don't have installed yet the market in Urukdroid mode then no Dolphin.
2) I copy it with the default file manager in a directory UrukUpdate I created by myself under Android/data.
Click to expand...
Click to collapse
1) You can download free apps also under freewarelovers.com
Link to download Dolphin Browser is :
http://www.freewarelovers.com/hotlinkmenot/temp/62535a/1300039853_Dolphin_Browser_HD_4.5.0.apk
2) You have to this with a root file manager (not the /data directory in the "normal" file manager (this file manager only check the /storage directory ))
You can download AndRootFile (the best free i know) here:
http://andbox.googlecode.com/files/AndRootFile_3.0_beta_signed.apk
Hope i could help you
Lennb said:
Hope i could help you
Click to expand...
Click to collapse
THANK YOU Thank you ThAnK YoU !!
Your two links and your infos increased my knowledges of Android of 3000% at least ( it was not high before but...).
With your links I was able to download & install the 2 apk, the UD1.0 and market on UD1.0.
Thaaaaaaaaaaaank you Lennb !
Unfortunatly for you, I've already the 2 kids I wanted...in the other case the firstname would be Lennb
vanpevi said:
Thaaaaaaaaaaaank you Lennb !
Click to expand...
Click to collapse
Aahh, no problem
When i bought my 101 at New Years Eve i have had the same (maybe noob) questions as you, but if you reading a little bit here on xda you will learn a lot about this stuff
Have Fun!

[Q] How do I open HTML files on MicroSD Card in Chrome?

Verizon Galaxy Note 3, up-to-date, stock ROM, not rooted.
I have a 64gb MicroSD card installed, and put a copy of my photography website on it. I find I am unable to figure out a way to open it in Google Chrome.
I used ES File Explorer's FTP function to begin with, to copy files from my website to the card, and this worked beautifully. When I click on the index.html file on the card, the only options offered are HTML Viewer and some text editors. Chrome is not an option (Chrome is the default browser for my phone). I can try "Open as" and choose Chrome, but get the same error message as below.
If I long-press the file, and select Properties, I can copy the (full) Path for the file, but when I paste this into Chrome's URL bar, it won't open:
Access to the file was denied
"The file at file:///storage/extSdCard/PhotoWebsite/index.html is not readable. It may have been removed, moved, or file permissions may be preventing access"
I have searched quite a bit, and tried various addresses, including localhost, localhost/mnt, content:, etc., etc., but nothing seems to work.
Ultimately I want to have a Bookmark in Chrome where I can view my website offline when necessary, but this seems to be more complex than would appear necessary.
Any help appreciated.
Seriously? Is there no way to accomplish what should be a fairly basic task: for a browser to open up an html file???

How to Download Lenovo Launcher(kitkat) Theme?

Im already done kitkat update, but in my lenovo theme(ROW) center has 2 theme only and no option to download more from a web.
Download from here:
Code:
https://cloud.mail.ru/public/af00345913d7/.LenovoTheme.rar
Than put those themes in hidden folder .LenovoThemes (copy --> paste) on your default storage memory card (internal or sd card).
where to find hidden folder .LenovoThemes?
Already download. After finished the archive is either in unknown format or damaged.
astrokid1993 said:
where to find hidden folder .LenovoThemes?
Click to expand...
Click to collapse
in a file browser like es file explorer or root explorer even lenovo's own file browser ckeck settings and enable show hidden files

File paths & Directory ???

Hi,
I need help locating the path to a bookmarks file that I installed on my motoX4 SD card.
On my Galaxy Tab running android 4.4.2 it's a simple process. My Files app> SD memory card > click on the file 'bookmarks.html' > open file with my choice of browser. Within the browser (Naked pro) I then bookmark that location, which looks like this:
file:///storage/extSdCard/bookmarks.html
On my motoX4 (xt1900-1) running android 7.1.1 I'm only given the option to open that file with Chrome (which I normally don't use) or html viewer. When I copy the file that appears in Chrome [ content://com.android.externalstorage.documents/document/0000-0000%3Abookmarks.html ] to different browsers, I get the message, net::ERR_NAME_NOT_RESOLVED
What I'm looking for is a 'good' path to my bookmarks on the motox4 sd card that I can paste into my preferred browsers, Naked pro & DuckDuckGo
Thanks

Categories

Resources