[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [gopher] Any webcomics fans out here?



> I see. Thought that OverBite had some html support, but I understand now 
> that it relies on some Android internal bits.

Overbite doesn't, it just uses the internal web view control.

> The problem might be then related to the fact that android doesn't know 
> about gopher:// URLs, so it can't download the image itself (?) If so, 
> maybe embedding the image right into the html code could be some kind of 
> workaround? Something like:
> <img src="data:image/png;base64,xxxx...>

As it turns out that's exactly what Overbite Android does to embed icons
and use the web view for looking at images.

Unfortunately, this approach is intractable for viewing HTML. The problem
here is two-fold. First, it needs to be able to parse the HTML to find the
images and then fire off threads to download and embed them, which is
possible but obviously non-trivial. However, even if this were implemented,
the web view has a hard limit on the amount of data you can embed in it which
seems to be set in stone. In fact, the web view control became *less*
flexible in later versions of Android, probably for security reasons.

-- 
------------------------------------ personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckaiser@floodgap.com
-- All wiyht. Rho sritched mg kegcaps awound? ---------------------------------

_______________________________________________
Gopher-Project mailing list
Gopher-Project@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project




Reply to: