How to Remove Trusted Devices from Google Gmail Account?

When we enable 2 – Step Verification, signing-in Gmail or any Google services need other pins like OTP or method you set while setting 2 – Step Verification. But I wanted to revoke or remove my office PC from trusted devices.

Continue reading How to Remove Trusted Devices from Google Gmail Account?

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

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

Resolved! – Error 1935. An error occurred during the installation of assembly component

Last week my friend ordered RDP ThinBook 1130-ECW from Amazon. This is really a good netbook having the weight of 1.2KG and a configuration nice for lite office work. You can see this link and reviews, we will only discuss a problem I faced during installation of MS office 2007 and Open office in this netbook.

Continue reading Resolved! – Error 1935. An error occurred during the installation of assembly component

How to Run Background Service in Vivo Mobiles

Following are steps to Enable Background operations or Service in the background. Customized Android Operating Systems add some strict limitations on background services to boost up battery life and make the device perform better. Many mobile companies use them on customized OS like Xiaomi uses MIUI, Oppo uses ColorOS, Vivo use FuntouchOS and Huawei EMUI. But a normal user or developer sometimes face the following issues due to these optimizations in the customized OS.

Continue reading How to Run Background Service in Vivo Mobiles

Resolved! Uncaught (in promise) DOMException: Failed to execute ‘toDataURL’ on ‘HTMLCanvasElement’: Tainted canvases may not be exported

In my previous post, we created a Google Map Static API image using a Get URL. In one of my project, there was a requirement of HTML conversion into PDF document. So I wanted to add that Map Image into that PDF document. I used html2canvas and jsPDF libraries for that.

When I was trying to convert an HTML section with Google Static Map Image into the canvas, I faced a strange issue.

Uncaught (in promise) DOMException: Failed to execute ‘toDataURL’ on ‘HTMLCanvasElement’: Tainted canvases may not be exported.

Continue reading Resolved! Uncaught (in promise) DOMException: Failed to execute ‘toDataURL’ on ‘HTMLCanvasElement’: Tainted canvases may not be exported

Convert Google Map into Image with Markers and Paths.

In one of my application, there was a google map showing the route of a person traveled in a selected day. I was trying to convert that HTML section into downloadable PDF format, which should have that dynamic map as well. So I tried to convert that HTML section into the canvas, but unfortunately as google maps are loaded in iframes, so I was not able to get an actual map there was only icon and polylines which I marked to show the path.

Continue reading Convert Google Map into Image with Markers and Paths.

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