Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Other

Mobile Application Development - Sample Project Report File

Rating
-
Sold
-
Pages
6
Uploaded on
27-02-2026
Written in
2025/2026

This document is a mini project report for the subject Mobile Application Development (Course Code: ) under the B.Tech Information Technology program at A.D. Patel Institute of Technology. The report presents the design, development, and implementation of an Android application named PharmacyApp, which is used to manage prescription records. The project demonstrates the use of Android development concepts including Activities, Intents, user interface design using XML, and local data storage using SQLite. It explains the application architecture, database structure, data handling methods, and user interaction flow. The report also describes how users can add and view prescription details through a simple and user-friendly interface. Additionally, the document includes technical analysis, implementation details, code structure, functionality explanation, and recommendations for improving the application such as adding update and delete features, improving data handling, and optimizing resource management. This report is useful for students learning Android development, mobile application architecture, database integration, and CRUD operations, and can serve as a reference for academic projects, practical learning, and exam preparation.

Show more Read less
Institution
Course

Content preview

Mini Project Report
1.1 Summary

This report analyzes the provided Java and XML files for an Android
application named PharmacyApp. The application is designed to manage
a simple list of prescriptions, allowing users to add new prescriptions
and view the details of existing ones. The architecture follows the
standard Activity-Database Helper pattern, utilizing SQLite for local
data persistence. The main screen displays a list of patients, serving as
the entry point for viewing or adding prescription records.

1.2 Project Overview and Scope

The PharmacyApp is a basic demonstration of CRUD (Create, Read,
Update, Delete) operations, though only Create (Insert) and Read
(Retrieve) functionalities are fully implemented.

Component Description Files Involved

Data Layer Manages the local DatabaseHelper.java
SQLite database.

Presentati Handles the User MainActivity.java,
on Layer Interface and user AddPrescriptionActivity.java,
interaction. ViewPrescriptionActivity.java

UI Defines the layout activity_main.xml,
Resources and appearance of activity_add_prescription.xml,
the screens. activity_view_prescription.xml

The application's primary goal is to provide a user-friendly interface for
pharmacy staff to quickly log and retrieve prescription information.

2.1 Database Structure (DatabaseHelper.java)

The application uses a single SQLite database file named pharmacy.db
with a version of 1. All data is stored in a single table named
prescriptions. The DatabaseHelper class, extending SQLiteOpenHelper,
manages the creation and upgrade of this database.




Table Definition: prescriptions

, Column Type Constraint Description
Name

id INTEGE PRIMARY KEY Unique identifier for each
R AUTOINCREMENT prescription record.

patient TEXT N/A The full name of the
patient.

medicine TEXT N/A The name of the
prescribed medicine.

dosage TEXT N/A The detailed dosage
instructions.

The SQL statement used for table creation is:

CREATE TABLE prescriptions(id INTEGER PRIMARY KEY
AUTOINCREMENT,patient TEXT,medicine TEXT,dosage TEXT)

2.2 Data Operations

The DatabaseHelper provides two core methods for data manipulation:

1. insertPrescription(String patient, String medicine, String
dosage):

o Uses a ContentValues object to securely map column names
to data.

o Invokes db.insert().

o Returns true on successful insertion (i.e., if the returned row ID
is not -1).

2. getAllPrescriptions():

o Uses a raw SQL query ("SELECT * FROM " +
TABLE_PRESCRIPTIONS) to fetch all columns and rows.

o Returns a Cursor object, which is then processed by
MainActivity to populate the list view.

3.1 Main Activity (MainActivity.java and activity_main.xml)

The MainActivity acts as the application's dashboard and read-view for
all prescriptions.

Layout (activity_main.xml)

The layout is a simple vertical LinearLayout containing:

1. A Button (@id/btnAdd) labeled "Add Prescription" for navigation.

Written for

Institution
Course

Document information

Uploaded on
February 27, 2026
Number of pages
6
Written in
2025/2026
Type
OTHER
Person
Unknown

Subjects

$7.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
prathamparikh701

Also available in package deal

Get to know the seller

Seller avatar
prathamparikh701 Charutar Vidya Mandal University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 months
Number of followers
0
Documents
3
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions