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:

Source Codes & Coding Tutorials
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.
How to search text inside a page or multiple html pages in JavaScript? It’s easy, here I will share how to make it done.
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.
I’ve created simple JavaScript & HTML5 morse application. With this application you can enter a text then convert it into morse codes (dots and dashes) and vice versa.
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.
In this video tutorial I will show you how to create a simple Encryption and Decryption engine in JavaScript.
Simple JavaScript alert that you usually call like this alert(“Hai!”); may be little bit boring. So here come an idea to create custom alert that you can style it as you wish.
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...
How to delete files using Python? Files inside folders can be deleted easily in this tutorial.
This idea comes to my head to create a simple search engine without any database and server side script. In this tutorial (well, I didn’t really mean tutorial, I just want to share my script) I tried to use only HTML5 and JavaScript to make...
When we create a variable in JavaScript with string value, in fact this variable contains arrays, each string character inside one array element.
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.
In this video tutorial I’ll show you how to create a seamless tileable texture from any images with Photoshop.