0% found this document useful (0 votes)
57 views3 pages

Simple Architecture: Tools, Software, Applications Used

This document provides an overview of the simple architecture of an online Android application. Key components include an online server with APIs, an Android app, and both online and local databases. The Android app allows for authentication, displaying employee details, accessing assets based on authorization, inserting/viewing tower details, and syncing data with the online database. It utilizes activities like Login, Profile, Tower Main, and Sync to input and output data and interface with the online and local databases via server APIs.

Uploaded by

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

Simple Architecture: Tools, Software, Applications Used

This document provides an overview of the simple architecture of an online Android application. Key components include an online server with APIs, an Android app, and both online and local databases. The Android app allows for authentication, displaying employee details, accessing assets based on authorization, inserting/viewing tower details, and syncing data with the online database. It utilizes activities like Login, Profile, Tower Main, and Sync to input and output data and interface with the online and local databases via server APIs.

Uploaded by

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

Simple Architecture

Online
Android
Server
Internet App

 Tools, Software, Applications used:

Server
a. Server: XAMPP Control Panel,
Online Local
APIs
DB  Version: Apache 2.4, Sqlite
 Port: 80 – Main port, 443 – SSL port
DB
b. Online DB: pgAdmin 4
 Version: PostgreSQL Server 12.3
 Port: 5432
c. Android: Android Studio 4.0.1
d. Google Map:
 Version: Trial
 Key: AIzaSyDqow6BYuTCFhTPcyWBENpPOWFk81PB1p8
e. Coding Language used:
 Android: Java
 Server: PHP
 Functionality provided in Android Application:

 Authentication – Login Activity


 Display of Employee’s basic details – Profile Activity
 Display of Assets based on Authorization – Power Map Activity
 Inserting / Displaying tower details based on Authorization – Tower Main Activity
 Syncing data on Online DB based on Authorization – Sync / Logout Activity

 Detailed working of Android Application:

No. Activity Input Output Database Remark


Name
1. Login Employee Success: display getcogis DB is Sends input data
Activity Number Dashboard, created on on server for
Failure: display success. Table authentication,
Password Error Message ‘mst_employee’ is ‘login.php’ API is
Data: Employee created. used for
details received on authentication
success

2. Dashboard Nil Profile Nil Nil


Activity Power Map
Line Master
Tower Master
3. Profile Nil Employee No. Retrieve Employee Nil
Activity Employee Name data from
Designation ‘mst_employee’
Org Code table.
Org Name
Access Level
4. Tower Org Code List of Lines in  Create Retrieve lines’ data
Master / (Auto) Dropdown List ‘linemaster’ matching Org Code
Tower table and insert in ‘get_lines.php’
Main line data based
on Org Code
Selected line Insert retrieved  Create Retrieve towers’
name (On tower data in ‘towermaster’ data matching
click ‘Get ‘towermaster’ table table based on lineid in
Towers’ line selected ‘get_towers.php’
button) and insert tower
data
On click Go to Map ( Tower Refer Tower Plot Nil
‘New Tower’ Plot Activity) Activity
Button
On Click Success: Data Sync  Get records Save records in
‘Sync Data’ Successful Message with sync value ‘getco_tower_new’
Button Failure: Error 0 from tower table using
Message. master and ‘sync_data.php’
send it to
online server
 Change sync bit
to 1 in
tower_master
table after
successful sync.

You might also like