Android Gradle Working Successful

Android Studio 3.1.3 Gradle 3.1.3 apply plugin: ‘com.android.application’ android { compileSdkVersion 27 defaultConfig { applicationId “com.xxx.xxx” minSdkVersion 19 targetSdkVersion 27 versionCode 5 versionName “1.3” testInstrumentationRunner “android.support.test.runner.AndroidJUnitRunner” } buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.pro’ } } } dependencies { implementation fileTree(dir: ‘libs’, include: [‘*.jar’]) // need to use all below together implementation ‘com.android.support:appcompat-v7:27.1.1’…

Age Calculator for Android

Are you having difficulty to find your actual age? Do you want to know how many days you are working your company? Introducing the easiest age calculator to find your correct age between your birthday and current day. Features: – Calculate your perfect age in years, months and days. – Easy to use interface Please…

Looping with Number Padding

Loop with Number Padding function pad(n, width, z) { z = z || ‘0’; n = n + ”; return n.length >= width ? n : new Array(width – n.length + 1).join(z) + n; } var text = “”; var i; for (i = 10; i > 0; i–) { t = pad(i,3); text +=…