Tutorial Archive

Learn to create a Proximity Detector App on Android

Android devices have a lot of different sensors. Amongst them, most of them have a proximity detector sensor. It detects when your hand is close of the device. In this tutorial, you are going to create a Proximity Detector Application for Android by using the proximity detector sensor. Note that this tutorial is also available

Learn to use WebSockets on Android with OkHttp

Like you should know, WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection. It is supported in HTML 5. Since the version 3.5 of the OkHttp library, you can also use WebSockets connection in your Android applications. In this tutorial, you are going to learn how to create a simple

Learn to create the game “Spin The Bottle” on Android

What is better that creating some funny games to learn the basics of Android development ? Today, you’re going to discover more on the Android Animation API by creating the game “Spin The Bottle”. Note that you can discover this tutorial in video on Youtube too : Spin the bottle is a party game in

Learn to create a Flip Coin Application on Android

When you start to learn Android Development, it can be interesting to make some little and fun applications. It’s good to motivate yourself and it is also a great way to discover some specific part of the Android SDK. Today, I propose you to create a Flip Coin Application on Android to help you to

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

Learn to root the Samsung Galaxy S7 and S7 Edge in just 10 steps

As an Android enthusiast, may be you want to take full control to your Samsung Galaxy S7 or your Samsung Galaxy S7 Edge. How to achieve that ? By rooting your device obviously. But, be warn that rooting your Android device is at your own risks ! That being said, you can already root the

How to get Battery Information programmatically in Android ?

Android OS lets to developers to get a lot of data about features of a device. Amongst these data, it’s possible to get Battery Information for exemple. An application like CPU Hardware and System Info is able to give you following information about your Battery : Present or No Health Level Plugged Charging Status Technology

Learn how to make a Compass application for Android

Smartphones have a lot of sensors letting to developers to take profit in their applications. Make a Compass application for Android is a great way to understand how they work on Android OS. To make that Compass application, we’re going to use mainly accelerometer sensor. Location service will be also used to fix compass data

How to send an Email in Android ?

Last week, I shown you how to send an Email in Android thanks to JavaMail API by using GMail SMTP. This week, you’re going to learn how to send an Email in Android by using Intent and so applications installed on the Android OS. Code snippet is very simple compared to solution using JavaMail API

How to implement a Splash Screen in Android ?

Implementing a splash screen in Android is a redundant question among beginners. With that tutorial, we’re going to see that it’s very easy to implement a splash screen with just some lines of code. Before to continue, it’s important to understand that splash screen is not a recommended design pattern in Android. However, you can