Archives for Tutorials - Page 19
How to send and receive a SMS in Android ?
With all the features supported by smartphones, sometimes we forget the presence of the word phone in smartphone. Thus, it could be important sometimes to use SMS feature of Android devices. Android SDK provides a very good support for SMS and globally for telephony. In that tutorial, you will learn to send and receive SMS in Android. 1. Send SMS…
How to programmatically take a screenshot in Android ?
Today, a snippet to present you how to programmatically take a screenshot in Android. You can take screenshot of a particular View and its children but in our case, we would like to take a screenshot of the entire window. So, we must to get the root view of the window thanks to following calls in an Activity : View v…
How to implement a Splash Screen in Android ?
Implementing a splash screen in Android is a redundant question among beginners. With that tutorial, we’re going to see that it’s very easy to implement a splash screen with just some lines of code. Before to continue, it’s important to understand that splash screen is not a recommended design pattern in Android. However, you can implement if you want and…
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…
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…
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 :…