Favourite posts

What it Takes to Get an e-Commerce Site Online

Getting an e-Commerce website online might sound like a huge undertaking,...

WebView Interactions with JavaScript

WebView displays web pages. But we are interested not only in web-content...

Google Maps API for Android

Google Maps is a very famous and helpful service, which firmly entrenched...

Unit Testing with RSpec

RSpec is an integral part of Test Drive Development (TDD) and its main id...

Client side JavaScript: Knockout in practice

When developing a web application that extensively works with user input ...

Accessing Field Configurations in JIRA for changing field description

Field configuration defines behavior of all standart (system) fields and ...

A Guide for Upgrading to Ruby on Rails 4.2.0

As you might have already heard, the latest stuff for upgrading rails was...

Webview

03 Sep 2015

WebView Interactions with JavaScript

WebView displays web pages. But we are interested not only in web-content demonstration we want to interact with this web-content. In this article we’ll try to explain some details of this process.

First of all if you want to download web pages from Internet, please do not forget about this permission in AndroidManifest file.

<uses-permission Android:name="Android.permission.INTERNET" />

There are several ways to set content for WebView:

WebView webView = (WebView) findViewById(R.id.WebView);
// Ex 1: set URL address: webView.loadUrl("https://www.android.com/"); // Ex 2: set .html from a raw folder: webView.loadUrl("file:///Android_res ...
22 Jul 2015

CSS 3D Transforms and Animations

CSS 3D Transform model was presented as a draft specification in March 2009. This model allows Web developers to create user interfaces more attractive and interesting using advantages of 3D.