0% found this document useful (0 votes)
61 views39 pages

Final Report Gtu

This document is a summer internship report by Akash Manojbhai Vir, submitted to Gujarat Technological University as part of his Bachelor of Engineering in Information Technology. It details his internship experience at Akash Technolabs, focusing on Android application development, including the technologies learned, project work completed, and the structure of the company. The report includes acknowledgments, an abstract, and a comprehensive overview of the internship objectives, scheduling, and benefits of Android mobile applications.

Uploaded by

Devil White
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views39 pages

Final Report Gtu

This document is a summer internship report by Akash Manojbhai Vir, submitted to Gujarat Technological University as part of his Bachelor of Engineering in Information Technology. It details his internship experience at Akash Technolabs, focusing on Android application development, including the technologies learned, project work completed, and the structure of the company. The report includes acknowledgments, an abstract, and a comprehensive overview of the internship objectives, scheduling, and benefits of Android mobile applications.

Uploaded by

Devil White
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 39

lOMoARcPSD|55067402

Final Report GTU

Cyber Security And IT Governance (Gujarat Technological University)

Scan to open on Studocu

Studocu is not sponsored or endorsed by any college or university


Downloaded by Devil White ([email protected])
lOMoARcPSD|55067402

Android Application Development

A SUMMER INTERNSHIP REPORT

Submitted by

Akash Manojbhai Vir

200500116501

In partial fulfillment for the award of the degree of

BACHELOR OF ENGINEERING

in
Information Technology

Sigma Institute of Engineering, Vadodara

Gujarat Technological University, Ahmedabad

[July 2022]

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

Sigma Institute of Engineering


Bakrol, Ajwa-Nimeta Road, Vadodara, Gujarat 390019

CERTIFICATE

This is to certify that the Summer Internship report submitted along with the project entitled

Android Application Development has been carried out by Akash Manojbhai Vir under

my guidance in partial fulfillment for the degree of Bachelor of Engineering in

Information Technology, 7th Semester of Gujarat Technological University, Ahmadabad

during the academic year 2022.

Sign Sign

Dr. Shivam S. Upadhyay Prof. Kalyani Adawadkar

Internal Guide Head of the Department

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

GUJARAT TECHNOLOGICAL UNIVERSITY


CERTIFICATE FOR COMPLETION OF ALL ACTIVITIES AT ONLINE PROJECT PORTAL
B.E. SEMESTER VII, ACADEMIC YEAR 2021-2022
Date of certificate generation : 10 August 2022 (14:44:36)

This is to certify that, VIR AKASH MANOJBHAI ( Enrolment Number -


200500116501 ) working on project entitled with Android Application
Development from Information Technology department of SIGMA INSTITUTE
OF ENGINEERING, VADODARA had submitted following details at online
project portal.

Internship Project Report Completed

Name of Student : V I R A K A S H Name of Guide : Mr.Upadhyay Shivam


MANOJBHAI Shaileshkumar

Signature of Student : _____________ *Signature of Guide : ________________

Disclaimer :
This is a computer generated copy and does not indicate that your data has been evaluated. This is the receipt that GTU
has received a copy of the data that you have uploaded and submitted as your project work.

*Guide has to sign the certificate, Only if all above activities has been Completed.

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

Sigma Institute of Engineering


Bakrol, Ajwa-Nimeta Road, Vadodara, Gujarat 390019

DECLARATION

We hereby declare that the Summer Internship report submitted along with the Internship

entitled Android Application Development submitted in partial fulfillment for the degree

of Bachelor of Engineering in Information Technology to Gujarat Technological

University, Ahmedabad, is a Bonafede record of original Internship work carried out by me

/ us at Akash Technolab under the supervision of Akash Padhiyar and that no part of this

report has been directly copied from any students’ reports or taken from any other source,

without providing due reference.

Name of the Student Sign of Student

1 Akash Manojbhai Vir

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

Acknowledgement

