Creating a Barometer Application for Android
We continue our exploration of the sensors supported by the Android SDK with pressure sensor. To discover how to use this sensor, we are going to create a Barometer Application for Android. As a reminder, a Barometer is a scientific instrument used in meteorology to measure atmospheric pressure. By using the data provided by the pressure sensor of Android devices,…
Generating Microsoft Excel XLSX files in Java
It’s always interesting to be able to generate Microsoft Excel XLSX files in an application to propose reports to users for example. In that tutorial, you are going to learn how to generate Microsoft Excel files in a Java application. For that, we are going to use the great Apache POI API available just there : Note that you can watch…
Learn to create a Tic-Tac-Toe Game for Android
Tic-Tac-Toe is a classical paper-and-pencil game for 2 players. You were probably used to play Tic-Tac-Toe game during your childhood. The rules are quite simple : each player sets a X or O on a 3x3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game. In that tutorial, you…
Rediscover the joys of Tetris on Android
Do you remember Tetris the famous game of your childhood ? I’m sure that you have played during long hours to Tetris. Today, you are going to rediscover the joys of this classical game on your Android smartphones and tablets. Tetris Falling Blocks is an addictive puzzle game in which you must combine blocks to make complete lines to gain the…
Create your own Blockchain in 30 minutes
The Blockchain is a technological revolution at the heart of the success of Bitcoin and other crypto currencies. For some, the Blockchain is a revolution comparable to what the Internet was in its day. In this article, we propose you to create your own Blockchain in 30 minutes by using the Java programming language. It will allow you to better…
Recreate Conway’s Game of Life on Android
The Game of Life is a famous cellular automaton created by the British John Horton Conway in 1970. The Game of Life is considered a zero-player game because the evolution is determined by its initial state, requiring no further input. A player interacts with the Game of Life by creating an initial configuration. Then, you have just to observe the evolution…
Create a Torch Flashlight Application for Android
In that tutorial, you are going to learn how to create a Torch Flashlight application for Android with Android Studio. A lot of tutorials exist to teach you to use the flashlight of your device via the Camera API but this API is now deprecated since Android API level 25. So, to be up to date we are going to…
Create a Hexadecimal Color Clock Application for Android
In that tutorial, you are going to learn how to create a Hexadecimal Color Clock Application for Android. But first, what is a Hexadecimal Color Clock Application ? A Hexadecimal Color Clock represents the time as a hexadecimal color and applies this color to the background. Note also that a hexadecimal color is a six digit representation of a color. It…
Load an External Web Site in a WebView on Android
In that tutorial, you are going to learn how to load an external web site into your Android application with Android Studio. To load an external web site into an Android Application, we are going to use the WebView component available in the Android SDK. Note that you can discover this tutorial in video on YouTube : The first thing…
Create a Bitcoin Price Index Watcher Application for Android
Bitcoin is a worldwide cryptocurrency and digital payment system called the first decentralized digital currency, since the system works without a central repository or single administrator. In that tutorial, we are going to create a Bitcoin Price Index Watcher Application for Android with Android Studio. In this application, we will offer to the users Bitcoin Price Index in US Dollars,…