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
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
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
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
To learn to use the Canvas 2D API, a good exercise is to draw an Analog Clock on Android. In this tutorial, you are going to discover how to create this kind of Clock and you will see some basics like creating a custom view and draw on a Canvas. Note that you can enjoy
Created by Square, OkHttp is an open source project designed to be an efficient HTTP and HTTP/2 client. It lets you to make fast requests and save bandwith. It offers some great features out of the box like to share a socket for all HTTP/2 requests to the same host, a connection pooling mechanism when
When you make Android applications, you can have to parse HTML data or HTML pages got from the Web. One of the most known solution to make that in Java is to use JSoup Library. Like said on the official website of JSoup : “It is a Java library for working with real-world HTML. It provides
Android devices are always more powerful and help us daily to make a lot of tasks. Amongst these tasks, your Android device can help you to know temperature around you but also temperature of your device itself. Freely available on Google Play Store, My Thermometer gives users temperature around them by using their device’s sensors.
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
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.