Archives for Tutorials - Page 16

How to use Shared Preferences in Android ?

Android provides several options for developers to save persistent application data. The solution you choose must depend on your specific needs. In this article, we are interested in Shared Preferences that let you to store private primitive data in key-value pairs. Entry Point of this solution is SharedPreferences class. It provides a general framework that allows you to save and…
Continue Reading
Android

Implement a Gesture Detector in Android

In modern applications, manage users’ gestures is an essential feature. It brings a better interactivity between your application and users. Implement a Gesture Detector to create a view flipper in Android is very simple and we’re going to make it quickly. Follow the guide. Android SDK provides a GestureDetector class available in package . GestureDetecture detects various gestures and events…
Continue Reading
Java

Learn how to make a Swing painting and drawing application

In this video tutorial, you're going to learn how to create a Swing painting and drawing application. Main goal is to learn how to draw in 2D in Java Swing component. Tutorial has a Youtube live coding video and also some explanations here with source code. Don't hesitate to give me your feedbacks and comments.   Video is here :…
Continue Reading