SlideShare a Scribd company logo
1 of 30
Android Application
Development
Industrial Summer Training at Guwahati Refinery, Indian Oil Corporation Limited
Kavya Barnadhya Hazarika
INTRODUCTION
For fulfillment of Industrial Summer Training (CO471) credit
requirement, we underwent a month long internship program at IOCL,
Guwahati Refinery from 15th June, 2018 to 15th July, 2018 under the
guidance of Mr. Manoj M. Parhate, DGM(IS).
We were assigned to develop a basic android application to streamline
the process of Quarter Allotment in Guwahati Refinery.
OBJECTIVE
Develop an android application for the employees of IOCL, Guwahati
Refinery which will help to streamline the process of applying for
Quarters and their allotment. In order to achieve this we plan to
implement the following:
● Design a cloud-based MySQL Database for storing and performing
operations of all employee data.
● Design a UI to enable user interaction with the database.
● Enabling the above by using tools like JAVA, XML and PHP.
OVERVIEW
● Android is an open source and Linux-based Operating System
developed by Open Handset Alliance, led by Google.
● First beta version of the Android Software Development Kit (SDK)
was released by Google in 2007, where as the first commercial
version, Android 1.0 was released in September 2008.
● It has been the best-selling OS worldwide on smartphone since
2011 and has over two billion monthly active users.
VERSIONS
ARCHITECTURE
• The foundation of Android is the
Linux Kernel.
• Hardware Abstraction Layer provides
standard interface that expose device
hardware capabilities to the higher
level Java API Framework.
• Each application runs its own
process and with its own instance of
Android Runtime (ART). It supports
multiple virtual machines on low-
memory devices by executing DEX
files, a bytecode format. It also
includes a set of core runtime
libraries which provides functionality
of Java and Java API Framework.
ARCHITECTURE
● Many core Android system components and services, such as ART and HAL, are
built from native code which requires Native C/C++ Libraries.
● Entire feature-set of Android OS is available through APIs written in the Java
Language.
○ View System – Can be used to build an app’s UI.
○ Resource Manager – Providing access to non – code resources such as localized strings,
graphics and layout files.
○ Notification Manager – Enables all apps to display custom alerts in status bar.
○ Activity Manager – Manages the lifecycle of apps.
○ Content Providers – Enables apps to access data from other apps.
● Android comes with a set of core apps for email, SMS, calendars etc. The
System Apps function both as apps for users and provide capabilities that
developers can access for their own app.
IMPORTANT APPLICATION FILES
● Main Activity – This is the
application file which ultimately get
converted to a Dalvik (DEX)
executable and runs the application.
public class MainActivity extends
AppCompatActivity {
@Override
protected void onCreate(Bundle
savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
}
• Manifest File – All components of the
application resides in manifest.xml.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.tutorialspoint7.myapplication">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
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>
IMPORTANT APPLICATION FILES
● Strings File – strings.xml file
contains all the text that the
application uses.
<resources>
<string name="app_name">HelloWorld</string>
<string name="hello_world">Hello world!</string>
<string name="menu_settings">Settings</string>
<string
name="title_activity_main">MainActivity</string>
</resources>
• Layout File – activity-main.xml is the layout file
referenced by the application when building tis
interface.
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:padding="@dimen/padding_medium"
android:text="@string/hello_world"
tools:context=".MainActivity" />
</RelativeLayout>
ACTIVITIES
An activity is a single, focused thing that
the user can do. All activities interact with
the user, so the Activity class takes care of
creating a window in which we can place
our UI with setContentView(View). Android
system initiates its program with an
Activity starting with a call on onCreate()
callback method.
FLOWCHART
FLOWCHART
1
Database Design
(MySQL)
2
Deployment on Cloud
(000WebHost.com)
3
Application Development
(Design and Coding)
4
Integrating Database
with Application using
PHP Scripts
TECHNICAL DESCRIPTIONS
PRINCIPLE
Android Applications can be developed using Kotlin, Java and C++
languages. We used JAVA in our project. The code along with any data
and resource file is compiled by the Android SDK tools into an APK
(Android Package Kit). One APK file contains all the contents of an
Android Application and is the file that android-powered devices use to
install the application.
How an Android Application is Run?
● The android operating system is a multi-user system in which each
application is a different user.
● By default, the system assigns each application an unique Linux user
ID.
● The system sets permissions for all the files in an app so that only
the user ID assigned to that app can access them.
● Each process has its own virtual machine, so an app’s code runs in
isolation from other apps.
● By default, every app runs in its own Linux process. The android
system starts the process when any of the app’s components need
to be executed, and then shuts down the process when it’s no longer
needed or when the system must recover memory for other apps.
DATABASE
HEADERS FOR THE DATABASE (designed using MySQL in PHPMyAdmin)
DEPLOYMENT ON CLOUD
Hosted on 000Webhost.com
APPLICATION DEVELOPMENT
Developed in Android Studio
APPLICATION SCREENSHOTS
WELCOME
SCREEN
Apply button will lead to next
page which is an Input Form.
View button will display all the
entered data from the database.
APPLY SCREEN
Here, the user can enter all his
relevant details to be stored in
the database.
VIEW SCREEN
It displays few relevant details
from the database. Upon
clicking each of the item we can
Edit or Delete accordingly.
EDIT/DELETE
SCREEN
On clicking the delete button,
the entry for this item will be
removed from the database.
Similarly, on clicking the edit
button we go into a Update
Form page.
UPDATE
SCREEN
Here, the values are pre-filled
and we can only change the
required values as per
requirements and update it to
the database.
CONCLUSION
The project “Quarter Allotment Application” was designed and carried
out for convenience of employees of Refinery to make the process of
applying for quarters mobile by using their android smartphones.
The project was completed in a short span of one month and due to
such time constraints further development of the application couldn’t
have been carried out. However, the development process must go on.
BIBLIOGRAPHY
Throughout the development process, following source of information
were referred to expand our knowledge base:
● https://developer.android.com/ (The official site for Android app
developers).
● LinkedIn Learning
● Udemy Courses
● https://www.w3schools.com/ (PHP and MySQL)
THE END

