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 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 »

Android Apache HTTP Client

android-logo

In this post I want to describe how to build an HTTP client using Apache library. In one of my post I describe how we can use HttpUrlConnection to create a client. Using Apache library I want to explain how we can make POST request, download images and upload multipart binary data. Moreover I will describe how to exchange cookies. ...

Read More »

Android ListView – Tutorial and basic example

android-logo

One of the UI component we use often is ListView, for example when we need to show items in a vertical scrolling list. One interesting aspect is this component can be deeply customized and can be adapted to our needs. In this first post i want to analyze the basic concepts behind it and how to use this component. In ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close