C++ - Qt Framework - Moving a shape with arrow keys

Playing with the keyboard is an interesting way of learning the Qt framework.

In this tutorial we are going see, indeed, how to use the arrow keys in order to move a shape.

This shape is a circle, with only few properties to handle with.

Let's get started.

UNIX & GNU/Linux - Kernel - Hello world Linux kernel compilation

If you read this tutorial it's because you are curious about how to compile a Linux kernel.

There is plenty of reasons you might want to learn this procedure.

Even if you are a beginner, you will understand each step for building your first Linux kernel.

UNIX & GNU/Linux - Gentoo - Basis for setting it up

In the Linux world, there are two types of distributions.

First the monolithic ones, such as Ubuntu, where you don't have to set anything before using it.

Everything (or almost) is included to begin.

UNIX & GNU/Linux - bash - Setting a profile with the Git prompt

You have downloaded and installed your Git Bash on Windows.

That's a good thing.

But if you want to change your prompt as your favorite one, you have to create a file and add your own settings.

Let's see this.

Electronics - Raspberry Pi - Set up for a connection with a desktop PC

Since its launch, the Raspberry Pi has a very huge impact in the world.

You have certainly one but maybe you don't really know how to use it.

In this tutorial, we are going to see how to send commands directly from your PC without having a specific screen, keyboard and mouse connected onto the board.

Android - API - Life cycle of 2 activities with the Intent class

One important step in Android development is to understand how to deal with many activities.

This is what we are going to see in this Activity tutorial with an example of the famous Intent class.

Stop talking, let's get coded.

Android - API - Classic methods during a life cycle with one activity

In this tutorial we will see how and when Activity main methods are called during a classic life cycle.

Only one activity will be used in this example in order to have something easy to understand.

Let's see that.

Android - API - Getting the current method name with StackTraceElement

Always dreamed to see the stack without your debugger?

Maybe this tutorial will help you with the StackTraceElement Java class.

Of course we are going to use an Android application to see all that on our screen!

Let's get started.

Android - Tips'n Tricks - Hiding/Showing the Notification bar

Maybe you don't know that but it's possible to remove the Notification bar programmatically.

It's quite useful if you don't really need it for your custom application.

It takes a little bit portion of your screen but why let it?

Let's see that in this Notification bar tutorial.

Electronics - STM32 - GPIO overview with the STM32F3-Discovery board

GPIO is one of the most easy peripheral to understand in a microcontroller.

But of course it demands a bit of practice to handle it with ease.

That's the purpose of this STM32F303-Discovery board tutorial.

We are going to blink 4 LEDS in order to get how the basics work.

Pages

Subscribe to BadproG.com RSS