Xiomi MiUI 10 | How to Enable Developer Mode for Debugging Android Applications

Development in the Ionic framework is mostly handled through CMD Command prompt. We can open code, create APK packages, install plugins etc from CMD itself. But sometimes to test some of the Ionic Native plugins need a real device, for that we may create APK using  $ ionic cordova build android and then we can transfer the generated an APK in the phone.

Continue reading Xiomi MiUI 10 | How to Enable Developer Mode for Debugging Android Applications

How to Get Fabric API Key and Fabric Api Secret?

Fabric.io is a platform that provides many services for building better apps, to grow performance and look into the insight of user and business behavior.

The most useful feature provided by Fabric.io is Crashlytics, this is an error reporting tool which immediately reports issues in an application like warning, error or fatal crashes in an application. It really helps in making applications bug free more smooth for better user experience. You can read more about services and feature on their official site.

Continue reading How to Get Fabric API Key and Fabric Api Secret?

Resolved! Issue: Violation of Usage of Android Advertising ID policy and section 4.8 By Accident

A few days back, I got two emails from Google Play Developer Support regarding some issue in two of my applications having the following content.

Continue reading Resolved! Issue: Violation of Usage of Android Advertising ID policy and section 4.8 By Accident

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

Add List Item in ListView Android Example

Sample Code to Add List items Dynamically in ListView Android

Continue reading Add List Item in ListView 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

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 ?