Programming & Technology

How To Install Swig On MacOS, Linux And Windows

Swig is the abbreviation of Simplified Wrapper and Interface Generator, it can give script language such as python the ability to invoke C and C++ libraries interface method indirectly. It is implemented by compiling the C/C++ declaration file (.i file) into the C/C++ wrapper source code (.c or.cxx) file. By calling such wrapper interfaces directly, scripting languages

How To Install Swig On MacOS, Linux And Windows Read More »

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 »