Author Archives: s.saurel - Page 12

Java

Implement the Adapter Design Pattern in Java

In software engineering, a design pattern is a general reusable solution to a commonly occurring problem with a given context in software design. In that new serie of articles, you're going to discover how to implement some of the most known design patterns in Java. To start the serie, you're going to study the Adapter Design Pattern. The Adapter Design…
Continue Reading
Articles

Use your Java classes in the browser with JavaPoly.js

Java has always been usable in the browser since its creation. However, the browser needed the specific Java plugin to execute Java applications that was packaged inside applets. Then, a more flexible solution was created with Java Web Start but finally, it was always based on the applet technology. With the end announced of plugins support in browsers like Chrome…
Continue Reading
Android

Implement a Navigation Drawer with a Toolbar on Android

Navigation drawer is a great UI pattern recommended by Google when you design your Android application. Introduced with Android Lollipop, the Toolbar widget is a flexible way to customize easily the action bar. In this tutorial, you’re going to learn how to implement a navigation drawer with a toolbar on Android. 1. Get Material Colors First, you need to get…
Continue Reading
Android

Discover Top 10 of new useful features of Samsung Galaxy S7 and S7 Edge

Unveiled during Mobile World Congress in February 2016, Samsung Galaxy S7 and Galaxy S7 Edge are already big hits for Samsung. These new flagships are powerful and have a lot of new exciting features that users will enjoy. Here, we offer you the Top 10 of new useful features of these devices : 1. Display Scaling Display Scaling is a…
Continue Reading
Android

Discover OkHttp, a powerful HTTP & HTTP/2 client for Android applications

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 HTTP/2 is not available, transparent…
Continue Reading
Android

Make fast cryptographic operations on Android with Conceal

By default, Android offers to developers some Java APIs to implement some cryptographic operations on Android. These APIs are great but not always easy to use and not really adapted to mobile environment with constraints. To solve this problem, Facebook has created a dedicated library named Conceal that provides a set of Java APIs to perform fast cryptographic operations on…
Continue Reading
Android

Accessing to the Java 8 language features with Android N

Google has unveiled developer preview of Android N last month with a new exciting developer program. Official release is planned for Q3 2016. Amongst the new features of Android N, the support of several Java 8 language features is a great addition for developers. Supported features include : Lambda expressions Default and static interface methods Repeatable annotations Method References Additionally,…
Continue Reading
Android

Leave your old Toasts and adopt the Snackbars on Android

Introduced with Android Lollipop, Material Design defines a complete visual language to interact with users in your applications. Amongst the best practices recommended by Google, a list of components is available. Even better, you can know when you must use these components. To display brief messages to users, you were used to create Toasts on your Android applications until now.…
Continue Reading
Android

Guide of classical gestures made on smartphone and tablets

With smartphone and tablets, users interact with applications with gestures. There are a lot of different kinds of gestures and each has a well defined name. In 2010, Luke Wroblewski has made a great work to classify all of these gestures in his "Touch Gesture Reference Guide" article that can be found here : . Even better, he gives some…
Continue Reading
Android

Enjoy the power of Universal Image Loader to load easily your images on Android

Recently, we have presented you Glide, a great library recommended by Google to load easily images on Android. It offers you some interesting features out of the box like disk and memory caching for example. Today, we’re going to present you a direct concurrent of Glide : Universal Image Loader. Universal Image Loader has been created to provide a powerful,…
Continue Reading