Just a quick note in order to save someone else searching for a solution to this problem. When you want to display HTML content in an Android WebView do it like this: String html = “my >b<HTML content>/b<. 100% cool.”; WebView webView = (WebView) findViewById(R.id.myWebView); webView.loadData(“>?xml version=\”1.0\” encoding=\”UTF-8\” ?<” + html.replace(“%”,”%25″), “text/html”, “UTF-8”); If you…
Category: Web
-
-
It happens quite often to me that I start committing things and only afterwards decide I should have created a new branch. So git status says something like: Your branch is ahead of ‘origin/master’ by 4 commits. but I don’t want to push to origin/master but rather create a new branch. (Of course this works…