Android - API Google Maps - Using MapType

I think the MapType is certainly the most fascinating feature of GoogleMaps and also one of the most easy to understand and make alive in an Android application. With one click it’s possible to change the display of the map such as hybrid, none, normal, satellite or terrain. And this is exactly what we are going to see in this Android Tutorial 5. Explanation The setMapType() method is the key of this feature. ...

July 7, 2013

Android - API Google Maps - Using Google Maps API v2

Google made a new version of its famous Google Maps API, called Google Maps API v2. Things are new, such as the OpenGL ES version 2. But let’s try to create an application, in this Google Maps API v2 tutorial for Windows 7 and less or more. Google Play Services library Your Android SDK Manager has to be updated. Especially you need to install or update: Extras > Google Play Services. ...

June 15, 2013

Oracle - VirtualBox - A better resolution with a guest Ubuntu

By installing a Ubuntu guest with VirtualBox on Windows, you likely found a basic resolution, such as 1024*768. Unfortunately, you have a screen with a 1920*1200 resolution, it’s impossible to let this like that. There is of course a solution to increase this basic setup, but with a maximum of 1440*1050. Better than nothing. Let’s do it. What to do? Open a Terminal and write it down this line: sudo apt-get install virtualbox-guest-x11 Restart your Linux, and you’re done. ...

June 2, 2013

Android - Installation - On Linux Ubuntu 64-bit with a 32-bit ADT version

You can easily use the following Windows Android setup tutorial to install the Android Development Tools on your Linux system except that you will need the 32-bit libraries and install a JDK. Note that all these things, could be done by simply download a bundle especially made by Google. The 32-bit libraries So open your favorite shell and type this: sudo apt-get install ia32-libs A huge list of libraries will be available. Select all and continue. ...

January 20, 2013

Eclipse - Arduino - Installation

You would like to program with Arduino but you can’t do this with the Arduino Software provided. Instead you would prefer to use your favorite IDE: Eclipse. That’s what we’re going to see in this Eclipse and Arduino setup tutorial from scratch. We are going to see settings for the Arduino ADK ATmega 2560 and the Arduino Uno. Installation on Linux Ubuntu What we need Linux Ubuntu 12.04 The avr-gcc compiler Openjdk, the open source version of the JDK (Java Development Kit) Eclipse Juno CDT (or JavaEE) Arduino library Java We need the JDK and we will use the open source version. I invite you to install the version 6 (and not the 7) due to security issues in the seventh one. ...

January 20, 2013

Perl - OOP - Creating classes with methods

As every language, OOP is a plus. And who says OOP, says classes and methods. Perl is able to manage such of things. That’s what we are going to see in this Perl tutorial. Let’s create classes and their methods. Explanation Our Perl program will show us who is the boss and who is the employee. And who the boss is hiring. In Perl, a class is called a Package. The name of the package is the same as the file name. Its extension is ".pm". ...

October 18, 2012

Perl - Native functions - Using print()

The Perl print() function is used to display a string. In our example, we are going to display the content of two variables previously declared and initialized. So, let’s go to our first Perl HelloWorld! tutorial! Explanation We have to create a file named helloWorld.pl because we will use this file with the perl command. All comments are beginning by a sharp (#). The code is quite easy, we have two pragmas (strict and warnings). ...

October 11, 2012

Oracle - VirtualBox - Installation

VirtualBox is a virtualization manager that enables to add different OS on other OS. Let’s admit you have a PC with Windows 7 installed. In the past, if you wanted to have a Linux, you were obliged to install it like any OS with a DVD and boot on it. And then, reboot each time you wanted to use one of them. Now, with virtualization, you just have to download a software and while you are still on an OS you can install another one, without rebooting your machine! ...

September 24, 2012

Eclipse - Debugger - An easy example

Using the debugger is just essantial in a huge complex project. But even for a tiny program, it is also useful. For this Eclipse debugguer tutorial we are going to test it with the C++ programming language. Of course you know how to install Eclipse on Windows, if not, follow this Eclipse installation tutorial for Windows. If you prefer GNU/Linux or MAC it is a bit much easy because all libraries are already installed on your OS. ...

June 2, 2012

Eclipse - Errors - While coding

This section will gather all errors found when you were coding in Eclipse. It is really hard sometimes to find what is the problem when you get an exception. I will also give a solution of the problem. Error 1. java.lang.ArrayIndexOutOfBoundsException I had a hard reboot and when I came back to Eclipse (it was opened during this reboot), completion didn’t work anymore. I trying some stuff, but nothing. Finally I erased the .metadata directory included in all projects generated by Eclipse. I know it is a bit radical, but it works. 😜

March 8, 2012