Home » Android Studio

Tag Archives: Android Studio

Java for Android Development

Bipartite Graph

In this article, we’re going to talk about the Java tools used for Android development. Table Of Contents 1. Introduction 2. Android Build System 2.1. The build process 3. Build Configurations 3.1 The settings.file 3.2 The build.gradle files 4. Dalvik VM 5. Android Run-Time (ART) 5.1 Ahead-of-time (AOT) compilation 5.2 Garbage collection improvement 5.3 Development and Debugging improvements 6. Where ...

Read More »

Android Bluetooth Connection Example

The Android platform includes support for the Bluetooth network stack, which allows a device to wirelessly exchange data with other Bluetooth devices. The Android Bluetooth APIs provide us access to the Bluetooth functionality in order to wirelessly connect to other Bluetooth devices, enabling point-to-point and multipoint wireless features. So, if we want to exchange data between different devices through our ...

Read More »

Android StackView Example

The Honeycomb Android version, introduced some interesting widgets with collections. One of them is the Android StackView, a stacked card view where the front view-item can be flipped to give room for the item after it. The StackView collection may be found in several widgets, because of its view behaviour. Generally, StackView is an AdapterView thus working with StackView is ...

Read More »

Android Http Get and Post Example with OkHttp

In this example, we are going to learn how to execute simple Http Get and Post requests from our Android Application. We are going to make use of the OkHTTP 3.0 library, where OkHTTP is an Open Source project designed to be an efficient HTTP client. The usage of this library is very simple and if you are using Gradle ...

Read More »

Android Tutorial For Beginners With Examples

There are lots of reasons why more and more people are interested in learing how to be able to develop Android applications. Unarguably, Android is the most popular mobile operating system, with almost 2 billion devices activated and it offers a unified approach to application development for mobile devices. That means, that developers need only develop for Android, and their ...

Read More »

Android Activity Transition Example

The transitions between different Android Activites consist of animations that are used when we enter and exit a specific Activity. In this example, we are going to define simple transition animations in XML resource files and use them as simple transitions between the Android Activities of our example. All we have to do is to override the Activity.overridePendingTransition(). Let’s take ...

Read More »

Android Custom Font TextView

In Android Development we do not have the option to use any other custom font in our default TextView in an xml layout file, except from the default Roboto font. And the choices that Android gives us are limited, by letting us set only normal, sans, serif or monospace fonts, which are usually not enough, especially when we want to ...

Read More »

Android Toolbar Example

Android changed a lot the visual design patters, regarding the designing of modern Android applications, with the introduction of Material Design in in API 21 (Android 5.0 Lollipop). Among many changes that focus on rich user experience and advances, a new component, Android Toolbar has replaced the old Action Bar. Android Toolbar is a complete replacement to the old ActionBar, ...

Read More »

Android Navigation Drawer Example

The navigation drawer is a panel that displays the app’s main navigation options on the left edge of the screen. It is hidden most of the time, but is revealed when the user swipes a finger from the left edge of the screen or, while at the top level of the app, the user touches the app icon in the ...

Read More »

Android Twitter Login and Twitter Post Example

Twitter has recently released a new software development kit. It’s name is Fabric and it provides a set of crash reporting and mobile analytics tools for mobile applications. Moreover, gives a more direct and easy way for mobile programmers to integrate the Twitter authorization and login procedure and use Twitter post API. Twitter has also created a plugin both for ...

Read More »