Wednesday, 30 December 2020

JAVA Programing Language -What is java and History of java?

 Hi guys, I am Prabakaran, Welcome to innovative codes academy, In this section we learn about

What is java and History of java?| Java Tutorial for Beginners[2020]






JAVA PROGRAMMING LANGUAGE


What is java?

Java is a programming language and a platform. Java is a high level, robust, object-oriented and secure programming language.

  It enables programmers to write computer instructions using English based commands instead of having to write in numeric codes .Its known as a high level language because it can be read and written easily by humans.



Java was developed by Sun Microsystem  (which is now the subsidiary  of oracle) in the year  1995.James Gosling is known as father of java , It name was Oak . Since Oak was already a registered company, So James Gosling and his team changed the Oak name to java.


Platform :

Any hardware or software environment in which a program runs , is known as a platform. Since java has a runtime environment (JRE) and API , it is called platform. 


Application:

       According to Sun, 3 billion devices run Java. There are many devices where Java is currently used. Some of them are as follows:

       Desktop Applications such as acrobat reader, media player, antivirus, etc.

       Web Applications such as amezon.com, etc.

       Enterprise Applications such as banking applications.

       Mobile

       Embedded System

       Smart Card

       Robotics

       Games, etc.


Types of JAVA Application:

        Standalone Application

       Web Application

       Enterprise Application

       Mobile Application


Java Platforms:

      •       Java SE (Java Standard Edition)

       Java EE (Java Enterprise Edition)

       Java ME (Java Micro Edition)

       Java FX

       (It is used to develop rich internet applications. It uses a light-weight user interface API.) 


Prerequisite:

       To learn Java, you must have the basic knowledge of C/C++ programming language.


History of Java:

The history of Java is very interesting. Java was originally designed for interactive television, but it was too advanced technology for the digital cable television industry at the time.


Java team members (also known as Green Team), initiated this project to develop a language for digital devices such as set-top boxes, televisions, etc. However, it was suited for internet programming. Later, Java technology was incorporated by Netscape.



June 1991 


James Gosling 

                                  


               Mike Sheridan                                                               Patrick Naughton


Firstly, it was called "Greentalk" by James Gosling, and the file extension was .gt.

 Why Oak? Oak is a symbol of strength and chosen as  a national tree of many countries like the U.S.A., France, Germany, Romania, etc.

In 1995, Oak was renamed as "Java" because it was already a trademark by Oak Technologies. 


Island of Indonesia 


Java Coffee 

23 January,1996 

JDK 1.0 

JDK 1.1 (19th Feb 1997)

J2SE 1.2 (8th Dec 1998)

J2SE 1.3 (8th May 2000)

J2SE 1.4 (6th Feb 2002)

J2SE 5.0 (30th Sep 2004)

Java SE 6 (11th Dec 2006)

Java SE 7 (28th July 2011)

Java SE 8 (18th Mar 2014)

Java SE 9 (21st Sep 2017)

Java SE 10 (20th Mar 2018)

Click on below link:

https://youtu.be/LLwsUC7qUHE

Channel link:

https://www.youtube.com/channel/UCX1KgUr3ZA6cCR81qGGpA6g?sub_confirmation=1



Tuesday, 29 December 2020

Mobile Application Development - Build your application in Apk format

 Hi guys, I am Prabakaran, Welcome to innovative codes academy, In this section we learn about

How to do build your application in Apk format and How to do open new file in your project?




Click on below link:

https://youtu.be/5y48q9V6etI

Android Studio Tool Download link given below:

---------------------------------------------------------------------------------------------------------------------------

https://developer.android.com/studio

Channel link:

https://www.youtube.com/channel/UCX1KgUr3ZA6cCR81qGGpA6g?sub_confirmation=1


Mobile Application Development - Develop Mini Calculator Application

 Hi guys, I am Prabakaran, Welcome to innovative codes academy, In this section we learn about

How to do develop mini calculator application in android studio tool? Easily make android app.






JAVA Source Code:

MainActivity.java

package com.example.minicalculator;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.EditText;

public class MainActivity extends AppCompatActivity {
EditText tv1,tv2,tv3;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
tv1=findViewById(R.id.t1);
tv2=findViewById(R.id.t2);
tv3=findViewById(R.id.t3);
}
public void add(View v)
{
int a=Integer.parseInt(tv1.getText().toString());
int b=Integer.parseInt(tv2.getText().toString());
int result=a+b;
tv3.setText(String.valueOf(result));
}
public void sub(View v)
{
int a=Integer.parseInt(tv1.getText().toString());
int b=Integer.parseInt(tv2.getText().toString());
int result=a-b;
tv3.setText(String.valueOf(result));
}
public void mul(View v)
{
int a=Integer.parseInt(tv1.getText().toString());
int b=Integer.parseInt(tv2.getText().toString());
int result=a*b;
tv3.setText(String.valueOf(result));
}
}

XML Source Code:

activity_main.xml

<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:stretchColumns="*">
<TableRow>
<EditText android:width="220dp" android:hint="Enter the First number" android:id="@+id/t1" />
</TableRow>
<TableRow>
<EditText android:width="220dp" android:hint="Enter the Second number" android:id="@+id/t2" />
</TableRow>
<TableRow>
<EditText android:width="220dp" android:hint="Result" android:id="@+id/t3" />
</TableRow>
<TableRow>
<Button android:text="Addition" android:width="100dp" android:onClick="add"/>
</TableRow>
<TableRow>
<Button android:text="Subtraction" android:width="100dp" android:onClick="sub"/>
</TableRow>
<TableRow>
<Button android:text="Multiplication" android:width="100dp" android:onClick="mul"/>
</TableRow>
</TableLayout>

AndroidManifest(File):

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.minicalculator">

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>

Click on below link:

https://youtu.be/aYNRqAXxhaQ

Android Studio Tool Download link given below:

---------------------------------------------------------------------------------------------------------------------------

https://developer.android.com/studio

Channel link:

https://www.youtube.com/channel/UCX1KgUr3ZA6cCR81qGGpA6g?sub_confirmation=1



Mobile Application Development - Android Studio Tool Download

Hi guys, I am Prabakaran, Welcome to innovative codes academy, In this section we learn about

How to do download android studio software and open new project?






Click on below link:

https://youtu.be/vcN1ufruiNE

Android Studio Tool Download link given below:

---------------------------------------------------------------------------------------------------------------------------

https://developer.android.com/studio

Channel link:

https://www.youtube.com/channel/UCX1KgUr3ZA6cCR81qGGpA6g?sub_confirmation=1



Monday, 28 December 2020

Easy to learn Python Programming Automate WhatsApp message

 Hi guys, I am Prabakaran, Welcome to innovative codes academy, In this section we learn about

How to automate WhatsApp message in python using Pywhatkit package?







Click on below link:

Pywhatkit package given below: --------------------------------------------------------------------------------------------------------------------------- https://pypi.org/project/pywhatkit/
Source code :(In Python) --------------------------------------------------------------------------------------------------------------------------- import pywhatkit pywatkit.sendwhatmsg(‘phone_no’,’message’,00,00) Channel link given below: --------------------------------------------------------------------------------------------------------------------------- https://www.youtube.com/channel/UCX1KgUr3ZA6cCR81qGGpA6g?sub_confirmation=1

Easy to learn Python Programming

 Hi guys, I am Prabakaran, Welcome to innovative codes academy,

In this section we learn about

How to install PyCharm Community Edition for windows users?








Click on below link:

https://youtu.be/61FnhqdneHg

Pycharm Community Edition download link given below: --------------------------------------------------------------------------------------------------------------------------- https://www.jetbrains.com/pycharm/dow... Channel link: https://www.youtube.com/channel/UCX1K...

Mobile Application Development - Build your Mobile application Calculator in Android Studio Tool

  Hi guys, I am Prabakaran, Welcome to innovative codes academy, In this section we learn about How to develop Mobile Calculator in Android ...