Android Tutorial

How To Display Html Text In TextView And WebView

This example will tell you how to display Html text in the android.widget.TextView and android.webkit.WebView object. 1. Display Html Data In Android TextView And WebView Example. If you can not watch the above video, you can see it on the youtube URL https://youtu.be/gUisxpEm908. There are three buttons on the screen in this example. When you

How To Display Html Text In TextView And WebView Read More »

Android Combine Custom And General Gestures Example

In some cases, you may want to capture custom-defined gestures in your android application. And at the same time, you may also want to detect general gestures ( such as double-tap, long press, scroll, etc) on the special view component. This article will tell you how to combine custom-defined gestures and general gestures together in

Android Combine Custom And General Gestures Example Read More »

Fix Conflict With Dependency Error When Creating Android Project

When you create a new android project in android studio, you may encounter an error message like below. Error:Execution failed for task ‘:app:preDebugAndroidTestBuild’. > Conflict with dependency ‘com.android.support:support-annotations’ in project ‘:app’. Resolved versions for app (26.1.0) and test app (27.1.1) differ. See https://d.android.com/r/tools/test-apk-dependency-conflicts.html for details.

Fix Conflict With Dependency Error When Creating Android Project Read More »