Author Archives: s.saurel - Page 3
Create a simple HTTP Web Server in Java
Java is one of the most used programming language in the World. The JDK comes with a lot of exciting features. In that video, we are going to use the ServerSocket and the Socket classes to create a simple HTTP Web Server in Java. In the first part of this tutorial, we create the constants for the Web Server (index…
Discover the Java’s History from the Features side
Before Java emerged as the top programming language, C++ was the real deal and the top dominant language in the industry. By creating Java, the creators wanted to tackle most of the things that C++ offered while getting rid of some of the more tedious tasks that came with the earlier languages. With Java, they reached their goal ! In…
Create your first Android App with Kotlin
Kotlin is an official language to make Android Application since Google I/O 2017. Kotlin is a fun, expressive and modern language which can be considered as the language of the future to create Android Applications compared to Java. In this tutorial, you are going to create your first Android Application with Kotlin : a simple counter with plus and minus…
Creating a Virtual Piano Application for Android
Smartphones and tablets are always more and more powerful. In that tutorial, we are going to take profit of that by creating a virtual piano for Android. It will be an excellent way to discover how to use the Canvas API to draw the Piano on the screen but also how to play sounds with the Android SDK. Note that…
Trap your Friends with Broken Screen Prank for Android
Broken Screen Prank simulates the broken screen effect on smartphones and tablets to have fun with your friends. Don’t worry, it will not harm your smartphone or tablet. Broken Screen Prank is a funny application to prank your friends by simulating the broken / cracked screen effect. Broken Screen Prank offers you to choose amongst 5 different broken screen styles.…
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…