Interest Book

Interest Book by Rudra Enterprise (Made in India) A digital book to manage all loans and installments. Never forgot loan progress. This is a khata

Read More »

Biometric API in Android – Add security in app

With Android 10, android introduced biometric api. It is important to add security to app, this api makes it easy. All you need to just implement one single api and you can use all the security features which user have in device, like facelock, fingerprint lock, iris

Read More »

Android Fragment Example – Work with fragment in android

Fragment is light part of activity, It can be added as element of activity or we can show it as dialog also. Android suggest to use fragment to divide UI. It is also separating our UI code.
Let’s make activity first. In activity define FrameLayout, which will manage your fragment:

Read More »

How to display HTML in TextView?

Display HTML in TextView

            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
                tvContent.text = Html.fromHtml("#HTML_STRING", HtmlCompat.FROM_HTML_MODE_LEGACY)
            } else {
                tvContent.text = Html.fromHtml("#HTML_STRING")

Read More »

android retrofit example

Make your first API call using retrofit

Add retrofit and GsonConverter in your project

why to use GsonConverter here?. It will be useful for converting JsonObject directly to Java class or Kotlin class. So, we only need to pass our models.

implementation 'com.squareup.retrofit2:retrofit:2.6.2'
implementation 'com.squareup.retrofit2:converter-gson:2.6.2'
implementation ''

Read More »

Add geofences in android

Geofences is a virtual circle created around specified location with specified radius. It is the awareness of users current location with his proximity location. If you want to notify user for particular location you can do this with Geofence. Get location details for that location and add geofence with certain radius. You can listen enter, exit and wait ( or dwell) event for that location and based on that you can notify user

Read More »

Table of Contents