Archives for Tutorials - Page 8
Create a Splash Screen on Android : the Right Way !
At a certain moment in the past, Google advised against using a Splash Screen on Android Applications. It was useless. Then, when they have published the Material Design Specifications, some of us have seen that the Splash Screen was now a pattern known as Launch Screen. Ideal to display your brand logo during cold start of applications. So, what’s the…
Discover Best Tips to save your Battery Life on Android
Battery Life stays a big problem on Android. Indeed, for most of us, it's very rare that you stay one complete day without charging your Android device. However, there are some tips that can help you to save your Battery Life. With our tips, you could even reach one complete day without charging your device. Note that these tips work…
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…
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…
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…
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…
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…
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…
Create a Blink Effect on Android
Like you must know, users always enjoy cool effects on interfaces. Adding some effects on your Android application can be a good way to make your application different from others. Previously, we have seen how to create a type writer effect and a blur effect. In this tutorial, you are going to learn how to create a blink effect on…
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…