The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Viewing HTML pages locally on smartphone
pandy
post Oct 8 2018, 12:11 PM
Post #1


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,026
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
Christian J
post Oct 8 2018, 01:39 PM
Post #2


.
********

Group: WDG Moderators
Posts: 7,919
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


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,026
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


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,026
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


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,026
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


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,026
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
pandy
post Oct 8 2018, 03:06 PM
Post #7


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,026
Joined: 9-August 06
Member No.: 6



Yes! laugh.gif

Chose this one instead of the suggested one because it doesn't have ads. At least it doesn't say it has ads at Play and I haven't seen any yet.
https://play.google.com/store/apps/details?...ira.html.viewer

This thing isn't able to access the internet though. Not as far as I see anyway.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 8 2018, 03:12 PM
Post #8


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,026
Joined: 9-August 06
Member No.: 6



Attached Image Attached Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 8 2018, 04:01 PM
Post #9


.
********

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



It's not possible to change an ordinary browser's permissions by editing its manifest file from a PC?

https://developer.android.com/guide/topics/.../manifest-intro
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 8 2018, 11:57 PM
Post #10


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,026
Joined: 9-August 06
Member No.: 6



Oh my. If you find the right one, I'm willing to try it. biggrin.gif

The viewer I chose is open source. I don't find any information saying it's based on a known browser. So maybe not so useful for testing. I've only checked that it can read external CSS, but not how much CSS it supports. Will work for me even if it doesn't support the latest. I don't want fancy for my mushrooms, the simpler the better.

It is after all capable of reading pages on the web. If I click a link to a webpage it opens in the viewer. It's just there's no way to enter an URL directly, no address bar. Only an Browse icon that doesn't offer text input.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

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

 



- Lo-Fi Version Time is now: 22nd October 2018 - 02:37 AM