Zeal Polytechnic: Microp Roject
Zeal Polytechnic: Microp Roject
EDUCATION
ZEAL POLYTECHNIC
MICROP ROJECT
Certificate
This is to certify that Mr. Vivek Rohidas Dumbre Roll No. 15 of 6th Semester of
Diploma in Computer Engineering of Institute, ZEAL POLYTECHNIC (Code: 0988)
has completed the micro project satisfactorily in Subject – MAD(22617)for the
academic year 2024- 2025 as prescribed in the curriculum.
Date: Exam.SeatNo:
Certificate
This is to certify that Mr. Shambhuraje Sandip Jagtap Roll No. 18 of 6th Semester
of Diploma in Computer Engineering of Institute, ZEAL POLYTECHNIC (Code:
0988) has completed the micro project satisfactorily in Subject – MAD(22617)for the
academic year 2024- 2025 as prescribed in the curriculum.
Date: Exam.SeatNo:
Certificate
This is to certify that Mr. Sahil Sunil Tagunde Roll No. 43 of 6th Semester of
Diploma in Computer Engineering of Institute, ZEAL POLYTECHNIC (Code: 0988)
has completed the micro project satisfactorily in Subject – MAD(22617) for the
academic year 2024- 2025 as prescribed in the curriculum.
Date: Exam.SeatNo:
Certificate
This is to certify that Mr. Parth Mahendra Waikar Roll No. 47 of 6th Semester of
Diploma in Computer Engineering of Institute, ZEAL POLYTECHNIC (Code: 0988)
has completed the micro project satisfactorily in Subject – MAD(22617) for the
academic year 2024- 2025 as prescribed in the curriculum.
Date: Exam.SeatNo:
In today’s digital age, QR codes have become an essential tool for information sharing,
authentication, and digital transactions. The QR Code Generator and Scanner
Application is a user-friendly and efficient mobile and web-based application designed
to generate, scan, and decode QR codes seamlessly.
The application allows users to generate QR codes for various types of data, including
URLs, text, contact information, and Wi-Fi credentials. Additionally, it features an
advanced scanner that can instantly decode QR codes using the device’s camera or an
uploaded image. The scanner also provides options for real-time data processing,
redirection, and storage.
INDEX
Xml Code
Java Code
7 Output 9
8 Conclusion 19
WEEKLY PROGRESS
9 REPORT 20
In the modern digital world, QR codes have become a fast and convenient way to
store and share information. A QR (Quick Response) code is a type of barcode that
can be scanned using a smartphone or a special scanner to access data instantly. QR
codes are used in various fields, such as marketing, payments, authentication, and
information sharing.
The QR Code Generator and Scanner Application is designed to help users create
and scan QR codes easily. With this application, users can generate QR codes for
different types of information, such as website links, contact details, text messages,
and Wi-Fi passwords. They can also scan QR codes to retrieve the stored information
quickly.
This application is useful for businesses, students, and individuals. Businesses can use
it to share product details, promotions, or payment options. Students and teachers can
use it for educational purposes, such as sharing study materials and assignments. It
also helps in daily life, such as scanning QR codes on restaurant menus, digital tickets,
and event passes.
Overall, the QR Code Generator and Scanner Application is a powerful tool that
simplifies data sharing, improves business processes, and enhances digital interactions
in everyday life.
1
Fig.1.Structure of QR Code
The image represents the structure of a QR code with labeled components. Here’s
a breakdown of the key parts:
1. Position Pattern – The three large squares in the corners help scanners detect and
properly align the QR code.
2. Quiet Zone – The empty margin around the QR code ensures it is scanned
correctly without interference from surrounding elements.
3. Timing Pattern – A series of alternating black and white modules (lines) that help
the scanner determine the correct orientation and grid size of the QR code.
4. Alignment Pattern – A smaller square inside the QR code that ensures proper
scanning even if the code is distorted or curved.
5. Data and Error Correction Keys – The black-and-white patterns that store the
actual data and error correction information, allowing the QR code to be read even
if it's partially damaged.
2
Working of QR Code Generator
A QR Code Generator is a software or tool that creates a QR code based on user-
provided data. The process of generating a QR code involves the following steps:
The user provides data that needs to be stored in the QR code. This data can include:
Website URL
Contact details (vCard)
Wi-Fi credentials
Text messages
Payment details
The input data is encoded into a specific format using a QR code encoding
algorithm. This process converts the data into a binary format that can be represented
visually using black and white squares.
QR codes use error correction techniques to ensure they can still be scanned even if
they are partially damaged. There are four levels of error correction:
Position Patterns: Three large squares in the corners for proper alignment.
Timing Patterns: Alternating black-and-white modules for grid alignment.
Alignment Patterns: Small squares that help with distorted scans.
Data Modules: Encoded data represented in a grid.
Quiet Zone: A margin around the QR code for error-free scanning.
Once all the elements are in place, the QR code is created and displayed as an image
that can be downloaded, printed, or shared.
3
Working of QR Code Scanner
A QR Code Scanner is a software or device that decodes QR codes and extracts the
stored information. The process involves the following steps:
A smartphone camera
A dedicated QR code scanner device
A webcam on a computer
The decoded data is then displayed or executed based on the type of information
stored. For example:
4
Problem Statement: QR Code Generator and Scanner
In today's digital era, efficient and secure information sharing is crucial for businesses,
organizations, and individuals. Traditional methods of sharing data, such as manually
i5entering URLs, contact details, or Wi-Fi credentials, are time-consuming and prone
to errors. There is a need for a fast, reliable, and user-friendly system to encode and
decode information seamlessly.
Thus, this project aims to develop a QR Code Generator and Scanner Application
that provides a simple, efficient, and secure way to create, scan, and manage QR
codes. The application will offer features like data encryption, customizable QR code
designs, history storage, and cross-platform compatibility, ensuring seamless digital
interactions for both personal and professional use.
5
Solution: QR Code Generator and Scanner
To address the problems associated with traditional data-sharing methods, we propose
a QR Code Generator and Scanner Application that provides a fast, secure, and
user-friendly way to generate, scan, and manage QR codes. This solution will enhance
accessibility, efficiency, and security in digital interactions.
1. QR Code Generation
o Users can generate QR codes for different types of data, such as URLs,
contact details, text, Wi-Fi credentials, and payment information.
o The application will allow customization of QR codes, including color,
design, and size.
2. QR Code Scanning
o The scanner will instantly decode QR codes using a smartphone camera
or uploaded images.
o It will extract and display the stored information, such as opening URLs,
saving contacts, or connecting to Wi-Fi.
3. Error Correction and Security
o The application will implement error correction techniques (L, M, Q,
H levels) to ensure QR codes work even if they are slightly damaged.
o Optional encryption features will be added to protect sensitive data from
unauthorized access.
4. Storage and History Management
o Users can save generated and scanned QR codes for future reference.
o A history feature will allow easy retrieval and management of previously
scanned or created QR codes.
5. Cross-Platform Compatibility
o The application will be available for Android, iOS, and web browsers,
ensuring accessibility on multiple devices.
o It will support sharing QR codes via email, social media, and messaging
apps.
6. User-Friendly Interface
o A simple and intuitive interface will make it easy for all users, including
non-technical individuals, to generate and scan QR codes effortlessly.
6
Limitations of Existing QR Code Applications
Despite the widespread use of QR code applications, many existing solutions have
certain drawbacks and limitations. These include:
1. Security Concerns
Phishing Attacks: Some QR codes can lead to malicious websites that steal
user data.
Lack of Encryption: Many QR code generators do not provide encryption,
making sensitive information vulnerable to hacking.
Fake QR Codes: Attackers can replace legitimate QR codes with fake ones,
leading to fraud.
4. No Offline Functionality
5. Privacy Issues
Some free QR code generators collect user data, such as IP addresses and
browsing history, raising privacy concerns.
Lack of secure storage mechanisms for scanned or generated QR codes.
Many applications only support text and URLs, while advanced QR codes like
Wi-Fi credentials, vCards, or payment details are not always supported.
Some QR code scanners cannot decode barcode formats such as Data Matrix
or Aztec codes.
7
7. Lack of QR Code Management and History
Some QR code scanners are not optimized for all devices, leading to scanning
errors on older smartphones.
Web-based QR generators may not work efficiently on mobile browsers.
8
Xml Code:
Activity main.xml
9
android:hint="Enter text or URL"
android:background="@android:color/white"
android:padding="12dp"
android:textSize="16sp"
android:layout_marginBottom="10dp"
android:visibility="visible"/>
</LinearLayout>
10
AndroidManifest.xml
<!-- Indicate that the camera is not strictly required for the app -->
<uses-feature android:name="android.hardware.camera"
android:required="false" />
<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@drawable/img"
android:label="@string/app_name"
android:roundIcon="@drawable/img"
android:supportsRtl="true"
android:theme="@style/Theme.QRGenerator"
tools:targetApi="31">
android:name="com.journeyapps.barcodescanner.CaptureActivity"
android:label="@string/app_name"
android:theme="@style/Theme.AppCompat.NoActionBar"
tools:replace="android:theme">
</activity>
</application>
</manifest>
12
Java Code
Main activity.java
package com.example.qrgenerator;
import android.content.Intent;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.Toast;
import androidx.activity.result.ActivityResultLauncher;
import androidx.activity.result.contract.ActivityResultContracts;
import androidx.appcompat.app.AppCompatActivity;
import com.google.zxing.BarcodeFormat;
import com.google.zxing.WriterException;
import com.google.zxing.integration.android.IntentIntegrator;
import com.google.zxing.integration.android.IntentResult;
import com.journeyapps.barcodescanner.BarcodeEncoder;
EditText editText;
Button btnGenerate, btnScan;
ImageView qrImage;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
editText = findViewById(R.id.editText);
btnGenerate = findViewById(R.id.btnGenerate);
btnScan = findViewById(R.id.btnScan);
qrImage = findViewById(R.id.qrImage);
// Generate QR Code
13
btnGenerate.setOnClickListener(v -> {
String text = editText.getText().toString().trim();
if (!text.isEmpty()) {
generateQRCode(text);
qrImage.setVisibility(View.VISIBLE);
} else {
Toast.makeText(this,"Enter text to generate QR",
Toast.LENGTH_SHORT).show();
}
});
// Scan QR Code
btnScan.setOnClickListener(v -> scanQRCode());
}
15
Output
16
17
18
Conclusion
The QR Code Generator and Scanner Application plays a crucial role in enhancing data
sharing, security, and accessibility in various industries, including business, education,
healthcare, and retail. It simplifies the process of encoding and decoding information,
making it faster, more efficient, and user-friendly.
This project addresses the limitations of existing QR code applications by integrating better
security features, customization options, offline functionality, error correction mechanisms,
and enhanced compatibility across devices. By ensuring fast and accurate scanning, secure
data handling, and improved user experience, this application becomes a powerful tool for
modern digital interactions.
In the future, additional features such as AI-based QR code analysis, dynamic QR codes,
multi-format support, and real-time analytics can further improve functionality. Overall,
the proposed QR Code Generator and Scanner Application provides a reliable, secure, and
innovative solution for quick and hassle-free data exchange.
19
WEEKLY PROGRESS REPORT
MICROPROJECT
SR.NO. WEEK ACTIVITYPERFORMED SIGNOFGUIDE DATE
10 10th Seminar
11 11th Vivavoce
20
REFERENCES:
https://www.qr-code-generator.com/solutions/
https://www.adobe.com/in/express/feature/image/qr-code-generator
Sources Used:
https://me-
qr.com/?srsltid=AfmBOoq_NRP0ZwOoXCwsMVhGyxx22Bk44nFvNVhO1n1Uab
vXLSpygplU
https://www.scribd.com/document/554057350/QR-Code-Generator
21
ANEEXURE II
The QR Code Generator and Scanner Application addresses efficient data encoding, secure information
sharing, quick access, customization, and offline functionality for seamless digital interactions. Major
learning out comes achieved by students by doing the project.
(Signature of Faculty)
22