The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Viewing HTML pages locally on smartphone
pandy
post Oct 8 2018, 12:11 PM
Post #1


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Is that at all possible? If so, how?

Thing is, I'm a mushroom forager. I'd like to put together my own "mushroom book" with images and my notes. HTML is what I know so I'd prefer to be able to use that. I could put it on a server, but one doesn't always have good enough signal in the forest.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
Christian J
post Oct 8 2018, 01:39 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



This seems to work: https://www.howtodroid.com/2014/03/use-mobi...es-android.html --at least I was able to see the source of a local XML file in the browser window...
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 8 2018, 02:30 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Ah! I didn't even think of trying the file protocol. Only problem is that I don't seem able to reach the SD card. The suggested file:///sdcard/ takes me to the internal memory. If I try to go one directory up it's forbidden. Same if I try just file:/// .

Well, it will probably be easier to google now that I know i should use file:/// .

Thanks. smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 8 2018, 02:35 PM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Hmm. Same if I use the full URL. In my case file:///storage/6631-6263/ . Access Denied. No problem with a file manager. So why can't a browser go there? unsure.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 8 2018, 02:50 PM
Post #5


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Odd. I only had Chrome. So I installed FF. Strangeties occurred...

* When I do the sdcard thing FF tells me access denied straight off whereas Chrome took me to the internal memory.
* file:///storage/ works in FF (denied in Chrome). Get a file listing. But when I click the SD card - DENIED.

I tried to google, but it seems this is a common problem with file managers too, so that's what I found tips about. They were all either misguided or very complicated and scary sounding. Hard to google since file managers are also called file BROWSERS. When I included Chrome specifically I learnt that Chrome doesn't support browsing local files. Which it does. Only it can't access the SD card. If the files are on the internal card it displays them fine.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 8 2018, 02:58 PM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Ah! Something relevant at least.
https://stackoverflow.com/questions/2167575...-file-on-sdcard
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th April 2024 - 09:51 AM