First, I would like to thank Mr. Akash Padhiyar, CEO of Akash Technolabs for giving me the
opportunity to do an internship within the organization. I also would like to thank all the people
that worked along with me at Akash Technolabs with their patience and openness they created an
enjoyable working environment. It is indeed with a great sense of pleasure and immense sense of
gratitude that I acknowledge the help of these individuals.
I would like to thank my Head of Department Prof. Kalyani Adawadkar for her constructive
criticism throughout my internship.
I would like to thank Dr. Shivam S. Upadhyay (Internal Guide) for their support and advices to
get and complete internship.
I am extremely great full to my department staff members and friends who helped me in successful
completion of this internship.

Your Sincerely,
Akash M. Vir
(200500116501)

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

ABSTRACT

This report is a detailed overview of my internship journey at Akash Technolabs.


During my internship I have learned a lot about how the industry of Android App
Development works, what are the parameter, how to work on an actual project.
Android is an open and free operating system based on Linux, which is mainly used
for mobile terminals, such as smart phones and panel computer. It is developed by
Open Handset Alliance composed of more than 30 technology companies and mobile
phone companies. Android tries to allow users experience the best service quality,
and allow developers get a more open level for more convenient software
developing. Thus, mobile applications with more convenient functions can be
developed via Android. This paper firstly presents the architecture of Android
platform, including the classes and methods in developing. Then we take audio/video
file procurement as an example to introduce the Android program design and
development, including classes application, program design, development and
analysis.

ii

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

List of Figures

Fig 1.1 Logo of Company………………………………………………………………….1


Fig 1.2 Industry Serve ……………………………………………………………………...2
Fig 1.3 Technologies use in Company……………………………………………………..2
Fig 3.1 Work of Mobile App Company……………………………………………………5
Fig 5.1 Activity Life Cycle………………………………………………………………..12
Fig 5.2 Use case Diagram…………………………………………………………………13
Fig 6.1 Hello World App………………………………………………………………….15
Fig 6.2 Radio Button Controller…………………………………………………………..18
Fig 6.3 Application for Demonstration of Android Activity Life Cycle………………….20
Fig 6.4 Login App Page…………………………………………………………………...23

iii

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

List of Tables

Table 3.1 Internship Scheduling…………………………………………………………….6


Table 5.1 Activity Life Cycle Method………………………………………………………13

iv

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

Abbreviations

XML Extensible Markup Language


JAVA Java Programming Language
PHP Hypertext Preprocessor
IOS iPhone Operating System
ERP Enterprise resource planning
UI User Interface

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

Table of Contents
Acknowledgement i
Abstract ii
List of Figures iii
List of Tables iv
List of Abbreviations v
Table of Contents vi
Chapter 1 Overview of the Company 1
1.1 About the Company 1
1.2 Different Product/Scope of Work 1
1.3 Company Industry Serve 2
1.4 Company Work on This Technologies 2
Chapter 2 Overview department and process being carried out in company 3
2.1 Different Department in Company 3
2.2 Processing Stage 4
Chapter 3 Introduction to Internship and Internship Management 5
3.1 Internship Summary 5
3.2 Purpose 6
3.3 Objective 6
3.4 Scope of Internship 6
3.5 Internship Scheduling 6
3.6 Benefits of Android Mobile Application 7
Chapter 4 Technology Learnt During Internship 8
4.1 XML 8
4.2 JAVA 9
4.3 KOTLIN 9
4.4 GitHub 10
Chapter 5 System Design 12
5.1 Android Activity Life Cycle 12
5.2 Use Case Diagram 13
Chapter 6 Android Task Done During Internship 14
6.1 Create ‘Hello World’ Application 14
6.2 Radio Button Controller App 16
6.3 Create application for demonstration of android activity life cycle 19
6.4 Create login application With User ID and Password 21
Chapter 7 Conclusion 24
7.1 Limitation 24
7.2 Future Enhancement 25
7.3 Conclusion 26
References 27

VI

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Overview of The Company

Chapter 1: Overview of The Company

1.1 About the Company

Akash Technolabs, as a website development company holds a reputed image among our
contemporaries. We assure to the best services to our clients for all the work they are dependent
on us. Website Development by our firm is completely original and unique. We have professionals
working for our clients’ website development projects that are relied upon us. We care for the trust
that our clients have in us and so we assure you to keep our quality up to the mark. We work on
various website development projects on an international level too.

Fig 1.1 Logo of Company

1.2 Different Product/Scope of Work

COMPANY BUILD WEB AND MOBILE APPLICATIONS FOR CLIENT:

1. PHP Development

2. Laravel Development

3. Node JS Development

4. Angular JS Development

5. React JS Development

6. Python Development

7. Android Development

8. IOS Development

9. Custom Development

10. Web Development

1
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Overview of The Company

1.3 Company Industry Serve

Akash technolabs Industry Serve are the

Fig 1.2 Industry Serve

1.4 Company Work on This Technologies

Fig 1.3 Technologies use in Company

2
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Overview of Department and Process Being Carried Out in Company

Chapter 2: Overview Department and Process Being Carried Out in


Company

2.1 Different Department in Company

Akash Technolabs have six different department and they are:

1. Website Development
2. Mobile App Development
3. Graphics Designing
4. ERP Software Development
5. Digital marketing
6. E-commerce Deployment

Website Development

We develop next gen website for you. Our programmers protect your website with new age
securities.

Mobile App Development

Applications make which is out of the box thinking. We develop Applications in Android, IOS as
well as cross platform Mobile Technologies.

Graphics Designing

Our strong team of designers gives you creative and innovative design ideas and solution.

ERP Software Development

We provide a complete business driven ERP solution. Team of expert developers gives you a
perfect ERP product suitable to your business.

Digital Marketing

Boosting your business on various digital platforms with perfect marketing and planning strategy
is our first goal.

3
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Overview of Department and Process Being Carried Out in Company

E-commerce Deployment

As a leading web development company, we provide a strong and secure e-commerce website to
our clients.

2.2: Processing Stage

Our Mobile development process spans six key phases: Strategy, Analysis & Planning, UI/UX
Design, App Development, Testing, Deployment.

Strategy:

Define strategic goals for evolving your idea into a successful application.

Analysis & Planning:

Identify the requirement, define team structure and prepare product roadmap.

UI/UX Design:

Create seamless and effortless user experiences with a polished design.

App Development:

Develop backend, API and mobile app following agile development process.

Testing:

Validate your app’s quality thoroughly with a series of testing criteria.

Deployment & Support:

Launch app on the Google App stores with support for future revisions.

4
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Introduction to Internship and Internship Management

Chapter 3: Introduction to Internship and Internship Management

3.1 Internship Summary

Android is the fastest moving operating system and getting popular with every update. The
dynamic and user-friendly applications of Android platform are favorite among the users. We are
offering a wide range of technologies to create customized android applications. Our android app
development company excels in creating powerful apps compatible with all android devices.

A team of professional android UX/UI developers and our proven mobile strategies offer high-
quality app development services. Highly fluctuating technology makes it essential to hire a
professional android mobile app development company.

CLEAN & MODERN DESIGN

INTEGRATION OF EXISTING SERVICES

ENTERPRISE APP SERVICES

APPLICATION MAINTANANCE
Fig. 3.1 Work of Mobile App Company

5
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Introduction to Internship and Internship Management

3.2 Purpose

Android training programs are oriented to bring you the knowledge of the most widely used
platform. More than a billion devices in the world are making moves in the Google play store.
Since Android is, the most popular platform, training in Android will help you to get the best
opportunities in the realm of the app development industry.
Learners are trained by the highly experienced IT trainer and developer. The training programs are
conveniently customized to meet specific requirements of the beginners and entrepreneurs.
3.3 Objective
We are an IT Engineer Graduate with working functional knowledge of basic core java, our
Android training will be extremely beneficial to you.

