Posts

What is KOTLIN?

Image
 Kotlin is one of the top android developing language in the world. Kotlin is more easier than java. For beginners kotlin is the best choice for android development. Kotlin is a cross-platform, statically typed, general-purpose programming language with type inference. Kotlin is designed to interoperate fully with Java, and the JVM version of Kotlin's standard library depends on the Java Class Library, but type inference allows its syntax to be more concise.

Flutter

Image
  Flutter is a cross platform application development framework that helps to create beautiful user interfaced with huge set of flutter widgets. Programmer need to code once for a single application and it can be run in android, ios, web, desktop etc. It helps to save time and to code nore efficiently.  Flutter is a bit slower that other native development tools like java, kotlin for android.  It is also faster that react native.  Overall performance of flutter is greate than other cross platform frameworks. The backend language used in flutter is the Dart programming language to perform actions on widgets efficiently.

Java Iterators

Image
  Iterators in Java: 1. For 2. While 3. Do While  

Java Control Statements

Image
     Control Statements in Java: Decision Making Statements Simple if statement if-else statement Nested if statement Switch statement For-Each Branching statements Break Continue

Operators in Java

Image
  Operators in Java Programing: Unary Operator, Arithmetic Operator, Shift Operator, Relational Operator, Bitwise Operator, Logical Operator, Ternary Operator and Assignment Operator.   Operator Type Category Precedence Unary postfix expr ++ expr -- prefix ++ expr -- expr + expr - expr ~ !               Arithmetic multiplicative * / % additive + - Shift shift << >> >>> Relational comparison < > <= >= instanceof equality == != Bitwise bitwise AND & bitwise exclusive OR ^ bitwise inclusive OR | Logical logical AND && logical OR || Ternary ternary ? : Assignment assignment = += -= *= /= %= &= ^= |= <<= >>= >>>=  

Java Data_Types

Image
  Data_Types in Java Programing: Primitive data types: The primitive data types include boolean, char, byte, short, int, long, float and double. Non-primitive data types: The non-primitive data types include Classes, Interfaces and Array.  Primitive Data Types: boolean data type byte data type char data type short data type int data type long data type float data type double data type    Non - Primitive Data Types: Class Interfaces Array    

How to Go to Another Activity(switch Activity) Using KOTLIN

Image
Tutorial Video:   Codes Used in the Above Video   XML Code(Activity_1) : <? xml version ="1.0" encoding ="utf-8" ?> <LinearLayout xmlns: android ="http://schemas.android.com/apk/res/android" xmlns: app ="http://schemas.android.com/apk/res-auto" xmlns: tools ="http://schemas.android.com/tools" android :layout_width ="match_parent" android :orientation ="vertical" android :gravity ="center" android :layout_height ="match_parent" tools :context =".MainActivity" > <TextView android :layout_width ="wrap_content" android :layout_height ="wrap_content" android :text ="Activity 1" android :textSize ="50sp" tools :ignore ="MissingConstraints" /> <Button android :id ="@+id/btnGoTo2" android :layout_width ="wrap_content" android :layout...

Simple Counting App Using Kotlin

Image
 XML Code:    <? xml version ="1.0" encoding ="utf-8" ?> <LinearLayout xmlns: android ="http://schemas.android.com/apk/res/android" xmlns: app ="http://schemas.android.com/apk/res-auto" xmlns: tools ="http://schemas.android.com/tools" android :layout_width ="match_parent" android :orientation ="vertical" android :gravity ="center" android :layout_height ="match_parent" tools :context =".MainActivity" > <TextView android :id ="@+id/textCount" android :layout_width ="wrap_content" android :layout_height ="wrap_content" android :text ="24" android :layout_marginBottom ="50dp" android :textSize ="80sp" /> <LinearLayout android :layout_width ="wrap_content" android :orientation ="horizontal" android :layout_height ="wrap_...