News for hackers. Stuff that matters.
Re:Go support for Android by shakethemonkey on Saturday June 21, 2014 @02:07AM (#7924325)
All android APIs tend to have a large number of methods, but there will be absurd omissions. Example, the WebView has no way to return its HTML contents. So it's difficult to implement your own caching mechanism. Or an even more absurd example, the android YouTube player has no .stop() -- it is simply inconceivable that a media player lacks a way to stop a video, but there it is.
Re:Go support for Android by Shish2k on Saturday June 21, 2014 @03:56AM (#7924453)
Back when I was writing a client for a REST website, the default HTTP library lacked POST. The recommendation was that every app which wanted to POST should bundle the ~2MB apache HTTP library, which seemed a little painful given that other than that, our app was ~50KB :(
Re:Go support for Android by Ironlink on Saturday June 21, 2014 @06:02AM (#7924609)
> Example, the WebView has no way to return its HTML contents. So it's difficult to implement your own caching mechanism.

That's a feature to me. Respect my Cache-Control headers!