More Related Content

What's hot

Oracle bi 11.1.1.6.1 and adf integration
Oracle bi 11.1.1.6.1 and adf integrationOracle bi 11.1.1.6.1 and adf integration
Oracle bi 11.1.1.6.1 and adf integrationRavi Kumar Lanke
 
How Android Architecture Components can Help You Improve Your App’s Design?
How Android Architecture Components can Help You Improve Your App’s Design?How Android Architecture Components can Help You Improve Your App’s Design?
How Android Architecture Components can Help You Improve Your App’s Design?Paul Cook
 
12. Android Basic Google Map
12. Android Basic Google Map12. Android Basic Google Map
12. Android Basic Google MapOum Saokosal
 
2010 08-26-smart-architecture
2010 08-26-smart-architecture2010 08-26-smart-architecture
2010 08-26-smart-architectureCHIP
 
Creating a mule project with raml and api
Creating a mule project with raml and apiCreating a mule project with raml and api
Creating a mule project with raml and apiBhargav Ranjit
 
Rohit mohite resume 1
Rohit mohite resume 1Rohit mohite resume 1
Rohit mohite resume 1Rohit Mohite
 
Android Training For Beginner @DILO Bandung
Android Training For Beginner @DILO BandungAndroid Training For Beginner @DILO Bandung
Android Training For Beginner @DILO BandungAde Rifaldi
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidjavalabsf
 
MVP Community Camp 2014 - How to use enhanced features of Windows 8.1 Store ...
MVP Community Camp 2014 - How to useenhanced features of Windows 8.1 Store ...MVP Community Camp 2014 - How to useenhanced features of Windows 8.1 Store ...
MVP Community Camp 2014 - How to use enhanced features of Windows 8.1 Store ...Akira Hatsune
 
Create Location Sharing apps using the Ionic framework
Create Location Sharing apps using the Ionic framework					Create Location Sharing apps using the Ionic framework
Create Location Sharing apps using the Ionic framework Shelly Megan
 
Maps in android
Maps in androidMaps in android
Maps in androidSumita Das
 
Here are the Most Useful Tools for Mobile App Development
Here are the Most Useful Tools for Mobile App DevelopmentHere are the Most Useful Tools for Mobile App Development
Here are the Most Useful Tools for Mobile App DevelopmentIndianAppDevelopers
 

What's hot (20)

Oracle bi 11.1.1.6.1 and adf integration
Oracle bi 11.1.1.6.1 and adf integrationOracle bi 11.1.1.6.1 and adf integration
Oracle bi 11.1.1.6.1 and adf integration
 
How Android Architecture Components can Help You Improve Your App’s Design?
How Android Architecture Components can Help You Improve Your App’s Design?How Android Architecture Components can Help You Improve Your App’s Design?
How Android Architecture Components can Help You Improve Your App’s Design?
 
Introduction to Google App Engine
Introduction to Google App EngineIntroduction to Google App Engine
Introduction to Google App Engine
 
12. Android Basic Google Map
12. Android Basic Google Map12. Android Basic Google Map
12. Android Basic Google Map
 
2010 08-26-smart-architecture
2010 08-26-smart-architecture2010 08-26-smart-architecture
2010 08-26-smart-architecture
 
Project Experience
Project ExperienceProject Experience
Project Experience
 
Creating a mule project with raml and api
Creating a mule project with raml and apiCreating a mule project with raml and api
Creating a mule project with raml and api
 
Android dev tips
Android dev tipsAndroid dev tips
Android dev tips
 
Google App Engine tutorial
Google App Engine tutorialGoogle App Engine tutorial
Google App Engine tutorial
 
Mule Integration with Atlassian JIRA
Mule Integration with Atlassian JIRAMule Integration with Atlassian JIRA
Mule Integration with Atlassian JIRA
 
Android programming basics
Android programming basicsAndroid programming basics
Android programming basics
 
React native-app-development
React native-app-developmentReact native-app-development
React native-app-development
 
Rohit mohite resume 1
Rohit mohite resume 1Rohit mohite resume 1
Rohit mohite resume 1
 
Android Training For Beginner @DILO Bandung
Android Training For Beginner @DILO BandungAndroid Training For Beginner @DILO Bandung
Android Training For Beginner @DILO Bandung
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
MVP Community Camp 2014 - How to use enhanced features of Windows 8.1 Store ...
MVP Community Camp 2014 - How to useenhanced features of Windows 8.1 Store ...MVP Community Camp 2014 - How to useenhanced features of Windows 8.1 Store ...
MVP Community Camp 2014 - How to use enhanced features of Windows 8.1 Store ...
 
Create Location Sharing apps using the Ionic framework
Create Location Sharing apps using the Ionic framework					Create Location Sharing apps using the Ionic framework
Create Location Sharing apps using the Ionic framework
 
Maps in android
Maps in androidMaps in android
Maps in android
 
Here are the Most Useful Tools for Mobile App Development
Here are the Most Useful Tools for Mobile App DevelopmentHere are the Most Useful Tools for Mobile App Development
Here are the Most Useful Tools for Mobile App Development
 
Google Maps in Android
Google Maps in AndroidGoogle Maps in Android
Google Maps in Android
 

Similar to Android Development : (Android Studio, PHP, XML, MySQL)

Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...DicodingEvent
 
Jaipur Bus Finder - An Android-based Application
Jaipur Bus Finder - An Android-based ApplicationJaipur Bus Finder - An Android-based Application
Jaipur Bus Finder - An Android-based ApplicationAI Publications
 
Jaipur Bus Finder - An Android-based Application
Jaipur Bus Finder - An Android-based ApplicationJaipur Bus Finder - An Android-based Application
Jaipur Bus Finder - An Android-based ApplicationAI Publications
 
Part 2 android application development 101
Part 2 android application development 101Part 2 android application development 101
Part 2 android application development 101Michael Angelo Rivera
 
Getting started with android programming
Getting started with android programmingGetting started with android programming
Getting started with android programmingPERKYTORIALS
 
Android App development and test environment, Understaing android app structure
Android App development and test environment, Understaing android app structureAndroid App development and test environment, Understaing android app structure
Android App development and test environment, Understaing android app structureVijay Rastogi
 
Compose camp 4.pptx
Compose camp 4.pptxCompose camp 4.pptx
Compose camp 4.pptxbcedsc
 
How React Native has changed Web and Mobile Application Development, Engineer...
How React Native has changed Web and Mobile Application Development, Engineer...How React Native has changed Web and Mobile Application Development, Engineer...
How React Native has changed Web and Mobile Application Development, Engineer...engineermaste solution
 
Android Tutorial
Android TutorialAndroid Tutorial
Android TutorialFun2Do Labs
 
Industrial Training in Android Application
Industrial Training in Android ApplicationIndustrial Training in Android Application
Industrial Training in Android ApplicationArcadian Learning
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android DevelopmentProf. Erwin Globio
 
Android Workshop
Android WorkshopAndroid Workshop
Android WorkshopJunda Ong
 
Android In A Nutshell
Android In A NutshellAndroid In A Nutshell
Android In A NutshellTed Chien
 
Case study on tablet application for real time video, audio and ppt conversion
Case study on tablet application for real time video, audio and ppt conversionCase study on tablet application for real time video, audio and ppt conversion
Case study on tablet application for real time video, audio and ppt conversionGrey Matter India Technologies PVT LTD
 
COMP6210 Web Services And Design Methodologies.docx
COMP6210 Web Services And Design Methodologies.docxCOMP6210 Web Services And Design Methodologies.docx
COMP6210 Web Services And Design Methodologies.docxwrite31
 
Android developers use the term layout to mean one of two things. Bo.pdf
Android developers use the term layout to mean one of two things. Bo.pdfAndroid developers use the term layout to mean one of two things. Bo.pdf
Android developers use the term layout to mean one of two things. Bo.pdfhimanshukausik409
 
architecture of android.pptx
architecture of android.pptxarchitecture of android.pptx
architecture of android.pptxallurestore
 
Real-time Text Audio to Video PPT Converter Tablet App
Real-time Text Audio to Video PPT Converter Tablet AppReal-time Text Audio to Video PPT Converter Tablet App
Real-time Text Audio to Video PPT Converter Tablet AppMike Taylor
 

Similar to Android Development : (Android Studio, PHP, XML, MySQL) (20)

Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
 
Jaipur Bus Finder - An Android-based Application
Jaipur Bus Finder - An Android-based ApplicationJaipur Bus Finder - An Android-based Application
Jaipur Bus Finder - An Android-based Application
 
Jaipur Bus Finder - An Android-based Application
Jaipur Bus Finder - An Android-based ApplicationJaipur Bus Finder - An Android-based Application
Jaipur Bus Finder - An Android-based Application
 
Part 2 android application development 101
Part 2 android application development 101Part 2 android application development 101
Part 2 android application development 101
 
Getting started with android programming
Getting started with android programmingGetting started with android programming
Getting started with android programming
 
Android App development and test environment, Understaing android app structure
Android App development and test environment, Understaing android app structureAndroid App development and test environment, Understaing android app structure
Android App development and test environment, Understaing android app structure
 
Compose camp 4.pptx
Compose camp 4.pptxCompose camp 4.pptx
Compose camp 4.pptx
 
