Articles

What are differences between px, dp and sp in Android ?

Today, a brief reminder about Android dimensions. When you create the UI layouts of your application, you're used to define dimensions with units like dp (density-independent pixels), dip or sp (scale-independent pixels). Other units supported are pt (points), px (pixels), mm (millimeters) and in (inches) where as this second kind of units is not recommended because not independent from devices…
Continue Reading
News

Q3 2014 Smartphones sales : Samsung and Nokia continue to fall, Huawei and Xiaomi continue to grow !

Gartner has just revealed Smartphones sales for Third Quarter of 2014. Globally, sales of Smartphones in Emerging Markets exhibited highest growth ever, while Western Europe continued to decline. Besides, Samsung lost market share while top three Chines manufacturers combined smartphone market share grew by 4 percentage points ! 1. Worldwide Smartphone sales to End Users by Vendor in Q3 2014…
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
Articles

How to monetize an Android application ?

For each developer, monetize an application is the big question that should be prepared during conception of an application. Indeed, it’s the best moment to take decision about business model for an application. Several models are possible : Paid model. Users pay one time for your application and after that it’s over. No more revenue. Subscription model. Users pay each…
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
Contact

About

All 4 Android is a blog about Android, Java and Technology news. Don't hesitate to send me an email : You can also follow my Youtube channel to get free tutorials about Android or Java development. I have also a Twitter channel that lets you know all informations about Android and Technology each day : @ssaurel To end with social networks, you can…
Continue Reading