To create an AlertDialog with a custom view, we first have to create the custom view. Let us create a…
A dialog is a small window which is displayed above the main UI, in a part of the screen. It…
We can add any file to be incorporated in android project in assets folder, located at ‘/app/src/main/assets/’ and then open…
To detect the touch events on the canvas of a View class we can use the boolean method onTouchEvent(MotionEvent). In…
The following code plots an array of integers as a line graph on canvas of a View class. This View…
In android we can use the canvas while creating a View by calling the onDraw(Canvas) method. Canvas is a class…
In android, we can use the MediaMetadataRetriever to retrieve a thumbnail image of an online video from its url. MediaMetadataRetriever…
Suppose you have a file IsolationWardGuidelines.pdf in assets folder of your project and you want to copy it to external…
This tutorial shows a sample project using Google Sign in in AIDE. Step 1: Create a new project in AIDE with…