How React Native has changed Web and Mobile Application Development, Engineer...
How React Native has changed Web and Mobile Application Development, Engineer...How React Native has changed Web and Mobile Application Development, Engineer...
How React Native has changed Web and Mobile Application Development, Engineer...
 
Android Tutorial
Android TutorialAndroid Tutorial
Android Tutorial
 
Industrial Training in Android Application
Industrial Training in Android ApplicationIndustrial Training in Android Application
Industrial Training in Android Application
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
PPT Companion to Android
PPT Companion to AndroidPPT Companion to Android
PPT Companion to Android
 
Android Workshop
Android WorkshopAndroid Workshop
Android Workshop
 
Android In A Nutshell
Android In A NutshellAndroid In A Nutshell
Android In A Nutshell
 
Case study on tablet application for real time video, audio and ppt conversion
Case study on tablet application for real time video, audio and ppt conversionCase study on tablet application for real time video, audio and ppt conversion
Case study on tablet application for real time video, audio and ppt conversion
 
COMP6210 Web Services And Design Methodologies.docx
COMP6210 Web Services And Design Methodologies.docxCOMP6210 Web Services And Design Methodologies.docx
COMP6210 Web Services And Design Methodologies.docx
 
Android developers use the term layout to mean one of two things. Bo.pdf
Android developers use the term layout to mean one of two things. Bo.pdfAndroid developers use the term layout to mean one of two things. Bo.pdf
Android developers use the term layout to mean one of two things. Bo.pdf
 
Stmik bandung
Stmik bandungStmik bandung
Stmik bandung
 
architecture of android.pptx
architecture of android.pptxarchitecture of android.pptx
architecture of android.pptx
 
Real-time Text Audio to Video PPT Converter Tablet App
Real-time Text Audio to Video PPT Converter Tablet AppReal-time Text Audio to Video PPT Converter Tablet App
Real-time Text Audio to Video PPT Converter Tablet App
 

Recently uploaded

Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 

Recently uploaded (20)

Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 

