Skip to content

Commit d460be7

Browse files
committed
first commit
0 parents  commit d460be7

File tree

133 files changed

+6411
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+6411
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/caches
5+
/.idea/libraries
6+
/.idea/modules.xml
7+
/.idea/workspace.xml
8+
/.idea/navEditor.xml
9+
/.idea/assetWizardSettings.xml
10+
.DS_Store
11+
/build
12+
/captures
13+
.externalNativeBuild
14+
.cxx
15+
local.properties

README.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
![QR Code Scanner App Source Code](https://www.codester.com/static/uploads/items/000/053/53301/preview-xl.jpg)
2+
3+
4+
# QR Code Scanner App Source Code
5+
###### Professional and easy to use QR code scanning and generating app with modern and simple user interface.
6+
7+
8+
## Overview
9+
Professional and easy to use QR code scanning and generating app with modern and simple user interface.
10+
11+
## Main Features
12+
🔍 QR Code Reader
13+
- Scan all types of QR codes easily and quickly
14+
- High-resolution camera for instant scanning
15+
- Copy results directly
16+
- Automatically open links
17+
- Share results with other apps
18+
- Search for results directly
19+
20+
✨ QR Code Generator
21+
22+
- Create QR codes for different types:
23+
- Text
24+
- Email
25+
- Phone
26+
- SMS
27+
- Links
28+
- URL
29+
- Share generated codes directly
30+
31+
💫 Additional Features
32+
33+
- Share app button with friends
34+
- Privacy Policy
35+
- Easy and simple user interface
36+
- Modern and attractive design
37+
- Fast and smooth performance
38+
39+
40+
## Features
41+
📱 Support & Compatibility
42+
43+
- Supports Android 5.0 and above
44+
- Compatible with all screen sizes
45+
- Small app size
46+
- Low battery consumption
47+
48+
💰 Advertisements
49+
50+
- Integrated with AdMob ads
51+
- Banner ads
52+
- Interstitial ads
53+
54+
- Ready to publish on Google Play
55+
- Clean and documented code
56+
- Easy to customize and modify
57+
- Technical features
58+
- Written in Kotlin
59+
- Uses Material Design
60+
- Modern user interface
61+
- High and fast performance
62+
- Easy to maintain and develop
63+
- Buyer notes
64+
65+
The application is ready to publish directly
66+
67+
68+
## Requirements
69+
- Android Studio Should be Installed
70+
- Android Studio Latest version
71+
- Admob account for change Advertisement
72+
## Instructions
73+
- Download main code .zip file and Extract it.
74+
- Import that into android studio by selection - Import Project option.
75+
- Follow the instruction given in Documentation.zip file.
76+

app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle.kts

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
plugins {
2+
alias(libs.plugins.androidApplication)
3+
alias(libs.plugins.jetbrainsKotlinAndroid)
4+
alias(libs.plugins.googleDevtoolsKsp)
5+
}
6+
7+
android {
8+
9+
namespace = "com.scanner.barcodescanner.qrgenrater"
10+
compileSdk = 34
11+
12+
defaultConfig {
13+
applicationId = "com.scanner.barcodescanner.qrgenrater"
14+
minSdk = 24
15+
targetSdk = 34
16+
versionCode = 1
17+
versionName = "1.0"
18+
vectorDrawables.useSupportLibrary = true
19+
renderscriptTargetApi = 24
20+
renderscriptSupportModeEnabled = true
21+
multiDexEnabled = true
22+
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
23+
}
24+
25+
buildTypes {
26+
release {
27+
isMinifyEnabled = true
28+
isShrinkResources = true
29+
proguardFiles(
30+
getDefaultProguardFile("proguard-android-optimize.txt"),
31+
"proguard-rules.pro"
32+
)
33+
}
34+
}
35+
compileOptions {
36+
sourceCompatibility = JavaVersion.VERSION_1_8
37+
targetCompatibility = JavaVersion.VERSION_1_8
38+
}
39+
kotlinOptions {
40+
jvmTarget = "1.8"
41+
}
42+
43+
buildFeatures {
44+
viewBinding = true
45+
buildConfig = true
46+
}
47+
lint {
48+
abortOnError = false
49+
checkReleaseBuilds = false
50+
}
51+
}
52+
53+
dependencies {
54+
55+
implementation(libs.androidx.core.ktx)
56+
implementation(libs.androidx.appcompat)
57+
implementation(libs.material)
58+
implementation(libs.androidx.activity)
59+
implementation(libs.androidx.constraintlayout)
60+
testImplementation(libs.junit)
61+
androidTestImplementation(libs.androidx.junit)
62+
androidTestImplementation(libs.androidx.espresso.core)
63+
64+
implementation(libs.core)
65+
implementation(libs.bcprov.jdk15to18)
66+
implementation(libs.androidx.lifecycle.extensions)
67+
implementation("com.google.android.gms:play-services-ads:23.3.0")
68+
implementation("com.google.android.ump:user-messaging-platform:3.0.0")
69+
70+
71+
}

app/proguard-rules.pro

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile
22+
23+
# Google ZXing ProGuard rules
24+
-keep class com.google.zxing.** { *; }
25+
-dontwarn com.google.zxing.**
26+
27+
# Bouncy Castle ProGuard rules
28+
-keep class org.bouncycastle.** { *; }
29+
-dontwarn org.bouncycastle.**
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package com.scanner.barcodescanner.qrgenrater
2+
3+
import androidx.test.platform.app.InstrumentationRegistry
4+
import androidx.test.ext.junit.runners.AndroidJUnit4
5+
6+
import org.junit.Test
7+
import org.junit.runner.RunWith
8+
9+
import org.junit.Assert.*
10+
11+
/**
12+
* Instrumented test, which will execute on an Android device.
13+
*
14+
* See [testing documentation](http://d.android.com/tools/testing).
15+
*/
16+
@RunWith(AndroidJUnit4::class)
17+
class ExampleInstrumentedTest {
18+
@Test
19+
fun useAppContext() {
20+
// Context of the app under test.
21+
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
22+
assertEquals("com.scanner.barcodescanner.qrgenrater", appContext.packageName)
23+
}
24+
}

app/src/main/AndroidManifest.xml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools" >
4+
5+
<uses-feature
6+
android:name="android.hardware.camera"
7+
android:required="false" />
8+
9+
<uses-permission android:name="android.permission.CAMERA" />
10+
<uses-permission android:name="android.permission.INTERNET" />
11+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
12+
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
13+
<uses-permission android:name="com.google.android.gms.permission.AD_ID" />
14+
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
15+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
16+
17+
<queries>
18+
<intent>
19+
<action android:name="android.intent.action.MAIN" />
20+
</intent>
21+
</queries>
22+
23+
<application
24+
android:allowBackup="true"
25+
android:dataExtractionRules="@xml/data_extraction_rules"
26+
android:fullBackupContent="@xml/backup_rules"
27+
android:icon="@mipmap/ic_launcher"
28+
android:label="@string/app_name"
29+
android:roundIcon="@mipmap/ic_launcher_round"
30+
android:supportsRtl="true"
31+
android:theme="@style/Theme.QRCode"
32+
tools:targetApi="31" >
33+
<activity
34+
android:name=".qr_code_reader.ActivityQRcodeReader"
35+
android:exported="false" />
36+
<activity
37+
android:name=".qr_code_maker.ActivityQRcodeMaker"
38+
android:exported="false" />
39+
<activity
40+
android:name=".MainActivity"
41+
android:exported="false" />
42+
<activity
43+
android:name=".SplashActivity"
44+
android:exported="true" >
45+
<intent-filter>
46+
<action android:name="android.intent.action.MAIN" />
47+
48+
<category android:name="android.intent.category.LAUNCHER" />
49+
</intent-filter>
50+
</activity>
51+
52+
<provider
53+
android:name="androidx.core.content.FileProvider"
54+
android:authorities="${applicationId}.provider"
55+
android:exported="false"
56+
android:grantUriPermissions="true"
57+
tools:replace="android:authorities">
58+
<meta-data
59+
android:name="android.support.FILE_PROVIDER_PATHS"
60+
android:resource="@xml/paths"
61+
tools:replace="android:resource" />
62+
</provider>
63+
<meta-data
64+
android:name="com.google.android.gms.ads.APPLICATION_ID"
65+
android:value="ca-app-pub-3940256099942544~3347511713"/>
66+
</application>
67+
68+
</manifest>
285 KB
Binary file not shown.
14 KB
Loading

0 commit comments

Comments
 (0)