Android Tutorial

Android Canvas And Paint Common Drawing Function Example

This example will show you how to use various android.graphics.Canvas class’s methods to draw text, point, line, circle, rectangle, oval, arc, and self-defined shapes. 1. Android Graphics Canvas Draw Method Example. If you can not watch the above video, you can see it on the youtube URL https://youtu.be/HtR0yY0kCcI The above example demo video shows that

Android Canvas And Paint Common Drawing Function Example 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 »

Difference Between Basic Activity And Empty Activity In Android Studio

When you create the android project in android studio, there are a lot of activity templates you can choose which are provided by android studio. For android beginners, the basic activity and the empty activity always make them confused. So what is the difference between them, let me tell you now.

Difference Between Basic Activity And Empty Activity In Android Studio Read More »

How To Fix Qemu-System-X86_64.Exe Has Stopped Working Error When Starting AVD

When I start an android virtual device ( AVD ) in my new machine ( which I just bought these days.), I meet an error message like this Qemu-System-X86_64.Exe Has Stopped Working. This error stopped my android virtual machine to start. After investigate for almost half a day, I finally find the reason why this

How To Fix Qemu-System-X86_64.Exe Has Stopped Working Error When Starting AVD Read More »

Index