Android Development : (Android Studio, PHP, XML, MySQL)

  • 1. Android Application Development Industrial Summer Training at Guwahati Refinery, Indian Oil Corporation Limited Kavya Barnadhya Hazarika
  • 2. INTRODUCTION For fulfillment of Industrial Summer Training (CO471) credit requirement, we underwent a month long internship program at IOCL, Guwahati Refinery from 15th June, 2018 to 15th July, 2018 under the guidance of Mr. Manoj M. Parhate, DGM(IS). We were assigned to develop a basic android application to streamline the process of Quarter Allotment in Guwahati Refinery.
  • 3. OBJECTIVE Develop an android application for the employees of IOCL, Guwahati Refinery which will help to streamline the process of applying for Quarters and their allotment. In order to achieve this we plan to implement the following: ● Design a cloud-based MySQL Database for storing and performing operations of all employee data. ● Design a UI to enable user interaction with the database. ● Enabling the above by using tools like JAVA, XML and PHP.
  • 4. OVERVIEW ● Android is an open source and Linux-based Operating System developed by Open Handset Alliance, led by Google. ● First beta version of the Android Software Development Kit (SDK) was released by Google in 2007, where as the first commercial version, Android 1.0 was released in September 2008. ● It has been the best-selling OS worldwide on smartphone since 2011 and has over two billion monthly active users.
  • 6. ARCHITECTURE • The foundation of Android is the Linux Kernel. • Hardware Abstraction Layer provides standard interface that expose device hardware capabilities to the higher level Java API Framework. • Each application runs its own process and with its own instance of Android Runtime (ART). It supports multiple virtual machines on low- memory devices by executing DEX files, a bytecode format. It also includes a set of core runtime libraries which provides functionality of Java and Java API Framework.
  • 7. ARCHITECTURE ● Many core Android system components and services, such as ART and HAL, are built from native code which requires Native C/C++ Libraries. ● Entire feature-set of Android OS is available through APIs written in the Java Language. ○ View System – Can be used to build an app’s UI. ○ Resource Manager – Providing access to non – code resources such as localized strings, graphics and layout files. ○ Notification Manager – Enables all apps to display custom alerts in status bar. ○ Activity Manager – Manages the lifecycle of apps. ○ Content Providers – Enables apps to access data from other apps. ● Android comes with a set of core apps for email, SMS, calendars etc. The System Apps function both as apps for users and provide capabilities that developers can access for their own app.
  • 8. IMPORTANT APPLICATION FILES ● Main Activity – This is the application file which ultimately get converted to a Dalvik (DEX) executable and runs the application. public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } } • Manifest File – All components of the application resides in manifest.xml. <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.tutorialspoint7.myapplication"> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" 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>
  • 9. IMPORTANT APPLICATION FILES ● Strings File – strings.xml file contains all the text that the application uses. <resources> <string name="app_name">HelloWorld</string> <string name="hello_world">Hello world!</string> <string name="menu_settings">Settings</string> <string name="title_activity_main">MainActivity</string> </resources> • Layout File – activity-main.xml is the layout file referenced by the application when building tis interface. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:padding="@dimen/padding_medium" android:text="@string/hello_world" tools:context=".MainActivity" /> </RelativeLayout>
  • 10. ACTIVITIES An activity is a single, focused thing that the user can do. All activities interact with the user, so the Activity class takes care of creating a window in which we can place our UI with setContentView(View). Android system initiates its program with an Activity starting with a call on onCreate() callback method.
  • 12. FLOWCHART 1 Database Design (MySQL) 2 Deployment on Cloud (000WebHost.com) 3 Application Development (Design and Coding) 4 Integrating Database with Application using PHP Scripts
  • 14. PRINCIPLE Android Applications can be developed using Kotlin, Java and C++ languages. We used JAVA in our project. The code along with any data and resource file is compiled by the Android SDK tools into an APK (Android Package Kit). One APK file contains all the contents of an Android Application and is the file that android-powered devices use to install the application.
  • 15. How an Android Application is Run? ● The android operating system is a multi-user system in which each application is a different user. ● By default, the system assigns each application an unique Linux user ID. ● The system sets permissions for all the files in an app so that only the user ID assigned to that app can access them. ● Each process has its own virtual machine, so an app’s code runs in isolation from other apps. ● By default, every app runs in its own Linux process. The android system starts the process when any of the app’s components need to be executed, and then shuts down the process when it’s no longer needed or when the system must recover memory for other apps.
  • 17. HEADERS FOR THE DATABASE (designed using MySQL in PHPMyAdmin)
  • 23. WELCOME SCREEN Apply button will lead to next page which is an Input Form. View button will display all the entered data from the database.
  • 24. APPLY SCREEN Here, the user can enter all his relevant details to be stored in the database.
  • 25. VIEW SCREEN It displays few relevant details from the database. Upon clicking each of the item we can Edit or Delete accordingly.
  • 26. EDIT/DELETE SCREEN On clicking the delete button, the entry for this item will be removed from the database. Similarly, on clicking the edit button we go into a Update Form page.
  • 27. UPDATE SCREEN Here, the values are pre-filled and we can only change the required values as per requirements and update it to the database.
  • 28. CONCLUSION The project “Quarter Allotment Application” was designed and carried out for convenience of employees of Refinery to make the process of applying for quarters mobile by using their android smartphones. The project was completed in a short span of one month and due to such time constraints further development of the application couldn’t have been carried out. However, the development process must go on.
  • 29. BIBLIOGRAPHY Throughout the development process, following source of information were referred to expand our knowledge base: ● https://developer.android.com/ (The official site for Android app developers). ● LinkedIn Learning ● Udemy Courses ● https://www.w3schools.com/ (PHP and MySQL)