We can add any file to be incorporated in android project in assets folder, located at ‘/app/src/main/assets/’ and then open…
Suppose you have a file IsolationWardGuidelines.pdf in assets folder of your project and you want to copy it to external…
Create a Map variable // Create a new HashMap HashMap<String, Object> mapVariable = new HashMap<String, Object>(); // Add items to…
An Intent is a description of an operation or action to be performed. It can be used to launch an…
We can apply Gravity to the toast message to display it at various positions on the screen. Below are codes…