I checked out HtmlSpanner briefly. It's no replacement for a WebView but I would consider it for simple dynamic HTML. Although if the content was static, I think I would still prefer to build the Spanneds by hand. It may also be worth mentioning that the source directory hasn't been updated in about a year and a half.

  I'm still digging into the WordPress codebase but they do have some interesting WebView usages, including one implementation that manages a custom view for fullscreen video.


--stephen

On Mon, Jun 8, 2015 at 9:54 AM, Stephen Niedzielski <sniedzielski@wikimedia.org> wrote:
  Good idea. The WordPress codebase is one of the few good Android references outside of the Android Open Source Project I've found. The GitHub app is also a pretty nice reference. I'll check out HtmlSpanner and the WordPress implementation.


--stephen

On Tue, Jun 2, 2015 at 8:13 PM, Brian Gerstle <bgerstle@wikimedia.org> wrote:
I've been thinking about our client-side strategy, and it just occurred to me that I should check out other open source projects.

WordPress seems to be using DTCoreText in their iOS app, which is a library for natively rendering HTML in text views (w/o UIWebView). The developer also has a great iOS blog.  The closest thing I could find for Android is HtmlSpanner.

Anyone have ideas for other projects or technologies to check out?  Maybe we should talk to people at WordPress, as it seems their problem space is somewhat similar to ours (many installs, user-created content, custom styling, multiple platforms ...).

Regards,

Brian

--
EN Wikipedia user page: https://en.wikipedia.org/wiki/User:Brian.gerstle
IRC: bgerstle

_______________________________________________
Mobile-l mailing list
Mobile-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mobile-l