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 set the layout-width and layout-height to match constraint.
Give it an id: “webview”
Now we are done with layout. Next is to edit MainActivity.java file.
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 basically we need that package name as a unique identifier of our app.
I used Java as main programming language for this project, because it’s more convenient to me.
Then we click “Finish” button.
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 in the app and we create everything (the content) inside that WebView.
So mostly we code in HTML5, and less in Java.
Continue reading Let’s create an HTML5 based Android web app
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:
Continue reading Improved MyRotationTouchpad Script for Unity3D (Vertical and Horizontal)
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 right.
Continue reading Very Simple Third Person Controller 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 script may be useful to you.
Continue reading MyRotationTouchpad script for Unity3D
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:
By default, without clicking the screen you already orbiting your specific object. But I modified the script to only orbit by mouse click only, I mean if I don’t hold my left mouse button I don’t want to orbit.
Continue reading How to click and drag to Mouse Orbit in Unity
This tutorial is about simple and easy HTTP POST and GET request from Unity.
First, take a look this php program, you can test sending POST and GET request directly from web browser if you are running it on your localhost server.
Continue reading Simple and easy PHP and Unity POST and GET http request tutorial
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 URL on the inspector.
Continue reading How to set a texture of a Game Object from URL in Unity3D