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.

Electronics - STM32 - Using the push button to switch on the LED6 on the STM32F3-Discovery board

This tutorial may be seen as a HelloWorld project.

Indeed we are going to switch on the LED6 of the STM32F3-Discovery board with the push button.

The code has been reduced to its minimum in order to get the most important elements in this example.

Electronics - Atollic - Code completion and content assist

As Atollic is based on the Eclipse IDE, this tutorial is so also available for Eclipse.

We are going to see how to add the completion to the Atollic TrueStudio IDE.

Of course, this turorial admits that you have a project where the code completion is missing because you don't have the correct libraries.

C# - Visual Studio - Adding a custom ICO file to an application

It's always a good thing to personalise applications we make, especially when there is a graphical user interface.

The idea here is to change the default icon of your C# application with Visual Studio.

We also use the Gimp software to create the .ico file.

So let's get started.

Electronics - MSP430 - Using timer and interruption to generate a delay of 1 second

The first two features to understand in a microcontroller are timers and interruptions.

Indeed, without a timer nor interruptions, it's quite impossible to have an accurate timing in a program.

C++ - OpenGL - Using the OR and LEFT SHIFT operators to retrieve the display mode with strings

The following tutorial will show you how to exploit data taken from a binary variable.

In order to explain it, we are going to use the GLUT OpenGL library.

The display mode uses indeed this kind of mechanism with the OR operator, symbolized with the famous pipe: "|".

Pages

Subscribe to BadproG.com RSS