Coming Soon – Android tutorials

I know it is a long time since my last post, I have been busy with university and currently making an android application from scratch. It has been a tough ride through the android world, I have learn a lot these couple of months and I will be preparing several tutorials about android, will do my best to make this understandable and easy to learn.

I will be starting with the very basics of android programming, talking about IDEs, where to begin, etc… I am eager to start this series and teach what I have been learning. Read more...

Why should we all start programming?

Last time I saw a video of why every kid should start programming and it made me think why I started doing so. We are currently in a modern world, where everything has to do with programming… from smartphones, TVs to medical equipment and even in the world of agriculture. I started to code, because since I was a kid, I was always into games and computers, fascinated of what I was seeing. I started to code about 4 years ago and I liked the challenges, the joy I had when I finished my first programming homework. Read more...

Open Weather Map API – Retrieving Weather Info

Today, we are going to make a small project connecting to a Open Weather API, retrieve its information depending in the state and country, show it to the user, and in the next post we will add a 5-day forecast to our project. Here is the link to their official site, so you can check their documentation, which is very important to read since it if ask ourselves how to make “X” thing.

Let’s get started

I used Netbeans to create the project, however, you can use any text editor for this, even with notepad. The technologies that will be used in this project are:

  • HTML
  • CSS
  • Javascript

First, let’s create a new project in Netbeans or in your favorite text editor as shown in the following image:

Create Project

Note: This is my project structure, you can do something similar to mine.

Project Structure

Now, let’s create a new javascript file, we will call it “mainWeather”. Remember to add Jquery. Now that you have created a JS file, let’s add it:

<!DOCTYPE html>
        <title>Open Weather API</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="resources/js/jquery.js">
        <script type="text/javascript" src="resources/js/mainWeather.js"></script>

After doing so, let’s add one input for the city and another one for the country as well as a button to submit the information.

<!DOCTYPE html> <html> <head> <title>Open Weather API</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <div id="UserArea"> <div id="stateWrapper"> <input type="text" id="cityInput" placeholder="Enter a State"/> </div> <br/> <div id="countryWrapper"> <input type="text" id="countryInput" placeholder="Enter a Country"/> </div> <br/> <div id="buttonArea"> <input type="submit" id="submitWeather"/> </div> </div> <!- USED TO SHOW RESULT --> <div id="WeatherWrapper"> </div> <script type="text/javascript" src="resources/js/mainWeather.js"> <script type="text/javascript" src="resources/js/jquery.js"></script> </body> </html> Read more...

Elder Scrolls Online – A Great Game

A couple of days ago, ESO announced a Welcome-Back Event to all BETA subscribers, which is great but gives the idea that the game needs more people, that’s what I exactly thought. I downloaded the game and gave it a try, I managed to level up a few levels and test the game; and here is it what I think about it.

Elder Scrolls Online - Aldmeri Dominion Building

The game is great, the graphics are great, the combat system is great, and you might ask why all the negative reviews about the game? In my opinion, when someone hears about ESO online, they imagine it will be exactly like Skyrim but online, however, it is different. For example, the character creation, you can still choose any race you want with its perks and a class of your choice, which is different from Skyrim where you can choose any racy with its perks and you could be a sorcerer with heavy armor. After creating the character, you can enter a tutorial, which is very useful as it shows the basics of the game as well you can loot armor, potions and other thing that will be useful early game. In the tutorial, you can level up once and now you add a skill point to any of the skills available to your class and a character point, which is exactly like Skyrim, you can choose between Health, Magicka, and Stamina. At first, I thought there were so little skills available to “X” class, then I noticed that each weapon as each own skill set as well. The only thing I didn’t found appealing is that you can only choose 6 skills in the toolbar, which if you come from a MMORPG like WoW or Perfect World where you can have over 9 skills in a toolbar, you might find it a little bit strange. Read more...