Archives for Android - Page 2
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,…
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…
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,…
Learn to create a System Keyboard on Android
In that tutorial, you are going to learn how to create your own System Keyboard on Android with Android Studio. A System Keyboard could be used in any application that a user has installed on his phone. Note that you can also discover this tutorial in video on YouTube : Layout for the Keyboard The first thing to make is to…
Learn to create an Anagram Game for Android
In that tutorial, you are going to learn how to create an Anagram game for Android by using Android Studio. But what is an Anagram ? An anagram is direct word switch or word play, the result of rearranging the letters of a word or phrase to produce a new word or phrase, using all the original letters exactly once; for…