The main objective of our inter is to prepare next-gen developers and industry experts to create
user-friendly apps for tablets and smartphones with the best user experience.

The course will also acquaint you with the right application of the app in the business and approval
in the Google play store. Right after the course, you will be soon contributing applications to the
vast community of android apps.

3.4 Scope of Internship


The 5 reasons why Android Internship Training paves way to a bright future are
Familiarity with Android Ecosystem
Career Growth
Job Opportunities
Working on Real projects
Freelancing Opportunities
3.5 Internship Scheduling

Week wise Schedule


Week 1 Overall Knowledge Android, Android Studio Overview, Basic UI
Control and Setting, Java
Week 2 Display Edit Text Content in Text View, Pass Data from One
Activity To Other Activity, Intent In Android, Activity Life Cycle,
List View in Android, Grid View in Android

Table 3.1 Internship Scheduling

6
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Introduction to Internship and Internship Management

3.6 Benefits of Android Mobile Application

The mobile applications developed on the android OS have clear benefits over the apps developed
on another system. The android system offers Software Development Kit to the developers for
free. This ultimately reduces the client’s cost of development.

If you are looking for a highly customized app for your product, an android app is your best
solution. The android system is just ready for diverse customization. It is highly flexible
accordingly to your business need. The application and process architecture are simple to develop
and deploy.

Android platform is an open source system and offers a host of advantages over other operating
systems. First and first, it has a tremendous user base. The android app development process is
comparatively simpler.

A massive user base itself becomes a big boost to the product. Android mobile applications need
Java as a programming language. Hence, a lot of programmers find it simple to script codes. This
makes it easy for anyone to find an android development company or a developer to maintain and
modify the app in future.

7
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Technology Learnt During Internship

Chapter 4: Technology Learnt During Internship

4.1 XML
XML (Extensible Markup Language) is a markup language similar to HTML, but without
predefined tags to use. Instead, you define your own tags designed specifically for your needs.
This is a powerful way to store data in a format that can be stored, searched, and shared. Most
importantly, since the fundamental format of XML is standardized, if you share or transmit XML
across systems or platforms, either locally or over the internet, the recipient can still parse the data
due to the standardized XML syntax.

Structure of an XML document:

The whole structure of XML and XML-based languages is built on tags.

XML declaration

XML - declaration is not a tag. It is used for the transmission of the meta-data of a document.

<?xml version="1.0" encoding="UTF-8"?>

Correct design rules

For an XML document to be correct, the following conditions must be fulfilled:

 Document must be well-formed.


 Document must conform to all XML syntax rules.
 Document must conform to semantic rules, which are usually set in an XML schema.

Example:

<?xml version="1.0" encoding="UTF-8"?>

<message>

<warning>

Hello World

8
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Technology Learnt During Internship

<!--missing </warning> -->

</message>

4.2 JAVA

Java is a general-purpose, class-based, object-oriented programming language designed for


having lesser implementation dependencies. It is a computing platform for application
development. Java is fast, secure, and reliable, therefore. It is widely used for developing Java
applications in laptops, data centers, game consoles, scientific supercomputers, cell phones, etc.

Java Platform is a collection of programs that help programmers to develop and run Java
programming applications efficiently. It includes an execution engine, a compiler, and a set of
libraries in it. It is a set of computer software and specifications. James Gosling developed the Java
platform at Sun Microsystems, and the Oracle Corporation later acquired it.

Example:

class Simple{
public static void main(String args[]){
System.out.println("Hello Java");
}
}

4.3 KOTLIN

Kotlin is an open-source, statically typed programming language that supports both object-oriented
and functional programming. Kotlin provides similar syntax and concepts from other languages,
including C#, Java, and Scala, among many others. Kotlin does not aim to be unique—instead, it
draws inspiration from decades of language development. It exists in variants that target the JVM
(Kotlin/JVM), JavaScript (Kotlin/JS), and native code (Kotlin/Native).

