Android Studio

The Modern Cpp Challenge on Mobile – Greatest commont divisor

Hello ! I'm Xavier Jouvenot and here is the second part of a long series on The Modern C++ Challenge. In this article, I am going to explain how I solved the second problem in C++, and how I integrated the solution in an Android project. The objective of this second problem is simple. We… Lire la suite The Modern Cpp Challenge on Mobile – Greatest commont divisor

Android Studio, How to

Quick Tip – How to have an EditText which takes only numbers ?

Hello ! I'm Xavier Jouvenot and in this small post, I am going to explain how to create an EditText which takes only numbers. Self promotion: You can find other articles on Android development on my website 😉 Numbers only by default To make sure that a user only enter numbers in an EditText, there… Lire la suite Quick Tip – How to have an EditText which takes only numbers ?

Code Craft

Encapsulation as a defensive programming technique

Hi dear reader, I'm Xavier Jouvenot and, in this article, we are going to talk about Encapsulation, more specifically in C++, even if the concept can be extended to other languages. This post was inspired by a rule from the first chapter of Code Craft, by Pete Goodliffe, on Defensive programming What is it ?… Lire la suite Encapsulation as a defensive programming technique

Android Studio

The Modern C++ Challenge on Mobile – The First Problem

Hello ! I'm Xavier Jouvenot and here is the first part of a long series on The Modern C++ Challenge. In this article, I am going to explain how I solved the first problem in C++, and how I integrated the solution in an Android project. The objective of this first problem is simple. We… Lire la suite The Modern C++ Challenge on Mobile – The First Problem

Android Studio, How to

Quick Tip – How to make a TextView bold or italic ?

Hello ! I'm Xavier Jouvenot and in this small post, I am going to explain how to change TextView into a bold or italic. Self promotion: You can find other articles on Android development on my website 😉 Bold or Italic by default To transform a TextView text into a bold or an italic text,… Lire la suite Quick Tip – How to make a TextView bold or italic ?

Android Studio

Setting up Android Studio with C++ on Windows

Hi dear reader, I'm Xavier Jouvenot and in this article, we are going to talk about how to set up Android Studio to have it run the default c++ project. This is the beginning of a series of blog post in which I will experiment with Android Studio to create some application I have in… Lire la suite Setting up Android Studio with C++ on Windows

Android Studio

How to set up NDK in Android Studio ?

Hi dear reader, I'm Xavier Jouvenot and in this article, we are going to talk about how to set up NDK in Android Studio. This is directly related to the blog post about "Setting up Android Studio with C++ on Windows", since this is a problem I faced when installing Android Studio on my machine… Lire la suite How to set up NDK in Android Studio ?

Code Craft, How to

How to write proper comments ? – Code Craft

Hi dear reader, I'm Xavier Jouvenot and this is the fifth article about Code Craft, by Pete Goodliffe. If you want, you can look at the previous article about 'Self Documentation', and you can find book here. The chapter we will treat today, is named 'A Passing Comment - How to write Code Comments'. Back… Lire la suite How to write proper comments ? – Code Craft

Code Craft

Self-documentation

Hi dear reader, I'm Xavier Jouvenot and this is the fourth article about Code Craft, by Pete Goodliffe. If you want, you can look at the previous article about 'What's In A Name', and you can find book here. The chapter we will treat today, is named 'The Write Stuff - Techniques for Writing "Self-Documenting"… Lire la suite Self-documentation

Code Craft

The Power Of Naming – Code Craft

Hi dear reader, I'm Xavier Jouvenot and this is the third article about Code Craft, by Pete Goodliffe. If you want, you can look at the previous article about 'Coding Standard', and you can find book here. The chapter we will treat today, is named 'What's In A Name - Giving Meaningful Things Meaningful Names'.… Lire la suite The Power Of Naming – Code Craft