Archives for Tutorials - Page 11

Android

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…
Continue Reading
Java

Learn to make a MVC application with Swing and Java 8

The Model-View-Controller is a well known software architectural pattern ideal to implement user interfaces on computers by dividing an application intro three interconnected parts. Main goal of Model-View-Controller, also known as MVC, is to separate internal representations of an application from the ways information are presented to the user. Initially, MVC was designed for desktop GUI applications but it’s quickly…
Continue Reading
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