When you develop Android Web App, you may want to show loading bar or anything when the web view is still loading a page, so your web app looks nice.
Author: Habibie
Pick an image from Android gallery and load it on ImageView & Webview together
I’m developing an app that the user should choose an image from Android gallery and then automatically loaded into Android ImageView and WebView together.
Using okhttp3 to send http request in Android
Just googling around and find useful Java library, okhttp3, to send http request in from Android app.
HTML5 & JavaScript Contact Manager
In this video tutorial I’ll demonstrate how to create contact input to submit contact info into JavaScript contact array and how to delete it.
JavaScript simple and basic localization functionality
You want to provide localization capability to your web app? In this tutorial I’ll show you how to do it. Let’s watch this video tutorial and grab the source code below.
Replacing multiple characters case insensitively in JavaScript
By using replace() function on any string variable, we can replace character(s) with another character(s). But by default it will only replace the first occurrence. What if we want to replace all occurrence? Here I’ll show you how.
How to truncate a text with JavaScript
If we have a long long text and we only want to show our users some part of that text, well we need to truncate that text. In this tutorial I will show you how to do that with JavaScript. And here is the source...
JavaScript Object and JSON – Convertion from one to another
What is JSON and how to convert JavaScript object into JSON and from JSON to Object. In this tutorial, By calling JSON.parse() and JSON.stringify(), I’ll show you how.
Simple JavaScript Input Validation Tutorial
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.
JavaScript text search tutorial
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.
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.