Learn to create a Countdown Timer on Android
Sometimes, when you make Android applications, you need to create a countdown. It can be useful in a board game for example if the player have a defined time to play. A lot of solutions exist to create a countdown in Java. Some are more complex than other. On Android, the SDK offers to developers an easy way to create…
Learn to handle Multi-Touch Gestures on Android
In standard, the Android View class support touch events. It lets you to make applications that react to touch events in your activities. Even better, Android supports multi-touch in standard via the Android View class. To be more concrete, a multi-touch gesture is when a user touches the screen with multiple fingers at the same time. In the documentation, each…
How to retrieve an Unique ID to identify Android devices ?
Some developers can need an Unique ID to identify Android devices. Use cases where developers need this Unique ID are multiples. For example, when you want to : identify an Android user to store games scores on a server track apps installation generate DRM for copy protection. Several solutions exist but none is perfect. In this tutorial, we’re going to…
Follow Euro Football 2016 in France on Android !
Euro Football 2016 in France will start tomorrow. During one month, all the Football's fans are going to follow the most important competition by teams in Europe. Who will succeed to Spain ? Germany, Belgium, Italy, Spain and France are amongst the main favorites in a very open tournament. As a Football's fans, you would like to follow the Euro…
What’s the difference between Samsung Gear Fit 2 and Gear Fit ?
Last week, Samsung has just launched a new wearable, the Gear Fit 2, a new wrist-worn fitness tracker which combines the best bits of a fitness tracker and a smartwatch. The Gear Fit 2 is an attractive new product that brings a lot of improvements to its predecessor the Samsung Gear Fit. Launched two years ago, the Samsung Gear Fit…
Create your first JavaFX 8 Application with Eclipse
Directly integrated in the JDK of Java 8, JavaFX is the new recommended way to create and deliver desktop applications and rich internet applications (RIA) in Java. JavaFX must replace Swing as the standard GUI library for Java SE. However, both technologies will continue to be integrated in the JDK. You can have a preview of the JavaFX Architecture in…
Make the most of your Galaxy S7 and S7 Edge’s USB Connector
When you will open the box of your new Samsung Galaxy S7 or S7 Edge, you will find several accessories. Amongst these accessories, Samsung has now added a new On-The-Go Adapter. This item is more than a typical USB Connector. It offers you a lot of new possibilities : 1. Fast Battery Boost The On-The-Go Adapter allows you to charge…
Calculate shortest paths in Java by implementing Dijkstra’s Algorithm
Conceived by Edsger W. Dijsktra in 1956 and published three years later, Dijkstra’s algorithm is a one of the most known algorithms for finding the shortest paths between nodes in a graph. This algorithm is applied in a lot of domains. For example, once you have represented road networks in a graph, it becomes easy to calculate shortest paths inside…
Tap as fast as you can and try to be the best on Tap Me ! for Android
Years after years, smartphones and tablets become always more powerful and impressive. Consequently, games for smartphones and tablets become more powerful and can benefit of improved performances. However, casual games with simple and smart concepts have always a place in the heart of the mobile's owners. They are a great way to pass the time without be too engaged in…
Jury rules in Google’s favor over Oracle : Android makes “fair use” of Java APIs
At the end of a two-week trial, a federal jury concluded that Android, the Google’s Mobile Operating System, makes "fair use" of Java APIs. Android doesn’t infringe Oracle-owned copyrights. Indeed, the Google’s re-implementation of 37 Java APIs is protected by "fair use" doctrine. After three days of deliberations, the jury unanimously answered "yes" in Google’s favor to the following question…