Create Multiple Columns ListView from JSON Data using Retrofit2 in Android Example

In this example, we will create a sample application with single activity having a ListView with custom BaseAdapter to have multi columns with data from JSON object which we will get from dummy JSON file on the server. To make real server requests we will use Retrofit2.

This example app will discuss a challenge to parse JSON Object into ListView.

Continue reading Create Multiple Columns ListView from JSON Data using Retrofit2 in Android Example

Resolved! com.google.gson.internal.LinkedTreeMap cannot be cast to

This post is a quick hack to resolve this issue if any of you facing a similar issue. In the Android application, I am using retrofit2 and okhttp3 to communicate remove services written in PHP and sending JSON data. There is an activity in which I have to show server JSON response in a ListView, but I was facing a strange issue in mapping JSON data to listview BaseAdapter which looks as below

Continue reading Resolved! com.google.gson.internal.LinkedTreeMap cannot be cast to

What are Plus Code by Google?

Here in India people are facing so much trouble due to heavy rainfall and floods, due to a large area and heavy destruction by large volumes of water floods rescue operations are also facing trouble to reach internal locations for rescue operations. Today Google to help out people of Kerala gave a statement to help people stuck in internal flood ridden arear, Google told people to use Pulse Code to rescue operation helpline numbers, as there is also network problem no Internet no Wifi so that using that Pulse Code rescue people would reach out them to help.

Continue reading What are Plus Code by Google?

Show Progress Bar with Text and Title in Android

In an Android application using web services or any other operations like downloading data or any process which may take time to get completed, it is always a good social behavior to show a decent progress message. A simple loader image can’t tell much about the process going on. So here we will discuss three methods of showing progress bars.

  1. Progress Bar with loader icon and message with it.
  2. Progress Bar with loader icon, title, and message with it.
  3. Progress Bar with loader icon, title, percentage and message with it.

Continue reading Show Progress Bar with Text and Title in Android

feedjit is not working? Its Gone :(

I remember those days back in 2011 when I used to experiment with blogger blogs. There was a beautiful widget “feedjit” which was like magic at that time like who can show you live traffic with fractions of seconds and also country, state city with a link as well where user landed and don’t forget exit page. Sometimes there were google keywords also using which user landed by searching in google :P.

Continue reading feedjit is not working? Its Gone 🙁

Ionic 4 | Get App Version Name, Version Code and Package Name Using Ionic Native Plugin

In Ionic Application, we may need application related information like Application Name, Package Name, Version Code and Version Number. As some of these are dynamic and change every time we create a build of the production version, so it becomes difficult to manually manage these values.

Continue reading Ionic 4 | Get App Version Name, Version Code and Package Name Using Ionic Native Plugin

Android Background Geolocation Service Without Any Kill | Part 2

Android location services are very popular these days, they provide the location of a device in the form of latitude and longitude coordinates using with we can track the location up to 10 meters of accuracy. Location services provide many other parameters of a device like speed, the direction of movement, human-readable address using Geocoder service.

 

 

Continue reading Android Background Geolocation Service Without Any Kill | Part 2

Android Background Geolocation Service Without Any Kill | Part 1

Android location services are very popular these days, they provide the location of a device in the form of latitude and longitude coordinates using with we can track the location up to 10 meters of accuracy. Location services provide many other parameters of a device like speed, the direction of movement, human-readable address using Geocoder service.

Continue reading Android Background Geolocation Service Without Any Kill | Part 1