Android’s ImageView helps us a lot in working with images. In this example we can show an image from drawable folder after we click a button.

Source Codes & Coding Tutorials
Android’s ImageView helps us a lot in working with images. In this example we can show an image from drawable folder after we click a button.
In this example we have a button and if we click it it will call createNotification function inside MainActivity.java to show a notification. Then, if we click the notification, it brings second activity up.
Instead of showing default activity layout, we can create our custom class. Here in this example I’m going to share a script to draw a rectangle on a canvas in Android.
To show a Yes No dialog in Android, first create a new project, drag and drop a button to your layout file. Then, use this source code for your Main Activity file:
This script demonstrates how to load an html file located in SD Card in “SomeFolder” directory (you can change the folder’s name) into Android WebView.
What if you have multiple activities in your Android app and how do you switch/navigate between those activities?
This source code shows you how to write a text into a file and also how to read it.
Here I share Android source code to take a screenshot of whole screen and save it in device gallery. There is two buttons, one for taking screenshot and the second for opening last screenshot.
Here I share my experience to bring AdMob Rewarded Video Ad into my apps. This kind of app works well because users will watch the ads completely to get rewarded, for example to get virtual coins, gems, etc.
In this tutorial I will show you how to build an Android app game from Unity. Many people face an error when exporting Android .apk file from Unity and me too. In this video I will show you how did I solve it.