Posts

Showing posts from November, 2018

Converting HTML5 Game for Android | 2 Methods

HTML5 games are easy to develop and use. It has great graphics and processing capabilities. Many may wonder to convert their web apps compatible with Android. So here are two methods, which will walk you through Android development for making your web app compatible with your favorite platform. Method 1: Hosting the Game  There are various sites where you can host your HTML game for free and also earn from it. After hosting it take the link of the Game use it to make your Android game. 1. Create a new Android Project (obviously) 2. Add the following to the '.XML' file of the layout. In the above snippet, a WebView is created which takes up the whole screen. And a ProgressBar which is by default round and will appear when the page is loading. Till now there won't be any errors 😅 3. In your MainActivity.java, start by typecasting the WebView and ProgressBar. 4. Add web settings and enable JavaScript. The above code creates some basic Web Sett

Best Alternative For Android's AVD | How to use it?

Image
Many of you will agree that Android's AVD is slow and it does affect the complete development process. But if your work device has good specs, like more than 4GB of RAM, then you are lucky ones. But I had the problem with the virtual device, hence I used the best alternative. So let's discuss why is the Virtual Device slow. 1. It eats up a large amount of memory Android Studio itself takes up about 2GB of RAM approx. The remaining is reserved for the OS to function and if you accidentally click on run and a virtual device is starting you're in trouble. What I do during this situation is I shut down my PC.  Also, VD is not meant to run that fast since it's working on some other structure. So you can't expect it to run as needed. 2. Let's come to the main point Which is the best alternative? I tried around 5 alternatives over the internet, then, at last, I came to the one. It's Genymotion, great speed and easy. Now I'll tell you how to us

Top 5 Programming Languages of 2018

Image
Maybe it's too late to talk about this topic, but it's never getting old. There is always innovation in technology daily. So let's start. If you are new to coding read:  How to learn Programming Languages Top 5 simple ways to teach yourself to code 1. C++ Since it is a high-level language, it is still referred to as low level due to its complexity. This language has a wide range of uses, if you dig in deep, you'll come to know, that C++ is used in making games, drivers, low-level applications, etc.  It's a worth learning language but you'll need to focus on it's functioning as sometimes it can get complicated. You'll be amazed to know that C++ is faster than Java. Hence used in games. 2. Java Java is well-known and developing language used everywhere, anyone who's in the Computer or IT field will tell that the best language is Java. Android most beloved, made using Android, Network apps, Business applications, all are Java

How to learn a programming language?

Image
If you are new to programming I'll suggest taking a look at  Top 5 ways to teach yourself to code Due to great advancement in the field of technology, it is really necessary to cope up with it. There is some domain that is really in demand, which require you to have excellent coding abilities and much more. So today I'll tell you some ways to learn to code in a way that'll enhance your future. These ways I used myself to learn. 1. Choose a programming language There are lots of languages to choose from. But choose according to the requirements.  Like you have to do some backend database work then, use MySql, Oracle, MongoDB, etc. You want to use some server scripts then Nodejs, PHP, JSP, etc. You want a frontend webpage then HTML, CSS, etc. You can use Python, Java, C++ for Object-Oriented Work. So try to know important things how these languages function and then decide to choose one from them. Check out: Top 5 Programming Languages of 2018.  2