Kotlin is managed by the Kotlin Foundation, a group created by JetBrains and Google, that is
tasked with advancing and continuing development of the language. Kotlin is officially supported
by Google for Android development, meaning that Android documentation and tooling is designed
with Kotlin in mind.

9
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Technology Learnt During Internship

Certain Android APIs, like Android KTX, are Kotlin-specific, but most are written in Java and can
be called from either Java or Kotlin. Kotlin’s interoperability with Java is core to its growth. It
means that you can call into Java code from Kotlin and vice-versa, leveraging all of your existing
Java libraries. Kotlin’s popularity results in a nicer development experience on Android, but
development of the Android framework continues with both Kotlin and Java in mind.

Example:

class LoginFragment : Fragment() {

private lateinit var usernameEditText: EditText


private lateinit var passwordEditText: EditText
private lateinit var loginButton: Button
private lateinit var statusTextView: TextView

override fun onViewCreated(view: View, savedInstanceState: Bundle?) {


super.onViewCreated(view, savedInstanceState)

usernameEditText = view.findViewById(R.id.username_edit_text)
passwordEditText = view.findViewById(R.id.password_edit_text)
loginButton = view.findViewById(R.id.login_button)
statusTextView = view.findViewById(R.id.status_text_view)
}

...
}

4.4 GITHUB

GitHub is a code hosting platform for version control and collaboration. It lets you and others work
together on projects from anywhere.

10
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Technology Learnt During Internship

This tutorial teaches you GitHub essentials like repositories, branches, commits, and pull requests.
You'll create your own Hello World repository and learn GitHub's pull request workflow, a popular
way to create and review code.

In this QuickStart guide, you will:

 Create and use a repository


 Start and manage a new branch
 Make changes to a file and push them to GitHub as commits
 Open and merge a pull request

To complete this tutorial, you need a GitHub account and Internet access. You don't need to know
how to code, use the command line, or install Git (the version control software that GitHub is built
on). If you have a question about any of the expressions used in this guide, head on over to
the glossary to find out more about our terminology.

11
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 System Design

Chapter - 5: System Design

5.1 Android Activity Life Cycle


Android system initiates its program with in an Activity starting with a call on onCreate() callback

method. There is a sequence of callback methods that start up an activity and a sequence of callback

methods that tear down an activity as shown in the below Activity life cycle diagram:

Fig. 5.1 Activity Life Cycle

12
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 System Design

Let's see the 7 lifecycle methods of android activity.

Method Decryption

onCreate() called when activity is first created.

onStart() called when activity is becoming visible to the user.

onResume() called when activity will start interacting with the user.

onPause() called when activity is not visible to the user.

onStop() called when activity is no longer visible to the user.

onRestart() called after your activity is stopped, prior to start.

onDestroy() called before the activity is destroyed.

Table 5.1 Activity Life Cycle Method

5.2 Use Case Diagram

The Poster Finder app allows you to search for a movie by name and then displays its poster, if
available. How can you represent the main use cases of the app with a diagram? In UML you do
this using a use case diagram.

Fig. 5.2 Use case Diagram


13
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Android Task Done During Internship

Chapter - 6: Android Task Done During Internship

6.1 Create ‘Hello World’ Application


Activity_textview.xml File:

TextviewActivity.java File:

14
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Android Task Done During Internship

Fig 6.1 Hello World App

15
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Android Task Done During Internship

6.2 Radio Button Controller App


Activity_radiobutton.xml File

16
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Android Task Done During Internship

RadioButtonActivity_java File

17
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Android Task Done During Internship

OUTPUT:

Fig 6.2 Radio Button Controller

18
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Android Task Done During Internship

6.3 Create application for demonstration of android activity life cycle

activity_main.xml

<?xml version="1.0" encoding="utf-8"?>


<androidx.constraintlayout.widget.ConstraintLayout
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:layout_height="match_parent"
tools:context=".MainActivity">

<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />

</androidx.constraintlayout.widget.ConstraintLayout>

MainActivity.java

