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?

Where to find JDK keytool ?

Following is a quick tutorial on how and where to find JAVA key tool path and how to add in Environmental path variable required to create production release of Android.

Continue reading Where to find JDK keytool ?

Generate Multipage PDF using Single Canvas of HTML Document using jsPDF

jsPDF is a nice library to convert HTML content into PDF. We can put the different type of elements in PDF from HTML like an icon, images, text, CSS styles.
Here we will discuss an example of jsPDF to convert long HTML page into PDF document which will be generated client-side and download.

Continue reading Generate Multipage PDF using Single Canvas of HTML Document using jsPDF

Pass Data between Components in Angular 6 Example Application

Continuing from my previous post has an example of filter pipe usage in Angular 5 application. Here we will upgrade that simple filter app to level next. I have upgraded this application to Angular v6, worked basically on two important methods using which we can pass data between Angular components.

Continue reading Pass Data between Components in Angular 6 Example Application

How to Add Google reCAPTCHA in PHP form

This is a really quick tutorial to add Google reCAPTCHA in a PHP form. reCAPTCHA is used to prevent spam or autonomous illegal activities on your website, which can result in overuse of the bandwidth of your server fill your databases with junk data.

Here we will discuss v2 of Google reCAPTCHA.

Continue reading How to Add Google reCAPTCHA in PHP form

Check Hardware Details of CPU using Small Utility

Going to share a very helpful PC application to check your hardware configuration deeply. Without opening your CPU as I did :/ .I wanted to know DDR version of RAM installed. Download this free and small utility to check basic to advanced hardware details like

Continue reading Check Hardware Details of CPU using Small Utility

Get Backup of Stored Procedures in Namecheap MySQL Database

Namecheap MySQL doesn’t allow to see or edit stored procedures if they are written using some tool like Workbench. So In case you want to take backup or edit SP’s, you will only have one choice bang your head with customer care and give them technical knowledge about ‘What is stored procedure’ after spending 1 Hour they will understand after sharing screenshots to end with database backup.

Continue reading Get Backup of Stored Procedures in Namecheap MySQL Database

Resolved! Found com.google.android.gms:play-services-location:+, but version 9.0.0 is needed issue in Ionic 2/3

Hey! when I was building ionic 3 application using native plugins, I faced a strange issue during building my application to generate APK file out of it. Then I noticed that this issue was caused after adding Ionic’s Native “Background Geolocation”¬†. So when I removed this plugin, APK generated successfully. I was in deadly need on this service. After hitting my head here and there I found a solution in Ionic threads.

Continue reading Resolved! Found com.google.android.gms:play-services-location:+, but version 9.0.0 is needed issue in Ionic 2/3