Hello everybody! What you are seeing here is an Android app that shows a local html file inside a Web View. Then on top of the web view there is a button to save web view contents as a pdf file. Pdf file is saved...
PHP listing files in a directory and renaming them
I have a tons of files in a directory that has underscore in their names, and I need to rename them by replacing underscore to dash. I wrote this script in PHP and it worked!
How to make objects facing towards player in Unity
Some of elements in our game probably need to always face towards the player or player’s camera. With this script we can make any object that this script attached on it, to look at a specific object, like player object or a camera.
How to open WebP images in Photoshop – WebP Photoshop Plugin
Finally this plugin solved my problem. Usually when I got a webp images downloaded from internet, I take a screenshot of the image and copy and paste it inside Photoshop. But lucky me I found this plugin from this link: https://endurtech.com/how-to-open-webp-files-in-adobe-photoshop/ Extract the file, and...
How to make and generateQR Code with JavaScript – Center Align the QR Code
This tutorial is answering a question about how to center align the qr code image generated by qrcode.js library on my previous video: https://www.youtube.com/watch?v=gLLd9YJOJgM&lc And the answer is relatively easy, we can adjust the styling of the div containing qr code image to make it...
How to resize QR Code image generated by phpqrcode library
In this tutorial I will show you how to modify the phpqrcode library to generate more bigger and larger QR Code image. By default if we generate a QR Code of short text or string, we will get a small QR Code image approximately less...
How to make an HTML5 Note Taking Program
HTML5 is amazing to me it and I have fun to do coding with JavaScript because it runs on web browser just like that, so we don’t have to install anything, its just running on web browser. In this tutorial I will share with you...
Adding html file inside assets folder (Creating HTML5 Android WebApp)
Now we are ready to add our html file inside assets folder. Create a folder named assets and put your html file there. Then build the app. You will see your app is running displaying that html page. This code is for html sample page...
Edit the MainActivity.java file (Creating HTML5 Android WebApp)
The next step is to edit MainActivity.java file. Copy and paste this code to your MainActivity, but remember keep your package name unchanged, my package name is “com.thirteenov.lightweightnotetaker” so you must your own package name as it is your unique app identifier.
Adding the WebView to activity_main.xml in Android Studio (Creating HTML5 Android WebApp)
The next step is to add WebView to your layout file in Android Studio. Delete everything in your layout before adding WebView. Then after you drag and drop the WebView, you need to make it full screen. Make sure you set the constraint correctly and...
Creating New Android Project (Creating HTML5 Android WebApp)
As usual, to create a new project of anything, in this case Android project, we just need to follow the dialog wizard. I named this project LightWeight NoteTaker, a light weight html5 note taking app. The package name of this app is “com.thirteenov.lightweightnotetaker” . So...
Let’s create an HTML5 based Android web app
Hi, I’m going to start creating an HTML5 based Android web app. I’ve just Installed Android Studio and it’s getting ready now (it’s currently downloading some updates before I can use it). So basically, the idea behind creating Android WebApp is to have a WebView...
Improved MyRotationTouchpad Script for Unity3D (Vertical and Horizontal)
Previously I’ve shared a script with you I called “MyRotationTouchpad”. But I was thinking I need to improve it. So here it is, newer updated script. What I improved in this script is: You can rotate objects horizontally and also vertically. This is the script:
Very Simple Third Person Controller for Unity3D
Based on some of my previous tutorials, I’ve created this very simple third person controller system that you can use for your games. With this system you can move your character by using virtual touch joystick and rotate around by dragging the screen left and...
MyRotationTouchpad script for Unity3D
This script is made for you if you need a touch pad feature in your Unity game or app. Let’s say you want to rotate an object left or right by clicking and dragging the screen to the same direction (left or right), then this...
How to click and drag to Mouse Orbit in Unity
In many cases we need an ability to do Mouse Orbit in our Unity Game. Mouse Orbit means by moving your mouse you are orbiting a specific object to view it in different angles. I’ve found this script from this link: https://wiki.unity3d.com/index.php/MouseOrbitImproved By default, without...
Simple and easy PHP and Unity POST and GET http request tutorial
This tutorial is about simple and easy HTTP POST and GET request from Unity. Watch this video to see how it works: First, take a look this php program, you can test sending POST and GET request directly from web browser if you are running...
Call JavaScript function from Unity and vice versa – Unity JavaScript Bridge
When building a Unity program for web (WebGL), mostly we need to access methods/functions inside Unity from JavaScript (browser scripting). This example is showing how it can be done. In this example I’m showing how to call JavaScript alert from Unity and then send back...
How to set a texture of a Game Object from URL in Unity3D
I’ve searched for this thing recently on internet and I found a way to set a texture image from URL to a game object in Unity3d. Here is the script, you can attach this script to your GameObject, but don’t worry to specify your desired...
How to use PDFJS to open pdf file in full screen and embedded in Iframe
In this video I demonstrate how to use PDFJS to open a full screen pdf file in a web browser and also how to embed a pdf file in an Iframe. By default PDFJS opens the pdf file from any url you specified in full...