Android

Learn to persist data on Android with SQLite

On Android, there are several solutions to persist data between users’ sessions. One solution is to use a relational database to persist data and then to be able to query easily these data. In standard, Android SDK comes with a SQLite implementation. Note that the following tutorial is also available in video on Youtube : Biggest advantage of SQLite integration to…
Continue Reading
Android

Learn to create a BMI Calculator App for Android

The Body Mass Index (BMI) or Quetelet index is a value derived from the mass weight and height of an individual. The BMI is defined as the body mass divided by the square of the body height, and is universally expressed in units of kg/m². By analyzing the BMI value, we can determine a diagnostic. Note that you can discover…
Continue Reading
Android

How to auto restart an Android Application after a Crash or a Force Close Error ?

The biggest nightmare of Android developers is the Crash or Force Close Error that can occur when a user uses one of their applications. Indeed, it’s always a bad message sent to the user and the major risk is that the user uninstalls the application. Unfortunately, you can’t always catch properly all errors and sometimes you can’t avoid a Crash…
Continue Reading
Android

Discover latest rumors and info on the Samsung Galaxy S8

After the disaster of the Samsung Galaxy Note 7, the next Samsung flagship will be expected by everyone to see if they can fix their problems and regain consumers’ confidence. Expected to be unveiled during next Mobile World Congress (MWC) in February 2017, the Samsung Galaxy S8 is a much-anticipated device with a lot of rumors around it. In this…
Continue Reading
Android

Learn to create a Magnetometer Metal Detector on Android

Manufacturers continuously add more features and sensors to smartphones. Thus, your smartphone has now a magnetic field sensor which can help you to use your smartphone as a Magnetometer Metal Detector. For example, we have published an application of this kind on the Google Play Store :  . Magnetometer Metal Detector lets you to measure magnetic field around you by using…
Continue Reading
Android

Learn to count like in the past with an Abacus

The Abacus is a calculating tool, also called a counting frame, that was used in Europe, China, Japan and Russia, centuries before the adoption of the written Hindu-Arabic numeral system. There are two categories of Abacuses : those in base 10 well known in Europe and Russia in which each wire has 10 beads. Each bead represents, according the wire where…
Continue Reading
Android

Create an Audio Recorder on Android

Android SDK has a lot of possibilities to take profit of the smartphones features. Amongst them, there are the possibilities to record and play audio. Today, you are going to learn how to create an Audio Recorder on Android by using the MediaRecorder API provided in Android SDK. This tutorial is also available in video on Youtube : Part 1…
Continue Reading
Android

Create a Running Man Game Animation on Android

Making a Running Man Animation on Android is a great way to learn how to work with Bitmaps, Thread and SurfaceView. First thing to make a Running Man Game Animation is to have a character to animate. For that, we will use the following sprite sheet : Like you can see, our character sprite sheet has 8 frames. Each frame…
Continue Reading
Android

Discover Google Pixel and Pixel XL, the smartphones made by Google

Google has just unveiled its first smartphones made by Google yesterday. Technically, they are made by HTC, but from a marketing perspective, they are all Google. So, they are running the latest Android version Nougat. Furthermore, Google has also put some magic inside and will assume the client relation. Named Google Pixel and Google Pixel XL, both devices have flagship…
Continue Reading