Home » Android

Android

Android StackView Example

android-logo

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

android-logo

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

android-logo

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

android-logo

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 Multitouch Example

android-logo

A multi-touch gesture is when multiple pointers (fingers) touch the screen at the same time. The basic class for support touch and multitouch in Android is the MotionEvent class. Motion events describe actions in a set of axis values. The actions are the states that occurre when a finger is going down or up. The axis values describe the position ...

Read More »

Android Settings Example

android-logo

During the development of mobile applications, a common requirement is of storing app related data to the phone. In Android we perform this task with the help of Preference APIs. We may also need settings that allow users to modify preferences in app. Thankfully Android provides a powerful framework to manage user preferences. The provided mechanism allows us to show, save and manipulate user’s ...

Read More »

Android Fabric Crashlytics Integration

android-logo

Twitter has recently released a new software development kit. Its name is Fabric and it provides a set of crash reporting and mobile analytics tools for mobile applications. One of the tools that Fabric offers, is Crashlytics. Crashlytics is a crash reporting service, that can track your Android application crashes and lots of statistical information and analytics. Crashlytics is a ...

Read More »

Android Location API using Google Play Services Example

android-logo

The great power of mobile applications software, is that it gives us the opportunity to develop many ideas that use hardware features, in order to complete simple everyday tasks. One of the unique features of mobile applications is the location awareness. Mobile users take their devices with them everywhere, and adding location awareness to your app may offer a new ...

Read More »

Android ViewPager Example

android-logo

One of the most popular views in Android is the ViewPager, a view that helps us slide from one “screen” to another like a “slideshow”. Android ViewPager view can be found in many cases, in tutorial or introductory screens, on tab views and galleries. We are going to create an AppCompatActivity, and we are going to add a ViewPager reference ...

Read More »

Android RecyclerView Example

android-logo

For years now, in Android, if you wanted to create an application that uses lists to display data, the most common, choice, would be the ListView solution. However, the Android Lollipop introduces a new and faster way to represent list layouts, with the use of Android RecyclerView. Android RecyclerView is an improved version of Android ListView and has many common ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials