In this post, I want to describe how to use JSoup in Android. JSoup is a Java library that helps us to extract and manipulate HTML file. There are some situations when we want to parse and extract some information from and HTML page instead of render it. In this case we can use JSoup that has a set of ...
Read More »Home » Archives for Francesco Azzola »
Android Shake to Refresh tutorial
In this post we want to explore another way to refresh our app UI called Shake to Refresh. We all know the pull-to-refresh pattern that is implemented in several app. In this pattern we pull down our finger along the screen and the UI is refreshed: Even this pattern is very useful, we can use another pattern to refresh our ...
Read More »Using Android Location API in Weather App – Search city
In this post I would like to describe how to search a city using openweathermap to get weather conditions. There are two way we can use to find a city: Using name pattern Using geographic coordinates (Android Location API) We will introduce, moreover, some concepts about Android location API and Location-based service. Searching city by name In this kind ...
Read More »Consume Webservice in Android using intentService
In this post, I will explain how to consume Restful Webservice using IntentService. We know we can consume a Webservice directly in the UI using for example Volley lib or a simple Http client, but there are some cases when we prefer to consume a Webservice in an Android Service. We know that Android Service has a “longer” life than ...
Read More »Android Remote Service Tutorial:AIDL–how to structure the Project and lib
In this post, I will describe how to use Remote Service in Android. This kind of services are services that can be consumed by other processes using RPC (Remote Procedure Call). In the other post we talk about Local Service, in other word the application that hosts the service can consume it. AIDL Services are useful when we want to ...
Read More »Android Weather app Tutorial: Step by Step guide (Part 2)
The app is available at google play. Download it and have fun. If you like my work you can donate to me using the app. In this post you will find a complete tutorial explaining how to build an Android app. The goal of this post is creating a Weather App that will use Yahoo! Weather as data provider. This ...
Read More »Android Wear SDK: Set up “Hello world”
In this post I want to describe my first experience with Android Wear SDK. This is a very simple project just to test how it works and how we can set up the environment. You can refer to this link if you want to have more detailed information. The first thing you have to do is open Android SDK Manager ...
Read More »Android App tutorial:Peg board game
I released in Github the source code of an app that can be used to play peg board. This app was published on the market some times ago and this is a new version. The app screenshots are shown below: There are some interesting aspects we can consider in this app ...
Read More »Android Weather app using Yahoo weather provider and AutoCompleteTextView (Part 1)
This post is the first of a series where we will explore Yahoo Weather API. Our goal is building an app that gives us the actual weather condition using yahoo weather provider. We already talked about other weather provider like openweathermap, in other two post. You can give a look here and here if you are interested. In this first ...
Read More »