Android Tutorial

How To Get Real File Path From Android Uri

The previous article Android Pick Multiple Image From Gallery Example has told us how to browse an image gallery to select and show images use Intent.ACTION_GET_CONTENT intent. In that example, we save all user-selected images android file path URI in a list. Then we display those images one by one.

How To Get Real File Path From Android Uri Read More »

How To Use Android Debug Bridge (ADB)

ADB is a powerful tool, it is an abbreviation of Android Debug Bridge. It is located in %ANDROID_HOME%\platform-tools like C:\Users\Jerry\AppData\Local\Android\sdk\platform-tools. It provides a lot of useful subcommands for android developers to operate between android physical or virtual devices and computers. It can be used to copy files, install apps, or execute Linux commands on an android device directly.

How To Use Android Debug Bridge (ADB) Read More »

How To Fix Unable To Access Android Sdk Add-on List When Run Android Studio For The First Time

When I run an android studio on mac os for the first time after installing it, it popup a dialog with the error message Unable To Access Android Sdk Add-on List. This article will tell you how to fix this issue.

How To Fix Unable To Access Android Sdk Add-on List When Run Android Studio For The First Time 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 »