package com.example.helloworld;

import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {

TextView textView;
String text;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

textView = findViewById(R.id.textView);
text = textView.getText().toString();
text = text + "\n onCreate Method";
textView.setText(text);
}
@Override
protected void onStart() {
super.onStart();
text = textView.getText().toString();
text = text + "\n onStart Method";
textView.setText(text);

19
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Android Task Done During Internship

}
@Override
protected void onResume() {
super.onResume();
text = textView.getText().toString();
text = text + "\n onResume Method";
textView.setText(text);
}
@Override
protected void onPause() {
super.onPause();
text = textView.getText().toString();
text = text + "\n onPause Method";
textView.setText(text);
}
@Override
protected void onStop() {
super.onStop();
text = textView.getText().toString();
text = text + "\n onStop Method";
textView.setText(text);
}
@Override
protected void onRestart() {
super.onRestart();
text = textView.getText().toString();
text = text + "\n onRestart Method";
textView.setText(text);
}
@Override
protected void onDestroy() {
super.onDestroy();
text = textView.getText().toString();
text = text + "\n onDestroy Method";
textView.setText(text);
}
}

Output:

Fig 6.3 Application for Demonstration of Android Activity Life Cycle

20
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Android Task Done During Internship

6.4 Create login application With User ID and Password

activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"

android:layout_width="match_parent"
android:layout_height="match_parent"
>
<TextView
android:id="@+id/tvName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="21dp"
android:layout_marginTop="49dp"
android:text="User Name"
android:textSize="18sp" />

<EditText
android:id="@+id/etUsername"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@+id/tvName"
android:layout_alignBottom="@+id/tvName"
android:layout_alignParentEnd="true"
android:layout_marginEnd="23dp"
android:ems="10"
android:inputType="textPersonName" />

<TextView
android:id="@+id/tvPass"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignEnd="@+id/tvName"
android:layout_below="@+id/etUsername"
android:layout_marginTop="32dp"
android:text="Password"
android:textSize="18sp" />

<EditText
android:id="@+id/etPassword"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@+id/tvPass"
android:layout_alignBottom="@+id/tvPass"
android:layout_alignStart="@+id/etUsername"
android:ems="10"
android:inputType="textPassword" />

<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/etPassword"
android:layout_centerHorizontal="true"

21
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Android Task Done During Internship

android:layout_marginTop="38dp"
android:text="LOGIN"
/>
<TextView
android:id="@+id/tvLoginStatus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/button"
android:layout_centerHorizontal="true"
android:layout_marginTop="100sp"
/>
</RelativeLayout>

MainActivity.java
package com.example.helloworld;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {


EditText etUsername, etPassword;
Button btnStatus;
TextView tvLoginStatus;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
etUsername = (EditText) findViewById(R.id.etUsername);
etPassword = (EditText) findViewById(R.id.etPassword);
btnStatus = (Button) findViewById(R.id.button);
tvLoginStatus = (TextView) findViewById(R.id.tvLoginStatus);
etPassword.addTextChangedListener(TextChange);
etUsername.addTextChangedListener(TextChange);
check();
}

