Archives for Tutorials - Page 10
Create your first JNI Application on Android with the NDK
Like you must know, Java is the default programming language to make applications on Android. However, Java is not always the best solution for making fast apps, especially if you want to make games. A lot of games’ engines are made directly with C/C++. To let developers to make optimized part of codes in C/C++, Google offers the Android Native…
Rediscover classical Othello Reversi game on Android
Today, games are always more complex and powerful with great effects. However, sometimes it's great to rediscover classical game and have fun with. Othello Reversi is an old school board game that demands a lot of strategy. Now, you can enjoy Othello Reversi with Ultimate Reversi a free implementation available on the Google Play Store : Original game is for…
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…
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…