Make your web forms more secure by validating users input, like only allowing alphabets A to Z and numbers only, etc… Watch this tutorial to know how.
Showing an image in Android using ImageView
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.
Android notification example and source code
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.
How to draw a rectangle on a canvas in Android
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.
How to show Yes No dialog on 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:
How to create simple timer in Unity
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.
How to load html file in Android WebView from SD Card
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.
How to switch between pages (activities) in Android
What if you have multiple activities in your Android app and how do you switch/navigate between those activities?
How to read and write a file in Android?
This source code shows you how to write a text into a file and also how to read it.
How to take screenshot programmatically in Android
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.
HTML5 Canvas Video Tutorial Series
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.
How to use AdMob Rewarded Video Ad on Android
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.
If you want to call a function after a specific amount of time, just like using a timer, you can call setTimeout() or setInterval() function.
How to make page separated Word files from a Word document
For example I have 100 pages of a Microsoft Word document and I want to extract each page’s contents into one file (page_1.doc for first page, page_2.doc for second page and so on), so how should I do it? Fortunately I can run a simple...