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:
With this timer, we can load a scene and run this timer, that if this timer reaches it’s end, another scene will be loaded.
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 in these series of video tutorials I explained how to use HTML5 Canvas to draw graphics. This tutorial is started from basics.
If you have a sprite image (image sequences that merged into one file) and you want to play it in your website, you can use this script.