Easy learning Andorid

Load Spinner with string-array from resources xml

To define string-array in resources xml, edit values/strings.xml to add items of string-array. <resources> <string name="a...

Get the number of processor cores available to the VM

The method  Runtime.availableProcessors()  returns the number of processor cores available to the VM, at least 1. Traditionally this returne...

Android Textual Layout (Android Dev Summit 2015)

Recent versions of Android have significant advances in typographic sophistication, including automatic hyphenation, balanced and optimized ...

What’s New in Android Studio 1.5

Android Studio 1.5 is focused on delivering more stability, with most of the enhancements being made under the hood. It adds new lint checks...

What is Cardboard

What is Cardboard and Virtual Reality. This video introduces Cardboard for developers and how to use a phone and a simple box of Cardboard t...

Google Play services 8.3

Google Play services 8.3 is now out enabling you to build better apps with new functionality for: Sign In, Fused Location Provider, App Invi...

Android and Android Studio: Getting Started

Learn how to get started with Android and Android Studio in this short tutorial. It demontrates how to install Android Studio (Google’s offi...

Interactive flip ImageView using ObjectAnimator

User touch on buttons to flip the ImageView forward/backward alternatively, around X-axis and Y-axis. package com.example.androidflipview; i...

Get Started AdMob for Android in Android Studio

AdMob uses the Google Mobile Ads SDK. This guide will show you how to integrate the Google Mobile Ads SDK into a brand new app and use it t...

Android Asset Studio

Android Asset Studio is a set of web-based tools for generating graphics and other assets that would eventually be in an Android applicatio...

Google Android Developers Channel in YouTube

The home for videos, demos, tutorials, interviews, and anything else related to Android development. Android Developers channel at Youtube: ...

Re-using Bitmaps

In modern mobile applications, Bitmaps can account for a large amount of memory churn. Constantly loading thumbnails, user icons, and Emoji ...

Pre-scaling Bitmaps

For media rich applications, BITMAPS are everywhere. But these high-resolution images can cause a horde of performance problems if the size ...

Create custom text style

Example to create custom text style: Modify /res/values/styles.xml to create our custom text style "LargeRedText", "InverseMe...

Example to set textAppearance in XML

Example to set textAppearance in XML: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools=...