private TextWatcher TextChange=new TextWatcher() {


@Override
public void beforeTextChanged(CharSequence charSequence, int i, int
i1, int i2) {

@Override
public void onTextChanged(CharSequence charSequence, int i, int i1,
int i2) {

22
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Android Task Done During Internship

@Override
public void afterTextChanged(Editable editable) {
check();
}
};
public void check(){
if(etUsername.getText().toString().equals("tonystark") &&
etPassword.getText().toString().equals("loveyou3000")){
btnStatus.setEnabled(true);
}else{
btnStatus.setEnabled(false);
}
}
}

Output:

Fig 6.4 Login App Page

23
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Conclusion

Chapter -7: CONCLUSION

7.1 Limitation

The Limitation of Android Operating System are

Android Advertisement pop-ups

Applications are openly accessible in the Google play store. Yet, these applications begin
demonstrating tons of advertisements on the notification bar and over the application.

This promotion is extremely bothersome and makes a colossal issue in dealing with your Android
phone.

Android require Gmail ID

You can’t get to the Android gadget. On the off chance that you have overlooked your email ID
or password. As I let you know over that Android is Google property.

Along these lines, you need Gmail ID to get to Android. Google ID is exceptionally valuable in
opening Android phone bolts as well.

Android Battery Drain

Android handset is considered a standout amongst the most battery-devouring operating systems.
In the android operating system, there is a lot of processes running out of sight which brings about
the snappy draining of the battery.

It is difficult to stop these applications as the lion’s share of them are system applications.

Android Malware/Virus/Security

Android gadget is not viewed as protected when contrasted with different applications. It is
anything but difficult to target any Android phone and each day millions of attempts are done on
Android phones.

Hackers continue attempting to take your own data.

24
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Conclusion

7.2 Future Enhancement

The scope of android app development in IT and other sectors in India can be evaluated from the
fact that many of the IT industries generate their revenue majorly through their online android
applications.

For Example, e-commerce industries such as Flipkart, Amazon, Snapdeal, eBay, Lens Kart,
Jabong, Myntra etc. sell their products either through website or their android apps.

Apart from e-commerce, there are several other domains which are utilizing android platform to
deliver their services and products to the customers.

Education

Android Education Apps such as Byju’s, TopRankers, Simplilearn, Prozo, NCERT Solution,
EQuickes, Vocabulary etc. have made it possible for learners to get as much knowledge and
information as they can get from the books. So rather than paying money to buy books,
downloading free education apps is a way better choice.

Social Media

Social Media is another platform which is getting enormous benefits through android applications.
World’s biggest organizations such as Facebook, LinkedIn, Instagram, Twitter, Pinterest etc. are
the famous examples which have utilized android platform for their business profits. Other famous
social media applications include Whatsapp, Snapchat, WeChat, Tumblr, Kik, Vine, Periscope etc.

Banking & Finance

Android applications for banking & finance are PayPal, EconomicTimes, Google Tez, Paytm,
BHIM, PhonePe, ZebPay Bitcoin India, etc. These applications have made banking and finance a
much easier task.

Gaming

There are many android games available on google playstore and other app markets which have
generated huge ROI’s. Some of these highest grossing android games are Clash of Clans, Temple
Run, Subway Surfer, Candy Crush, PES, 8 Ball Pool, Teen Patti, Clash Royale etc.

25
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 Conclusion

Media & Entertainment

The future of android mobile app development regarding media & entertainment industry seems
to be very auspicious. To get sports updates, watch tv serials, listen music etc. people using
smartphones from around the world prefer mobile apps to avail all such benefits.Some of the
android applications for media & entertainment are Wynk, Soundcloud, Saavn, IMDb, Hungama,
Google Play Music, Smule, Cricbuzz etc.

Freelancing

The scope of android app development is not limited to domains such as e-commerce, education,
social media, gaming, banking & finance etc. Freelancing is another aspect where an individual
can utilize his android app development skills and make personal profits.

7.3 Conclusion
Overall, this internship was a very useful experience. I have gained some knowledge and skills. I
achieved several of my learning goal. I got insight into professional practice and work
environment. There is still a lot to discover and to improve. The internship was also a good way
to find out what my strength and weaknesses. This helped me to define what skills and knowledge.
I have improve in the coming time.

26
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])


lOMoARcPSD|55067402

244891 References

References
1. https://akashtechnolabs.com/ About the Company.
2. https://www.w3schools.com/xml/xml_whatis.asp for XML.
3. https://www.oracle.com/java/technologies for Java.
4. https://kotlinlang.org/ for Kotlin.
5. https://developer.android.com/guide/components/activities/activity-lifecycle for Android
activity lifecycle and Android Studio.

27
Gujarat Technological University Sigma Institute of Engineering

Downloaded by Devil White ([email protected])

You might also like