Home » Author Archives: Francesco Azzola (page 5)

Author Archives: Francesco Azzola

I'm a senior software engineer with more than 15 yrs old experience in JEE architecture. I'm SCEA certified (Sun Certified Enterprise Architect), SCWCD, SCJP. I'm an android enthusiast and i've worked for long time in the mobile development field.

Android Studio with android alternative emulator:Genymotion

android-logo

Moving from Eclispe/ADT to Android Studio I was exploring some alternative configuration to improve my building environment. I came across a nice Android device emulator called Genymotion. I find it very interesting and really fast so that I decided to use it as my device emulator. In this post I will explain how to setup Android development environment using Android ...

Read More »

Add a sliding menu with animation to an Activity

android-logo

I was playing around with animation, layers and so on and i have coded this simple sliding menu. The idea is very simple when user touches the screen and moves up his finger the app shows a menu, when user touches the screen and moves down his finger this menu disappear. As you can see the idea is very simple ...

Read More »

Android AsyncTask ListView – JSON

json-logo

Many times we need to populate a Listview using an AsyncTask. This is the case when we have to invoke a remote server and exchange information using JSON. In this post i want to go a bit deeper in the ListView analysis . In the previous posts, i described how to use ListView in several ways using standard and custom ...

Read More »

Android ListView Pull-to-Refresh

android-logo

In this post I want to describe how to create a custom ListView widget that behaves like Gmail list, so that when you slide down and you are at the top of the list it will be refreshed. This new UI pattern is knows as Pull-to-refresh. There are several implementation of it this is my own version. To have this ...

Read More »

Android Action Bar with Tab

android-logo

Action bar was introduced from API level 11. In this post I will explain how to create tab in action bar with fragments. The final result is shown below where user can move between tabs. Creating the Action bar and the tabs The first step is getting the action bar reference and add the tab to it: @Override protected void ...

Read More »

Animation Resources and AnimationListener

android-logo

In this post i want to analyze how we can use animation in Android and how we can implements an AnimationListener. In particular i want to describe the tween animation that are the most useful ones. Tween animation can be diveded in four groups: translate – Move a View along X and Y axis rotate – Rotate a View scale ...

Read More »

Android ListView: Custom Adapter with ImageView

android-logo

In previous post we talked about custom adapter. We used a quite simple adapter with just a TextView. We want to expand the idea described before and introduce an image for each planet. To do it we have to modify the layout and other code parts to handle the user click on each item. We want that each row in ...

Read More »

Android Fragment Lifecycle – multiple screen support

android-logo

Fragment lifecycle is an important aspect to take into account before using fragments. Every developer, that wants to develop an application in Android, has to face the mobile phone fragmentation problem or the multiple screen size support. In other words there are many smartphone on the market with different screen resolution and different screen density. To make the situation more ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.