Accessing Weather Informations with GSON and Picasso

Dealing with network connections is a crucial point in Android development. Downloading and parsing data from original format is a common task for network-connected apps and generally consists in two steps. The first step is to connect the application to remote source data. This operation has to be performed on a separate thread to avoid any communication delay which may cause a weak user experience. The next step is to read data from source, typically by using Java Streams, and convert them from original format to Java objects. In this tutorial, you will learn how to download and parse data from OpenWeatherMap.org , an online service that stores informations about world-wide weather and offers them to developers as a web service in JSON, XML and HTML format.

Continue reading…

Android JSOUP ListView Images and Texts from HTML Tables Tutorial

In this tutorial, you will learn how to extract elements from a HTML table using JSOUP Library. JSOUP provides a very convenient API for extracting and manipulating data, using DOM, CSS, and jquery-like methods. JSOUP allows you to scrape and parse HTML from a URL, file, or string and many more. We will create a ListView on the main view and populate it with extracted HTML elements from a HTML table provided. So lets begin…

Continue reading…

Integrating New Google Admob with Banner and Interstitial ads

In this tutorial, you will learn how to integrate the new Google Admob with banner and interstitial ads into your Android application. The new AdMob is a streamlined user interface, to make it even easier for you to monetize and promote your apps in minutes. Maximize your earnings with the new AdMob improved tools to help app developers build thier business. We will create a simple view that launches an Interstitial on start and show a single banner advertisement. So lets begin…

Continue reading…

List of the best Android Backend as a Service (BaaS) provider

In this post, I’ve compiled a list of Backend as a service (BaaS) that you could use to power up your Android apps and games. A Backend Service provides mobile app developers with a way to link their applications to backend cloud storage while also providing features such as user management, push notifications, and integration with social networking services.

Continue reading…

Android Populating Spinner with JSON Tutorial

In this tutorial, you will learn how to populate a spinner with data remotely using a JSON file in your Android application. A spinner displays a dropdown menu with available values, from which the user can select or navigate. We will create a spinner on the main view and populate it with data remotely using a JSON file and on spinner click will show a selectable dropdown menu. On selected dropdown menu will show the selected results below the spinner. So lets begin…

Continue reading…