How to Add SSL Certificate in Android Application and Solving SSL Handshake Exception

In this tutorial, I will guide you on How to integrate SSL Certificate in your Android Application and Fixing SSL Handshake Exception on Android Devices below API level 20. We will use below TLS SOCKET FACTORY class. import android.content.Context;import java.io.IOException;import java.io.InputStream;import java.net.InetAddress;import java.net.Socket;import java.net.UnknownHostException;import java.security.KeyManagementException;import java.security.KeyStore;import java.security.KeyStoreException;import java.security.NoSuchAlgorithmException;import java.security.cert.Certificate;import java.security.cert.CertificateException;import java.security.cert.CertificateFactory;import javax.net.ssl.SSLContext;import javax.net.ssl.SSLSocket;import javax.net.ssl.SSLSocketFactory;import javax.net.ssl.TrustManagerFactory;public […]

Flutter Scaffold Widget Example

Flutter Scaffold Dart Example

In this article we will learn everything about Scaffold Widget. We will cover what are other widgets which you can use with scaffold widget. We will also cover what are the uses of Scaffold Widget. After creating a new Flutter project. Replace your main.dart file with this code. // main.dartimport ‘package:flutter/material.dart’;void main() => runApp(new MyApp());class […]

Android Grouped Stacked Bar Chart Using MpChart Kotlin

In this tutorial we will use popular Chart library for Android (MpAndroidChart). We will use BarChart View from MpChart Library. We will write code which will result in below Graph. Steps: Add Bar Chart View in XML Layout File. Prepare X-Axis values and Labels for Chart Data. Grouping –  Add multiple Bar Data Sets and […]

Flutter Full Screen Splash Screen Tutorial

In this example you will learn how to implement Full Screen Splash Screen in Flutter. You will also learn how to hide status bar on Android OS and notch on iOS in your flutter splash screen. We will create two screens. Our launcher screen will be Screen with full screen Image. And after defined splash […]

Flutter Left and Right Navigation Drawer Example Tutorial

Flutter Drawer Widget using Scaffold Example

In this tutorial you will learn how to add Navigation Drawer Layout in your Flutter App. You will learn how to add Left Navigation Drawer ( Drawer which opens from start side or right side ) and right Navigation Drawer (Drawer layout which slides from end or left side of the screen). We will be […]

Flutter Dart Tutorial Android iOS

Flutter tutorial Android studio Dart and iOS

Here we will share our flutter learning path. whatever I will learn about flutter I will update it on my blog so you can benefit also. In this tutorial you will learn how to develop high quality cross platform but Native Looking Android and iOS Mobile apps very easily using Flutter SDK by Google. Programming […]

Android Expandable Listview Tutorial Kotlin

Android Kotlin Expandable Listview

Introduction: ExpandableListView in Android is a View which is vertically scroll-able like normal ListView but it can have child items for each List Item. Child items in Expandable List View can be collapsed or expanded on clicking. Add ExpandableListView in XML Layout file <android.support.constraint.ConstraintLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:app=”http://schemas.android.com/apk/res-auto” android:layout_width=”match_parent” android:layout_height=”match_parent”> <ExpandableListView android:id=”@+id/rvFaqs” android:layout_width=”match_parent” android:layout_height=”0dp” android:layout_marginTop=”16dp” android:groupIndicator=”@null” app:layout_constraintBottom_toBottomOf=”parent” […]

Android App Language Change Localization Programatically kotlin Example

Introduction This tutorial will explain you how to change your application language at run time (programatically). In certain cases your Android Application is supposed to support multiple languages for example English, Arabic, French. This concept is known as Localization. Developer design app layout in such a way that layout support Right to Left (rtl) support […]