└── Inventory-Management-Android-app-master
├── app
├── .gitignore
├── src
│ ├── main
│ │ ├── res
│ │ │ ├── font
│ │ │ │ ├── waver.ttf
│ │ │ │ └── allura.otf
│ │ │ ├── values
│ │ │ │ ├── strings.xml
│ │ │ │ ├── colors.xml
│ │ │ │ └── styles.xml
│ │ │ ├── drawable
│ │ │ │ ├── bg.png
│ │ │ │ ├── circlebackgroundpurple.xml
│ │ │ │ ├── circlbackgroundgreen.xml
│ │ │ │ ├── circlebackgroundyellow.xml
│ │ │ │ ├── circlebackgroundpink.xml
│ │ │ │ ├── ic_menu_blue_24dp.xml
│ │ │ │ ├── ic_add_black_add.xml
│ │ │ │ ├── ic_delete_black_24dp.xml
│ │ │ │ ├── ic_lock_open_blue_24dp.xml
│ │ │ │ ├── ic_search_black_24dp.xml
│ │ │ │ ├── ic_camera_alt_black_24dp.xml
│ │ │ │ ├── ic_find_replace_black_24dp.xml
│ │ │ │ ├── ic_attach_money_black_24dp.xml
│ │ │ │ └── ic_launcher_background.xml
│ │ │ ├── drawable-v24
│ │ │ │ ├── logo.png
│ │ │ │ ├── inventory.png
│ │ │ │ ├── gradient.xml
│ │ │ │ ├── backgroundgradient.xml
│ │ │ │ ├── ic_person_login.xml
│ │ │ │ ├── ic_forum_black_24dp.xml
│ │ │ │ ├── ic_person_register.xml
│ │ │ │ ├── ic_vpn_key_black_24dp.xml
│ │ │ │ ├── ic_account_user.xml
│ │ │ │ ├── ic_password.xml
│ │ │ │ └── ic_launcher_foreground.xml
│ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ ├── ic_launcher_round.png
│ │ │ │ ├── ic_launcher_background.png
│ │ │ │ └── ic_launcher_foreground.png
│ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ ├── ic_launcher_round.png
│ │ │ │ ├── ic_launcher_background.png
│ │ │ │ └── ic_launcher_foreground.png
│ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ ├── ic_launcher_round.png
│ │ │ │ ├── ic_launcher_background.png
│ │ │ │ └── ic_launcher_foreground.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ ├── ic_launcher_round.png
│ │ │ │ ├── ic_launcher_background.png
│ │ │ │ └── ic_launcher_foreground.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ ├── ic_launcher_round.png
│ │ │ │ ├── ic_launcher_background.png
│ │ │ │ └── ic_launcher_foreground.png
│ │ │ ├── anim
│ │ │ │ ├── mysplashanimation.xml
│ │ │ │ └── mysplashanimationfadeout.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ │ ├── ic_launcher.xml
│ │ │ │ └── ic_launcher_round.xml
│ │ │ ├── layout
│ │ │ │ ├── activity_scan_code.xml
│ │ │ │ ├── activity_splashs.xml
│ │ │ │ ├── activity_view_inventory.xml
│ │ │ │ ├── activity_main.xml
│ │ │ │ ├── activity_scan_items.xml
│ │ │ │ ├── activity_delete_items.xml
│ │ │ │ ├── activity_login.xml
│ │ │ │ ├── list_layout.xml
│ │ │ │ ├── activity_register.xml
│ │ │ │ ├── activity_additem.xml
│ │ │ │ ├── activity_dashboard.xml
│ │ │ │ └── activity_scan_code_activitysearch.xml
│ │ │ └── menu
│ │ │ │ └── menu.xml
│ │ ├── ic_launcher-web.png
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── admin
│ │ │ │ └── augscan
│ │ │ │ ├── User.java
│ │ │ │ ├── Items.java
│ │ │ │ ├── SplashsActivity.java
│ │ │ │ ├── MainActivity.java
│ │ │ │ ├── ScanCodeActivity.java
│ │ │ │ ├── ScanCodeActivitydel.java
│ │ │ │ ├── ScanCodeActivitysearch.java
│ │ │ │ ├── deleteItemsActivity.java
│ │ │ │ ├── dashboardActivity.java
│ │ │ │ ├── LoginActivity.java
│ │ │ │ ├── scanItemsActivity.java
│ │ │ │ ├── additemActivity.java
│ │ │ │ ├── viewInventoryActivity.java
│ │ │ │ └── RegisterActivity.java
│ │ └── AndroidManifest.xml
│ ├── test
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── admin
│ │ │ └── augscan
│ │ │ └── ExampleUnitTest.java
│ └── androidTest
│ │ └── java
│ │ └── com
│ │ └── example
│ │ └── admin
│ │ └── augscan
│ │ └── ExampleInstrumentedTest.java
├── proguard-rules.pro
├── google-services.json
└── build.gradle
├── settings.gradle
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── .gitignore
├── README.md
├── build.gradle
├── gradle.properties
├── gradlew.bat
├── gradlew
└── augscan-a2e27.json
/Inventory-Management-Android-app-master/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/font/waver.ttf:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Inventory App
3 |
4 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/ic_launcher-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/ic_launcher-web.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/drawable/bg.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/font/allura.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/font/allura.otf
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable-v24/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/drawable-v24/logo.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable-v24/inventory.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/drawable-v24/inventory.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-hdpi/ic_launcher_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-hdpi/ic_launcher_background.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-mdpi/ic_launcher_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-mdpi/ic_launcher_background.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable/circlebackgroundpurple.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dhanavidhya/Inventory-Management-System/HEAD/Inventory-Management-Android-app-master/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable/circlbackgroundgreen.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable/circlebackgroundyellow.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable/circlebackgroundpink.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #008577
4 | #00574B
5 | #D81B60
6 |
7 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/anim/mysplashanimation.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/.gitignore:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/anim/mysplashanimationfadeout.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Tue Apr 26 10:16:32 CST 2022
2 | distributionBase=GRADLE_USER_HOME
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
4 | distributionPath=wrapper/dists
5 | zipStorePath=wrapper/dists
6 | zipStoreBase=GRADLE_USER_HOME
7 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/java/com/example/admin/augscan/User.java:
--------------------------------------------------------------------------------
1 | package com.example.admin.augscan;
2 |
3 | public class User {
4 | public String deptname, email;
5 |
6 | public User(){
7 |
8 | }
9 |
10 | public User(String name, String email) {
11 | this.deptname = name;
12 | this.email = email;
13 |
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable/ic_menu_blue_24dp.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable/ic_add_black_add.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable-v24/gradient.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
9 |
11 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable-v24/backgroundgradient.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
10 |
12 |
13 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable-v24/ic_person_login.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable/ic_delete_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/layout/activity_scan_code.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable-v24/ic_forum_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable-v24/ic_person_register.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable-v24/ic_vpn_key_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/test/java/com/example/admin/augscan/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.example.admin.augscan;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/README.md:
--------------------------------------------------------------------------------
1 | # Inventory-Management-Android-app-
2 | Developed using Android Studio. The app maintains and manages Inventory, allowing users to Add, View, Search, and delete products using a barcode reader.
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable-v24/ic_account_user.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable-v24/ic_password.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable/ic_lock_open_blue_24dp.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable/ic_search_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable/ic_camera_alt_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
12 |
13 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable/ic_find_replace_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | google()
6 | jcenter()
7 |
8 | }
9 | dependencies {
10 | classpath 'com.android.tools.build:gradle:7.1.2'
11 | classpath 'com.google.gms:google-services:4.3.2'
12 |
13 | // NOTE: Do not place your application dependencies here; they belong
14 | // in the individual module build.gradle files
15 | }
16 | }
17 |
18 | allprojects {
19 | repositories {
20 | google()
21 | jcenter()
22 |
23 | }
24 | }
25 |
26 | task clean(type: Delete) {
27 | delete rootProject.buildDir
28 | }
29 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable/ic_attach_money_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx1536m
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/proguard-rules.pro:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/java/com/example/admin/augscan/Items.java:
--------------------------------------------------------------------------------
1 | package com.example.admin.augscan;
2 |
3 | public class Items {
4 | private String itemname;
5 | private String itemcategory;
6 | private String itemprice;
7 | private String itembarcode;
8 |
9 |
10 | public Items() {
11 |
12 | }
13 |
14 | public Items(String itemname,String itemcategory,String itemprice,String itembarcode){
15 |
16 | this.itemname=itemname;
17 | this.itemcategory=itemcategory;
18 | this.itemprice=itemprice;
19 | this.itembarcode= itembarcode;
20 | }
21 |
22 | public String getItemname() {
23 | return itemname;
24 | }
25 |
26 | public String getItemcategory() {
27 | return itemcategory;
28 | }
29 |
30 | public String getItemprice() {
31 | return itemprice;
32 | }
33 |
34 | public String getItembarcode() {
35 | return itembarcode;
36 | }
37 | }
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/androidTest/java/com/example/admin/augscan/ExampleInstrumentedTest.java:
--------------------------------------------------------------------------------
1 | package com.example.admin.augscan;
2 |
3 | import android.content.Context;
4 | import android.support.test.InstrumentationRegistry;
5 | import android.support.test.runner.AndroidJUnit4;
6 |
7 | import org.junit.Test;
8 | import org.junit.runner.RunWith;
9 |
10 | import static org.junit.Assert.*;
11 |
12 | /**
13 | * Instrumented test, which will execute on an Android device.
14 | *
15 | * @see Testing documentation
16 | */
17 | @RunWith(AndroidJUnit4.class)
18 | public class ExampleInstrumentedTest {
19 | @Test
20 | public void useAppContext() {
21 | // Context of the app under test.
22 | Context appContext = InstrumentationRegistry.getTargetContext();
23 |
24 | assertEquals("com.example.admin.augscan", appContext.getPackageName());
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/layout/activity_splashs.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
20 |
21 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/google-services.json:
--------------------------------------------------------------------------------
1 | {
2 | "project_info": {
3 | "project_number": "883703584565",
4 | "firebase_url": "https://augscan-a2e27.firebaseio.com",
5 | "project_id": "augscan-a2e27",
6 | "storage_bucket": "augscan-a2e27.appspot.com"
7 | },
8 | "client": [
9 | {
10 | "client_info": {
11 | "mobilesdk_app_id": "1:883703584565:android:97706a6dee6ea6da74de7c",
12 | "android_client_info": {
13 | "package_name": "com.example.admin.augscan"
14 | }
15 | },
16 | "oauth_client": [
17 | {
18 | "client_id": "883703584565-l85mcjfatasr4at0m4qur6gp200h1hks.apps.googleusercontent.com",
19 | "client_type": 3
20 | }
21 | ],
22 | "api_key": [
23 | {
24 | "current_key": "AIzaSyDRJ70IXPIGzJKcPeaEzBdcB2fW7ZAnkRU"
25 | }
26 | ],
27 | "services": {
28 | "appinvite_service": {
29 | "other_platform_oauth_client": [
30 | {
31 | "client_id": "883703584565-l85mcjfatasr4at0m4qur6gp200h1hks.apps.googleusercontent.com",
32 | "client_type": 3
33 | }
34 | ]
35 | }
36 | }
37 | }
38 | ],
39 | "configuration_version": "1"
40 | }
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/java/com/example/admin/augscan/SplashsActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.admin.augscan;
2 |
3 |
4 | import android.content.Intent;
5 | import android.os.Bundle;
6 | import android.os.Handler;
7 | import android.support.annotation.Nullable;
8 | import android.support.v7.app.AppCompatActivity;
9 | import android.view.animation.Animation;
10 | import android.view.animation.AnimationUtils;
11 | import android.widget.ImageView;
12 |
13 |
14 | public class SplashsActivity extends AppCompatActivity {
15 |
16 | private ImageView logo;
17 | private static int splashTimeOut=2000;
18 |
19 | @Override
20 | protected void onCreate(@Nullable Bundle savedInstanceState) {
21 | super.onCreate(savedInstanceState);
22 | setContentView(R.layout.activity_splashs);
23 | logo=(ImageView)findViewById(R.id.logo);
24 |
25 | new Handler().postDelayed(new Runnable() {
26 | @Override
27 | public void run() {
28 | Intent i = new Intent(SplashsActivity.this,MainActivity.class);
29 | startActivity(i);
30 | finish();
31 | }
32 | },splashTimeOut);
33 |
34 | Animation myanim = AnimationUtils.loadAnimation(this,R.anim.mysplashanimation);
35 |
36 | logo.startAnimation(myanim);
37 | }
38 | }
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/menu/menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/java/com/example/admin/augscan/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.admin.augscan;
2 |
3 | import android.content.Intent;
4 | import android.support.v7.app.AppCompatActivity;
5 | import android.os.Bundle;
6 | import android.view.View;
7 |
8 | import com.google.firebase.auth.FirebaseAuth;
9 | import com.google.firebase.auth.FirebaseUser;
10 |
11 | public class MainActivity extends AppCompatActivity {
12 | private FirebaseAuth auth;
13 | @Override
14 | protected void onCreate(Bundle savedInstanceState) {
15 | super.onCreate(savedInstanceState);
16 | setContentView(R.layout.activity_main);
17 | auth = FirebaseAuth.getInstance();
18 |
19 | FirebaseUser user = auth.getCurrentUser();
20 |
21 | if(user != null){
22 | finish();
23 | startActivity(new Intent(this, dashboardActivity.class));
24 | }
25 |
26 | }
27 |
28 |
29 | public void login (View view)
30 | {
31 |
32 | startActivity(new Intent(this,LoginActivity.class));
33 | // String TextClassname = classname.getText().toString();
34 | // // starting our intent
35 | // Intent classintent = new Intent(this,SecondActivity.class);
36 | // classintent.putExtra("Classname",TextClassname);
37 | // startActivityForResult(classintent,request_code);
38 | }
39 | public void register (View view)
40 | {
41 | startActivity(new Intent(this,RegisterActivity.class));
42 | }
43 | }
44 |
45 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 |
4 | android {
5 | compileSdkVersion 28
6 | defaultConfig {
7 | applicationId "com.example.admin.augscan"
8 | minSdkVersion 19
9 | targetSdkVersion 28
10 | versionCode 1
11 | versionName "1.0"
12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | implementation fileTree(dir: 'libs', include: ['*.jar'])
24 | implementation 'com.android.support:appcompat-v7:28.0.0'
25 | implementation 'com.android.support.constraint:constraint-layout:1.1.3'
26 | testImplementation 'junit:junit:4.12'
27 | implementation 'com.android.support:recyclerview-v7:28.0.0'
28 | implementation 'com.android.support:cardview-v7:28.0.0'
29 | androidTestImplementation 'com.android.support.test:runner:1.0.2'
30 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
31 | implementation 'com.google.firebase:firebase-core:16.0.7'
32 | implementation 'com.google.firebase:firebase-database:16.1.0'
33 | implementation 'com.google.firebase:firebase-auth:16.1.0'
34 | implementation 'com.android.support:cardview-v7:28.0.0'
35 | implementation 'com.google.android.gms:play-services-auth:16.0.0'
36 | implementation 'com.firebaseui:firebase-ui-database:0.4.0'
37 | implementation 'me.dm7.barcodescanner:zxing:1.9'
38 | }
39 | apply plugin: 'com.google.gms.google-services'
40 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/java/com/example/admin/augscan/ScanCodeActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.admin.augscan;
2 |
3 | import android.Manifest;
4 | import android.content.pm.PackageManager;
5 | import android.support.v4.app.ActivityCompat;
6 | import android.support.v4.content.ContextCompat;
7 | import android.support.v7.app.AppCompatActivity;
8 | import android.os.Bundle;
9 |
10 | import com.google.zxing.Result;
11 |
12 | import me.dm7.barcodescanner.zxing.ZXingScannerView;
13 |
14 | public class ScanCodeActivity extends AppCompatActivity implements ZXingScannerView.ResultHandler {
15 |
16 | int MY_PERMISSIONS_REQUEST_CAMERA=0;
17 |
18 | ZXingScannerView scannerView;
19 | @Override
20 | protected void onCreate(Bundle savedInstanceState) {
21 | super.onCreate(savedInstanceState);
22 | scannerView = new ZXingScannerView(this);
23 | setContentView(scannerView);
24 | }
25 |
26 | @Override
27 | public void handleResult(Result result) {
28 |
29 | additemActivity.resulttextview.setText(result.getText());
30 |
31 | onBackPressed();
32 | }
33 |
34 | @Override
35 | protected void onPause() {
36 | super.onPause();
37 | scannerView.stopCamera();
38 | }
39 |
40 | // @Override
41 | // protected void onResume() {
42 | // super.onResume();
43 | // scannerView.setResultHandler(this);
44 | // scannerView.startCamera();
45 | // }
46 |
47 | @Override
48 | protected void onPostResume() {
49 | super.onPostResume();
50 | if (ContextCompat.checkSelfPermission(getApplicationContext(), Manifest.permission.CAMERA)
51 | != PackageManager.PERMISSION_GRANTED) {
52 | ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.CAMERA},
53 | MY_PERMISSIONS_REQUEST_CAMERA);
54 | }
55 | scannerView.setResultHandler(this);
56 | scannerView.startCamera();
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/java/com/example/admin/augscan/ScanCodeActivitydel.java:
--------------------------------------------------------------------------------
1 | package com.example.admin.augscan;
2 |
3 | import android.Manifest;
4 | import android.content.pm.PackageManager;
5 | import android.support.v4.app.ActivityCompat;
6 | import android.support.v4.content.ContextCompat;
7 | import android.support.v7.app.AppCompatActivity;
8 | import android.os.Bundle;
9 |
10 | import com.google.zxing.Result;
11 |
12 | import me.dm7.barcodescanner.zxing.ZXingScannerView;
13 |
14 | public class ScanCodeActivitydel extends AppCompatActivity implements ZXingScannerView.ResultHandler {
15 |
16 | int MY_PERMISSIONS_REQUEST_CAMERA=0;
17 |
18 | ZXingScannerView scannerView;
19 | @Override
20 | protected void onCreate(Bundle savedInstanceState) {
21 | super.onCreate(savedInstanceState);
22 | scannerView = new ZXingScannerView(this);
23 | setContentView(scannerView);
24 | }
25 |
26 | @Override
27 | public void handleResult(Result result) {
28 |
29 | deleteItemsActivity.resultdeleteview.setText(result.getText());
30 |
31 | onBackPressed();
32 | }
33 |
34 | @Override
35 | protected void onPause() {
36 | super.onPause();
37 | scannerView.stopCamera();
38 | }
39 |
40 | // @Override
41 | // protected void onResume() {
42 | // super.onResume();
43 | // scannerView.setResultHandler(this);
44 | // scannerView.startCamera();
45 | // }
46 |
47 | @Override
48 | protected void onPostResume() {
49 | super.onPostResume();
50 | if (ContextCompat.checkSelfPermission(getApplicationContext(), Manifest.permission.CAMERA)
51 | != PackageManager.PERMISSION_GRANTED) {
52 | ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.CAMERA},
53 | MY_PERMISSIONS_REQUEST_CAMERA);
54 | }
55 | scannerView.setResultHandler(this);
56 | scannerView.startCamera();
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/java/com/example/admin/augscan/ScanCodeActivitysearch.java:
--------------------------------------------------------------------------------
1 | package com.example.admin.augscan;
2 |
3 | import android.Manifest;
4 | import android.content.pm.PackageManager;
5 | import android.support.v4.app.ActivityCompat;
6 | import android.support.v4.content.ContextCompat;
7 | import android.support.v7.app.AppCompatActivity;
8 | import android.os.Bundle;
9 |
10 | import com.google.zxing.Result;
11 |
12 | import me.dm7.barcodescanner.zxing.ZXingScannerView;
13 |
14 | public class ScanCodeActivitysearch extends AppCompatActivity implements ZXingScannerView.ResultHandler {
15 |
16 | int MY_PERMISSIONS_REQUEST_CAMERA=0;
17 |
18 | ZXingScannerView scannerView;
19 | @Override
20 | protected void onCreate(Bundle savedInstanceState) {
21 | super.onCreate(savedInstanceState);
22 | scannerView = new ZXingScannerView(this);
23 | setContentView(scannerView);
24 | }
25 |
26 | @Override
27 | public void handleResult(Result result) {
28 |
29 | scanItemsActivity.resultsearcheview.setText(result.getText());
30 |
31 | onBackPressed();
32 | }
33 |
34 | @Override
35 | protected void onPause() {
36 | super.onPause();
37 | scannerView.stopCamera();
38 | }
39 |
40 | // @Override
41 | // protected void onResume() {
42 | // super.onResume();
43 | // scannerView.setResultHandler(this);
44 | // scannerView.startCamera();
45 | // }
46 |
47 | @Override
48 | protected void onPostResume() {
49 | super.onPostResume();
50 | if (ContextCompat.checkSelfPermission(getApplicationContext(), Manifest.permission.CAMERA)
51 | != PackageManager.PERMISSION_GRANTED) {
52 | ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.CAMERA},
53 | MY_PERMISSIONS_REQUEST_CAMERA);
54 | }
55 | scannerView.setResultHandler(this);
56 | scannerView.startCamera();
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable-v24/ic_launcher_foreground.xml:
--------------------------------------------------------------------------------
1 |
7 |
12 |
13 |
19 |
22 |
25 |
26 |
27 |
28 |
34 |
35 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/layout/activity_view_inventory.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
13 |
23 |
24 |
34 |
44 |
54 |
55 |
56 |
57 |
58 |
59 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
20 |
21 |
33 |
34 |
47 |
48 |
62 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | set DIRNAME=%~dp0
12 | if "%DIRNAME%" == "" set DIRNAME=.
13 | set APP_BASE_NAME=%~n0
14 | set APP_HOME=%DIRNAME%
15 |
16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17 | set DEFAULT_JVM_OPTS=
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windows variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 |
53 | :win9xME_args
54 | @rem Slurp the command line arguments.
55 | set CMD_LINE_ARGS=
56 | set _SKIP=2
57 |
58 | :win9xME_args_slurp
59 | if "x%~1" == "x" goto execute
60 |
61 | set CMD_LINE_ARGS=%*
62 |
63 | :execute
64 | @rem Setup the command line
65 |
66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
67 |
68 | @rem Execute Gradle
69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
70 |
71 | :end
72 | @rem End local scope for the variables with windows NT shell
73 | if "%ERRORLEVEL%"=="0" goto mainEnd
74 |
75 | :fail
76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
77 | rem the _cmd.exe /c_ return code!
78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
79 | exit /b 1
80 |
81 | :mainEnd
82 | if "%OS%"=="Windows_NT" endlocal
83 |
84 | :omega
85 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/layout/activity_scan_items.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
25 |
26 |
34 |
35 |
51 |
52 |
59 |
60 |
61 |
66 |
67 |
68 |
69 |
70 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/java/com/example/admin/augscan/deleteItemsActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.admin.augscan;
2 |
3 | import android.content.Intent;
4 | import android.support.v7.app.AppCompatActivity;
5 | import android.os.Bundle;
6 | import android.text.TextUtils;
7 | import android.view.View;
8 | import android.widget.Button;
9 | import android.widget.TextView;
10 | import android.widget.Toast;
11 |
12 | import com.google.firebase.auth.FirebaseAuth;
13 | import com.google.firebase.auth.FirebaseUser;
14 | import com.google.firebase.database.DatabaseReference;
15 | import com.google.firebase.database.FirebaseDatabase;
16 |
17 | public class deleteItemsActivity extends AppCompatActivity {
18 | public static TextView resultdeleteview;
19 | private FirebaseAuth firebaseAuth;
20 | Button scantodelete, deletebtn;
21 | DatabaseReference databaseReference;
22 | @Override
23 | protected void onCreate(Bundle savedInstanceState) {
24 | super.onCreate(savedInstanceState);
25 | setContentView(R.layout.activity_delete_items);
26 | firebaseAuth = FirebaseAuth.getInstance();
27 |
28 | databaseReference = FirebaseDatabase.getInstance().getReference("Users");
29 | resultdeleteview = findViewById(R.id.barcodedelete);
30 | scantodelete = findViewById(R.id.buttonscandelete);
31 | deletebtn= findViewById(R.id.deleteItemToTheDatabasebtn);
32 |
33 | scantodelete.setOnClickListener(new View.OnClickListener() {
34 | @Override
35 | public void onClick(View v) {
36 | startActivity(new Intent(getApplicationContext(), ScanCodeActivitydel.class));
37 | }
38 | });
39 |
40 | deletebtn.setOnClickListener(new View.OnClickListener() {
41 | @Override
42 | public void onClick(View v) {
43 | deletefrmdatabase();
44 | }
45 | });
46 |
47 | }
48 |
49 | public void deletefrmdatabase()
50 | {
51 | String deletebarcodevalue = resultdeleteview.getText().toString();
52 | final FirebaseUser users = firebaseAuth.getCurrentUser();
53 | String finaluser=users.getEmail();
54 | String resultemail = finaluser.replace(".","");
55 | if(!TextUtils.isEmpty(deletebarcodevalue)){
56 | databaseReference.child(resultemail).child("Items").child(deletebarcodevalue).removeValue();
57 | Toast.makeText(deleteItemsActivity.this,"Item is Deleted",Toast.LENGTH_SHORT).show();
58 | }
59 | else{
60 | Toast.makeText(deleteItemsActivity.this,"Please scan Barcode",Toast.LENGTH_SHORT).show();
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/layout/activity_delete_items.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
25 |
26 |
27 |
41 |
42 |
51 |
52 |
66 |
67 |
80 |
81 |
82 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/java/com/example/admin/augscan/dashboardActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.admin.augscan;
2 |
3 | import android.content.Intent;
4 | import android.support.v7.app.AppCompatActivity;
5 | import android.os.Bundle;
6 | import android.support.v7.widget.CardView;
7 | import android.view.Menu;
8 | import android.view.MenuItem;
9 | import android.view.View;
10 | import android.widget.Button;
11 | import android.widget.TextView;
12 | import android.widget.Toast;
13 |
14 | import com.google.firebase.auth.FirebaseAuth;
15 | import com.google.firebase.auth.FirebaseUser;
16 |
17 | public class dashboardActivity extends AppCompatActivity implements View.OnClickListener {
18 | private FirebaseAuth firebaseAuth;
19 | TextView firebasenameview;
20 | Button toast;
21 |
22 |
23 | private CardView addItems, deleteItems, scanItems, viewInventory;
24 | @Override
25 | protected void onCreate(Bundle savedInstanceState) {
26 | super.onCreate(savedInstanceState);
27 | setContentView(R.layout.activity_dashboard);
28 | firebasenameview = findViewById(R.id.firebasename);
29 |
30 | // this is for username to appear after login
31 |
32 | firebaseAuth = FirebaseAuth.getInstance();
33 |
34 | final FirebaseUser users = firebaseAuth.getCurrentUser();
35 | String finaluser=users.getEmail();
36 | String result = finaluser.substring(0, finaluser.indexOf("@"));
37 | String resultemail = result.replace(".","");
38 | firebasenameview.setText("Welcome, "+resultemail);
39 | // toast.setOnClickListener(new View.OnClickListener() {
40 | // @Override
41 | // public void onClick(View v) {
42 | // Toast.makeText(dashboardActivity.this, users.getEmail(), Toast.LENGTH_SHORT).show();
43 | // }
44 | // });
45 |
46 |
47 | addItems = (CardView)findViewById(R.id.addItems);
48 | deleteItems = (CardView) findViewById(R.id.deleteItems);
49 | scanItems = (CardView) findViewById(R.id.scanItems);
50 | viewInventory = (CardView) findViewById(R.id.viewInventory);
51 |
52 | addItems.setOnClickListener(this);
53 | deleteItems.setOnClickListener(this);
54 | scanItems.setOnClickListener(this);
55 | viewInventory.setOnClickListener(this);
56 | }
57 |
58 |
59 | @Override
60 | public void onClick(View view) {
61 | Intent i;
62 |
63 | switch (view.getId()){
64 | case R.id.addItems : i = new Intent(this,additemActivity.class); startActivity(i); break;
65 | case R.id.deleteItems : i = new Intent(this,deleteItemsActivity.class);startActivity(i); break;
66 | case R.id.scanItems : i = new Intent(this,scanItemsActivity.class);startActivity(i); break;
67 | case R.id.viewInventory : i = new Intent(this,viewInventoryActivity.class);startActivity(i); break;
68 | default: break;
69 | }
70 | }
71 |
72 |
73 |
74 |
75 |
76 | // logout below
77 | private void Logout()
78 | {
79 | firebaseAuth.signOut();
80 | finish();
81 | startActivity(new Intent(dashboardActivity.this,LoginActivity.class));
82 | Toast.makeText(dashboardActivity.this,"LOGOUT SUCCESSFUL", Toast.LENGTH_SHORT).show();
83 |
84 | }
85 |
86 |
87 | @Override
88 | public boolean onCreateOptionsMenu(Menu menu) {
89 | getMenuInflater().inflate(R.menu.menu,menu);
90 | return true;
91 | }
92 |
93 | @Override
94 | public boolean onOptionsItemSelected(MenuItem item) {
95 | switch (item.getItemId()){
96 | case R.id.logoutMenu:{
97 | Logout();
98 | }
99 | }
100 | return super.onOptionsItemSelected(item);
101 | }
102 | }
103 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/layout/activity_login.xml:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
20 |
21 |
33 |
34 |
49 |
50 |
66 |
67 |
68 |
79 |
80 |
90 |
96 |
97 |
98 |
99 |
100 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/layout/list_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
20 |
27 |
28 |
29 |
38 |
39 |
47 |
48 |
49 |
59 |
60 |
68 |
69 |
79 |
80 |
88 |
89 |
99 |
100 |
101 |
102 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/java/com/example/admin/augscan/LoginActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.admin.augscan;
2 |
3 | import android.app.ProgressDialog;
4 | import android.content.Intent;
5 | import android.support.annotation.NonNull;
6 | import android.support.v7.app.AppCompatActivity;
7 | import android.os.Bundle;
8 | import android.view.View;
9 | import android.widget.Button;
10 | import android.widget.EditText;
11 | import android.widget.ProgressBar;
12 | import android.widget.TextView;
13 | import android.widget.Toast;
14 |
15 | import com.google.android.gms.tasks.OnCompleteListener;
16 | import com.google.android.gms.tasks.Task;
17 | import com.google.firebase.auth.AuthResult;
18 | import com.google.firebase.auth.FirebaseAuth;
19 | import com.google.firebase.auth.FirebaseUser;
20 |
21 | public class LoginActivity extends AppCompatActivity {
22 | private EditText Email;
23 | private EditText Password;
24 | private Button Login;
25 | private TextView passwordreset;
26 | private EditText passwordresetemail;
27 | private ProgressBar progressBar;
28 |
29 | private FirebaseAuth auth;
30 | private ProgressDialog processDialog;
31 |
32 | @Override
33 | protected void onCreate(Bundle savedInstanceState) {
34 | super.onCreate(savedInstanceState);
35 | setContentView(R.layout.activity_login);
36 |
37 | Email = (EditText) findViewById(R.id.emailSignIn);
38 | Password = (EditText) findViewById(R.id.password);
39 | Login = (Button) findViewById(R.id.Login);
40 |
41 | passwordreset = findViewById(R.id.forgotpassword);
42 | passwordresetemail = findViewById(R.id.emailSignIn);
43 | progressBar = (ProgressBar) findViewById(R.id.progressbars);
44 | progressBar.setVisibility(View.GONE);
45 | auth = FirebaseAuth.getInstance();
46 | processDialog = new ProgressDialog(this);
47 |
48 |
49 |
50 | Login.setOnClickListener(new View.OnClickListener() {
51 | @Override
52 | public void onClick(View view) {
53 | validate(Email.getText().toString(), Password.getText().toString());
54 | }
55 |
56 | });
57 |
58 | passwordreset.setOnClickListener(new View.OnClickListener() {
59 | @Override
60 | public void onClick(View v) {
61 | resetpasword();
62 | }
63 | });
64 | }
65 |
66 | public void resetpasword(){
67 | final String resetemail = passwordresetemail.getText().toString();
68 |
69 | if (resetemail.isEmpty()) {
70 | passwordresetemail.setError("It's empty");
71 | passwordresetemail.requestFocus();
72 | return;
73 | }
74 | progressBar.setVisibility(View.VISIBLE);
75 | auth.sendPasswordResetEmail(resetemail)
76 |
77 | .addOnCompleteListener(new OnCompleteListener() {
78 | @Override
79 | public void onComplete(@NonNull Task task) {
80 | if (task.isSuccessful()) {
81 | Toast.makeText(LoginActivity.this, "We have sent you instructions to reset your password!", Toast.LENGTH_SHORT).show();
82 | } else {
83 | Toast.makeText(LoginActivity.this, "Failed to send reset email!", Toast.LENGTH_SHORT).show();
84 | }
85 |
86 | progressBar.setVisibility(View.GONE);
87 | }
88 | });
89 | }
90 |
91 |
92 |
93 |
94 | public void validate(String userEmail, String userPassword){
95 |
96 | processDialog.setMessage("................Please Wait.............");
97 | processDialog.show();
98 |
99 | auth.signInWithEmailAndPassword(userEmail, userPassword).addOnCompleteListener(new OnCompleteListener() {
100 | @Override
101 | public void onComplete(@NonNull Task task) {
102 | if(task.isSuccessful()){
103 | processDialog.dismiss();
104 | Toast.makeText(LoginActivity.this, "Login Successful", Toast.LENGTH_SHORT).show();
105 | startActivity(new Intent(LoginActivity.this, dashboardActivity.class));
106 | }
107 | else{
108 | Toast.makeText(LoginActivity.this,"Login Failed", Toast.LENGTH_SHORT).show();
109 | processDialog.dismiss();
110 | }
111 | }
112 | });
113 | }
114 | }
115 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/java/com/example/admin/augscan/scanItemsActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.admin.augscan;
2 |
3 | import android.content.Context;
4 | import android.content.Intent;
5 | import android.support.v7.app.AppCompatActivity;
6 | import android.os.Bundle;
7 | import android.support.v7.widget.LinearLayoutManager;
8 | import android.support.v7.widget.RecyclerView;
9 | import android.view.View;
10 | import android.widget.Adapter;
11 | import android.widget.Button;
12 | import android.widget.EditText;
13 | import android.widget.ImageButton;
14 | import android.widget.TextView;
15 |
16 | import com.firebase.ui.database.FirebaseRecyclerAdapter;
17 | import com.google.firebase.auth.FirebaseAuth;
18 | import com.google.firebase.auth.FirebaseUser;
19 | import com.google.firebase.database.DatabaseReference;
20 | import com.google.firebase.database.FirebaseDatabase;
21 | import com.google.firebase.database.Query;
22 |
23 | public class scanItemsActivity extends AppCompatActivity {
24 | public static EditText resultsearcheview;
25 | private FirebaseAuth firebaseAuth;
26 | ImageButton scantosearch;
27 | Button searchbtn;
28 | Adapter adapter;
29 | RecyclerView mrecyclerview;
30 | DatabaseReference mdatabaseReference;
31 | @Override
32 | protected void onCreate(Bundle savedInstanceState) {
33 | super.onCreate(savedInstanceState);
34 | setContentView(R.layout.activity_scan_items);
35 | firebaseAuth = FirebaseAuth.getInstance();
36 | final FirebaseUser users = firebaseAuth.getCurrentUser();
37 | String finaluser=users.getEmail();
38 | String resultemail = finaluser.replace(".","");
39 | mdatabaseReference = FirebaseDatabase.getInstance().getReference("Users").child(resultemail).child("Items");
40 | resultsearcheview = findViewById(R.id.searchfield);
41 | scantosearch = findViewById(R.id.imageButtonsearch);
42 | searchbtn = findViewById(R.id.searchbtnn);
43 |
44 | mrecyclerview = findViewById(R.id.recyclerViews);
45 | LinearLayoutManager manager = new LinearLayoutManager(this);
46 | mrecyclerview.setLayoutManager(manager);
47 | mrecyclerview.setHasFixedSize(true);
48 |
49 |
50 | mrecyclerview.setLayoutManager(new LinearLayoutManager(this));
51 |
52 |
53 | scantosearch.setOnClickListener(new View.OnClickListener() {
54 | @Override
55 | public void onClick(View v) {
56 | startActivity(new Intent(getApplicationContext(), ScanCodeActivitysearch.class));
57 | }
58 | });
59 |
60 | searchbtn.setOnClickListener(new View.OnClickListener() {
61 | @Override
62 | public void onClick(View v) {
63 | String searchtext = resultsearcheview.getText().toString();
64 | firebasesearch(searchtext);
65 | }
66 | });
67 | }
68 |
69 | public void firebasesearch(String searchtext){
70 | Query firebaseSearchQuery = mdatabaseReference.orderByChild("itembarcode").startAt(searchtext).endAt(searchtext+"\uf8ff");
71 | FirebaseRecyclerAdapter firebaseRecyclerAdapter = new FirebaseRecyclerAdapter
72 | ( Items.class,
73 | R.layout.list_layout,
74 | UsersViewHolder.class,
75 | firebaseSearchQuery )
76 | {
77 | @Override
78 | protected void populateViewHolder(UsersViewHolder viewHolder, Items model,int position){
79 |
80 | viewHolder.setDetails(getApplicationContext(),model.getItembarcode(),model.getItemcategory(),model.getItemname(),model.getItemprice());
81 | }
82 | };
83 |
84 | mrecyclerview.setAdapter(firebaseRecyclerAdapter);
85 | }
86 |
87 | public static class UsersViewHolder extends RecyclerView.ViewHolder{
88 | View mView;
89 | public UsersViewHolder(View itemView){
90 | super(itemView);
91 | mView =itemView;
92 | }
93 |
94 | public void setDetails(Context ctx,String itembarcode, String itemcategory, String itemname, String itemprice){
95 | TextView item_barcode = (TextView) mView.findViewById(R.id.viewitembarcode);
96 | TextView item_name = (TextView) mView.findViewById(R.id.viewitemname);
97 | TextView item_category = (TextView) mView.findViewById(R.id.viewitemcategory);
98 | TextView item_price = (TextView) mView.findViewById(R.id.viewitemprice);
99 |
100 | item_barcode.setText(itembarcode);
101 | item_category.setText(itemcategory);
102 | item_name.setText(itemname);
103 | item_price.setText(itemprice);
104 | }
105 |
106 | }
107 | }
108 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/layout/activity_register.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
19 |
20 |
33 |
34 |
49 |
50 |
65 |
66 |
81 |
82 |
97 |
98 |
111 |
112 |
118 |
119 |
120 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/java/com/example/admin/augscan/additemActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.admin.augscan;
2 |
3 | import android.content.Intent;
4 | import android.support.v7.app.AppCompatActivity;
5 | import android.os.Bundle;
6 | import android.text.TextUtils;
7 | import android.view.Menu;
8 | import android.view.MenuItem;
9 | import android.view.View;
10 | import android.widget.Button;
11 | import android.widget.EditText;
12 | import android.widget.TextView;
13 | import android.widget.Toast;
14 |
15 | import com.google.firebase.auth.FirebaseAuth;
16 | import com.google.firebase.auth.FirebaseUser;
17 | import com.google.firebase.database.DatabaseReference;
18 | import com.google.firebase.database.FirebaseDatabase;
19 |
20 | public class additemActivity extends AppCompatActivity {
21 | private EditText itemname,itemcategory,itemprice;
22 | private TextView itembarcode;
23 | private FirebaseAuth firebaseAuth;
24 | public static TextView resulttextview;
25 | Button scanbutton, additemtodatabase;
26 | DatabaseReference databaseReference;
27 | DatabaseReference databaseReferencecat;
28 | @Override
29 | protected void onCreate(Bundle savedInstanceState) {
30 | super.onCreate(savedInstanceState);
31 | setContentView(R.layout.activity_additem);
32 | firebaseAuth = FirebaseAuth.getInstance();
33 |
34 | databaseReference = FirebaseDatabase.getInstance().getReference("Users");
35 | databaseReferencecat = FirebaseDatabase.getInstance().getReference("Users");
36 | resulttextview = findViewById(R.id.barcodeview);
37 | additemtodatabase = findViewById(R.id.additembuttontodatabase);
38 | scanbutton = findViewById(R.id.buttonscan);
39 | itemname = findViewById(R.id.edititemname);
40 | itemcategory= findViewById(R.id.editcategory);
41 | itemprice = findViewById(R.id.editprice);
42 | itembarcode= findViewById(R.id.barcodeview);
43 |
44 |
45 |
46 | // String result = finaluser.substring(0, finaluser.indexOf("@"));
47 |
48 |
49 | scanbutton.setOnClickListener(new View.OnClickListener() {
50 | @Override
51 | public void onClick(View view) {
52 | startActivity(new Intent(getApplicationContext(), ScanCodeActivity.class));
53 | }
54 | });
55 |
56 | additemtodatabase.setOnClickListener(new View.OnClickListener() {
57 | @Override
58 | public void onClick(View v) {
59 | additem();
60 | }
61 | });
62 |
63 |
64 |
65 | }
66 |
67 |
68 | // addding item to databse
69 | public void additem(){
70 | String itemnameValue = itemname.getText().toString();
71 | String itemcategoryValue = itemcategory.getText().toString();
72 | String itempriceValue = itemprice.getText().toString();
73 | String itembarcodeValue = itembarcode.getText().toString();
74 | final FirebaseUser users = firebaseAuth.getCurrentUser();
75 | String finaluser=users.getEmail();
76 | String resultemail = finaluser.replace(".","");
77 | if (itembarcodeValue.isEmpty()) {
78 | itembarcode.setError("It's Empty");
79 | itembarcode.requestFocus();
80 | return;
81 | }
82 |
83 |
84 | if(!TextUtils.isEmpty(itemnameValue)&&!TextUtils.isEmpty(itemcategoryValue)&&!TextUtils.isEmpty(itempriceValue)){
85 |
86 | Items items = new Items(itemnameValue,itemcategoryValue,itempriceValue,itembarcodeValue);
87 | databaseReference.child(resultemail).child("Items").child(itembarcodeValue).setValue(items);
88 | databaseReferencecat.child(resultemail).child("ItemByCategory").child(itemcategoryValue).child(itembarcodeValue).setValue(items);
89 | itemname.setText("");
90 | itembarcode.setText("");
91 | itemprice.setText("");
92 | itembarcode.setText("");
93 | Toast.makeText(additemActivity.this,itemnameValue+" Added",Toast.LENGTH_SHORT).show();
94 | }
95 | else {
96 | Toast.makeText(additemActivity.this,"Please Fill all the fields",Toast.LENGTH_SHORT).show();
97 | }
98 | }
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 | // logout below
116 | private void Logout()
117 | {
118 | firebaseAuth.signOut();
119 | finish();
120 | startActivity(new Intent(additemActivity.this,LoginActivity.class));
121 | Toast.makeText(additemActivity.this,"LOGOUT SUCCESSFUL", Toast.LENGTH_SHORT).show();
122 |
123 | }
124 |
125 |
126 | @Override
127 | public boolean onCreateOptionsMenu(Menu menu) {
128 | getMenuInflater().inflate(R.menu.menu,menu);
129 | return true;
130 | }
131 |
132 | @Override
133 | public boolean onOptionsItemSelected(MenuItem item) {
134 | switch (item.getItemId()){
135 | case R.id.logoutMenu:{
136 | Logout();
137 | }
138 | }
139 | return super.onOptionsItemSelected(item);
140 | }
141 | }
142 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/java/com/example/admin/augscan/viewInventoryActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.admin.augscan;
2 |
3 | import android.content.Context;
4 | import android.support.annotation.NonNull;
5 | import android.support.v7.app.AppCompatActivity;
6 | import android.os.Bundle;
7 | import android.support.v7.widget.LinearLayoutManager;
8 | import android.support.v7.widget.RecyclerView;
9 | import android.view.View;
10 | import android.widget.TextView;
11 |
12 | import com.firebase.ui.database.FirebaseRecyclerAdapter;
13 | import com.google.firebase.auth.FirebaseAuth;
14 | import com.google.firebase.auth.FirebaseUser;
15 | import com.google.firebase.database.DataSnapshot;
16 | import com.google.firebase.database.DatabaseError;
17 | import com.google.firebase.database.DatabaseReference;
18 | import com.google.firebase.database.FirebaseDatabase;
19 | import com.google.firebase.database.ValueEventListener;
20 |
21 | import java.util.Map;
22 |
23 | public class viewInventoryActivity extends AppCompatActivity {
24 | private FirebaseAuth firebaseAuth;
25 | RecyclerView mrecyclerview;
26 | DatabaseReference mdatabaseReference;
27 | private TextView totalnoofitem, totalnoofsum;
28 | private int counttotalnoofitem =0;
29 | @Override
30 | protected void onCreate(Bundle savedInstanceState) {
31 | super.onCreate(savedInstanceState);
32 | setContentView(R.layout.activity_view_inventory);
33 | totalnoofitem= findViewById(R.id.totalnoitem);
34 | totalnoofsum = findViewById(R.id.totalsum);
35 | firebaseAuth = FirebaseAuth.getInstance();
36 | final FirebaseUser users = firebaseAuth.getCurrentUser();
37 | String finaluser=users.getEmail();
38 | String resultemail = finaluser.replace(".","");
39 | mdatabaseReference = FirebaseDatabase.getInstance().getReference("Users").child(resultemail).child("Items");
40 | mrecyclerview = findViewById(R.id.recyclerViews);
41 | LinearLayoutManager manager = new LinearLayoutManager(this);
42 | mrecyclerview.setLayoutManager(manager);
43 | mrecyclerview.setHasFixedSize(true);
44 | mrecyclerview.setLayoutManager(new LinearLayoutManager(this));
45 |
46 |
47 | mdatabaseReference.addValueEventListener(new ValueEventListener() {
48 | @Override
49 | public void onDataChange(@NonNull DataSnapshot dataSnapshot) {
50 | if(dataSnapshot.exists()){
51 | counttotalnoofitem = (int) dataSnapshot.getChildrenCount();
52 | totalnoofitem.setText(Integer.toString(counttotalnoofitem));
53 | }else{
54 | totalnoofitem.setText("0");
55 | }
56 | }
57 |
58 | @Override
59 | public void onCancelled(@NonNull DatabaseError databaseError) {
60 |
61 | }
62 | });
63 |
64 |
65 | mdatabaseReference.addValueEventListener(new ValueEventListener() {
66 | @Override
67 | public void onDataChange(@NonNull DataSnapshot dataSnapshot) {
68 | int sum=0;
69 | for(DataSnapshot ds : dataSnapshot.getChildren()){
70 | Map map = (Map) ds.getValue();
71 | Object price = map.get("itemprice");
72 | int pValue = Integer.parseInt(String.valueOf(price));
73 | sum += pValue;
74 | totalnoofsum.setText(String.valueOf(sum));
75 |
76 | }
77 | }
78 |
79 | @Override
80 | public void onCancelled(@NonNull DatabaseError databaseError) {
81 |
82 | }
83 | });
84 |
85 | }
86 |
87 | @Override
88 | protected void onStart() {
89 | super.onStart();
90 |
91 | FirebaseRecyclerAdapter firebaseRecyclerAdapter = new FirebaseRecyclerAdapter
92 | ( Items.class,
93 | R.layout.list_layout,
94 | scanItemsActivity.UsersViewHolder.class,
95 | mdatabaseReference )
96 | {
97 | @Override
98 | protected void populateViewHolder(scanItemsActivity.UsersViewHolder viewHolder, Items model, int position){
99 |
100 | viewHolder.setDetails(getApplicationContext(),model.getItembarcode(),model.getItemcategory(),model.getItemname(),model.getItemprice());
101 | }
102 | };
103 |
104 | mrecyclerview.setAdapter(firebaseRecyclerAdapter);
105 | }
106 | // public static class UsersViewHolder extends RecyclerView.ViewHolder{
107 | // View mView;
108 | // public UsersViewHolder(View itemView){
109 | // super(itemView);
110 | // mView =itemView;
111 | // }
112 | //
113 | // public void setDetails(Context ctx, String itembarcode, String itemcategory, String itemname, String itemprice){
114 | // TextView item_barcode = (TextView) mView.findViewById(R.id.viewitembarcode);
115 | // TextView item_name = (TextView) mView.findViewById(R.id.viewitemname);
116 | // TextView item_category = (TextView) mView.findViewById(R.id.viewitemcategory);
117 | // TextView item_price = (TextView) mView.findViewById(R.id.viewitemprice);
118 | //
119 | // item_barcode.setText(itembarcode);
120 | // item_category.setText(itemcategory);
121 | // item_name.setText(itemname);
122 | // item_price.setText(itemprice);
123 | // }
124 | //
125 | // }
126 |
127 | }
128 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Attempt to set APP_HOME
10 | # Resolve links: $0 may be a link
11 | PRG="$0"
12 | # Need this for relative symlinks.
13 | while [ -h "$PRG" ] ; do
14 | ls=`ls -ld "$PRG"`
15 | link=`expr "$ls" : '.*-> \(.*\)$'`
16 | if expr "$link" : '/.*' > /dev/null; then
17 | PRG="$link"
18 | else
19 | PRG=`dirname "$PRG"`"/$link"
20 | fi
21 | done
22 | SAVED="`pwd`"
23 | cd "`dirname \"$PRG\"`/" >/dev/null
24 | APP_HOME="`pwd -P`"
25 | cd "$SAVED" >/dev/null
26 |
27 | APP_NAME="Gradle"
28 | APP_BASE_NAME=`basename "$0"`
29 |
30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31 | DEFAULT_JVM_OPTS=""
32 |
33 | # Use the maximum available, or set MAX_FD != -1 to use that value.
34 | MAX_FD="maximum"
35 |
36 | warn () {
37 | echo "$*"
38 | }
39 |
40 | die () {
41 | echo
42 | echo "$*"
43 | echo
44 | exit 1
45 | }
46 |
47 | # OS specific support (must be 'true' or 'false').
48 | cygwin=false
49 | msys=false
50 | darwin=false
51 | nonstop=false
52 | case "`uname`" in
53 | CYGWIN* )
54 | cygwin=true
55 | ;;
56 | Darwin* )
57 | darwin=true
58 | ;;
59 | MINGW* )
60 | msys=true
61 | ;;
62 | NONSTOP* )
63 | nonstop=true
64 | ;;
65 | esac
66 |
67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
68 |
69 | # Determine the Java command to use to start the JVM.
70 | if [ -n "$JAVA_HOME" ] ; then
71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
72 | # IBM's JDK on AIX uses strange locations for the executables
73 | JAVACMD="$JAVA_HOME/jre/sh/java"
74 | else
75 | JAVACMD="$JAVA_HOME/bin/java"
76 | fi
77 | if [ ! -x "$JAVACMD" ] ; then
78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
79 |
80 | Please set the JAVA_HOME variable in your environment to match the
81 | location of your Java installation."
82 | fi
83 | else
84 | JAVACMD="java"
85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
86 |
87 | Please set the JAVA_HOME variable in your environment to match the
88 | location of your Java installation."
89 | fi
90 |
91 | # Increase the maximum file descriptors if we can.
92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
93 | MAX_FD_LIMIT=`ulimit -H -n`
94 | if [ $? -eq 0 ] ; then
95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
96 | MAX_FD="$MAX_FD_LIMIT"
97 | fi
98 | ulimit -n $MAX_FD
99 | if [ $? -ne 0 ] ; then
100 | warn "Could not set maximum file descriptor limit: $MAX_FD"
101 | fi
102 | else
103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
104 | fi
105 | fi
106 |
107 | # For Darwin, add options to specify how the application appears in the dock
108 | if $darwin; then
109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
110 | fi
111 |
112 | # For Cygwin, switch paths to Windows format before running java
113 | if $cygwin ; then
114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
116 | JAVACMD=`cygpath --unix "$JAVACMD"`
117 |
118 | # We build the pattern for arguments to be converted via cygpath
119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 | SEP=""
121 | for dir in $ROOTDIRSRAW ; do
122 | ROOTDIRS="$ROOTDIRS$SEP$dir"
123 | SEP="|"
124 | done
125 | OURCYGPATTERN="(^($ROOTDIRS))"
126 | # Add a user-defined pattern to the cygpath arguments
127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 | fi
130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 | i=0
132 | for arg in "$@" ; do
133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 |
136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 | else
139 | eval `echo args$i`="\"$arg\""
140 | fi
141 | i=$((i+1))
142 | done
143 | case $i in
144 | (0) set -- ;;
145 | (1) set -- "$args0" ;;
146 | (2) set -- "$args0" "$args1" ;;
147 | (3) set -- "$args0" "$args1" "$args2" ;;
148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 | esac
155 | fi
156 |
157 | # Escape application args
158 | save () {
159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
160 | echo " "
161 | }
162 | APP_ARGS=$(save "$@")
163 |
164 | # Collect all arguments for the java command, following the shell quoting and substitution rules
165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
166 |
167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
169 | cd "$(dirname "$0")"
170 | fi
171 |
172 | exec "$JAVACMD" "$@"
173 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/drawable/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
10 |
15 |
20 |
25 |
30 |
35 |
40 |
45 |
50 |
55 |
60 |
65 |
70 |
75 |
80 |
85 |
90 |
95 |
100 |
105 |
110 |
115 |
120 |
125 |
130 |
135 |
140 |
145 |
150 |
155 |
160 |
165 |
170 |
171 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/layout/activity_additem.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
27 |
28 |
42 |
43 |
57 |
58 |
73 |
74 |
89 |
90 |
106 |
107 |
122 |
123 |
137 |
138 |
153 |
154 |
168 |
169 |
182 |
183 |
184 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/java/com/example/admin/augscan/RegisterActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.admin.augscan;
2 |
3 | import android.content.Intent;
4 | import android.support.annotation.NonNull;
5 | import android.support.v7.app.AppCompatActivity;
6 | import android.os.Bundle;
7 | import android.text.TextUtils;
8 | import android.util.Log;
9 | import android.util.Patterns;
10 | import android.view.View;
11 | import android.widget.Button;
12 | import android.widget.EditText;
13 | import android.widget.ProgressBar;
14 | import android.widget.Toast;
15 |
16 | import com.google.android.gms.tasks.OnCompleteListener;
17 | import com.google.android.gms.tasks.Task;
18 | import com.google.firebase.auth.AuthResult;
19 | import com.google.firebase.auth.FirebaseAuth;
20 | import com.google.firebase.auth.FirebaseUser;
21 | import com.google.firebase.auth.UserProfileChangeRequest;
22 | import com.google.firebase.database.FirebaseDatabase;
23 |
24 | public class RegisterActivity extends AppCompatActivity {
25 |
26 | private EditText editTextName, editTextEmail, editTextPassword, editTextPhone,editTextcPassword;
27 | public Button UserRegisterBtn;
28 | private ProgressBar progressBar;
29 |
30 | private FirebaseAuth mAuth;
31 |
32 | @Override
33 | protected void onCreate(Bundle savedInstanceState) {
34 | super.onCreate(savedInstanceState);
35 | setContentView(R.layout.activity_register);
36 |
37 | editTextName = findViewById(R.id.departmentName);
38 | editTextEmail = findViewById(R.id.emailRegister);
39 | editTextPassword = findViewById(R.id.passwordRegister);
40 | editTextcPassword= findViewById(R.id.confirmPassword);
41 | UserRegisterBtn= findViewById(R.id.button_register);
42 | // editTextPhone = findViewById(R.id.edit_text_phone);
43 | progressBar = findViewById(R.id.progressbar);
44 | progressBar.setVisibility(View.GONE);
45 |
46 | mAuth = FirebaseAuth.getInstance();
47 |
48 | // findViewById(R.id.button_register).setOnClickListener(this);
49 |
50 | UserRegisterBtn.setOnClickListener(new View.OnClickListener() {
51 | @Override
52 | public void onClick(View v) {
53 | registerUser();
54 | }
55 | });
56 |
57 |
58 | }
59 |
60 | @Override
61 | protected void onStart() {
62 | super.onStart();
63 |
64 | if (mAuth.getCurrentUser() != null) {
65 | //handle the already login user
66 | }
67 | }
68 | // public void addStudent(){
69 | // String studentNameValue = editTextName.getText().toString();
70 | // String mcneeseIdValue = editTextEmail.getText().toString();
71 | // if(!TextUtils.isEmpty(studentNameValue)&&!TextUtils.isEmpty(mcneeseIdValue)){
72 | // String id = FirebaseDatabase.getInstance().getReference("Users").push().getKey();
73 | // User students = new User(studentNameValue,mcneeseIdValue);
74 | // // databaseReference.child(bttnName.getText().toString()).push().setValue(students);
75 | // FirebaseDatabase.getInstance().getReference("Users").setValue(students);
76 | // editTextName.setText("");
77 | // editTextEmail.setText("");
78 | // Toast.makeText(RegisterActivity.this,"Student Details Added",Toast.LENGTH_SHORT).show();
79 | // }
80 | // else{
81 | // Toast.makeText(RegisterActivity.this,"Please Fill Fields",Toast.LENGTH_SHORT).show();
82 | // }
83 | // }
84 |
85 |
86 | private void registerUser() {
87 | final String name = editTextName.getText().toString().trim();
88 | final String email = editTextEmail.getText().toString();
89 | String password = editTextPassword.getText().toString().trim();
90 | String cpassword = editTextcPassword.getText().toString().trim();
91 | // final String phone = editTextPhone.getText().toString().trim();
92 | if (email.isEmpty()) {
93 | editTextEmail.setError("It's empty");
94 | editTextEmail.requestFocus();
95 | return;
96 | }
97 | if (name.isEmpty()) {
98 | editTextName.setError("It's Empty");
99 | editTextName.requestFocus();
100 | return;
101 | }
102 |
103 |
104 |
105 | if (!Patterns.EMAIL_ADDRESS.matcher(email).matches()) {
106 | editTextEmail.setError("Not a valid emailaddress");
107 | editTextEmail.requestFocus();
108 | return;
109 | }
110 |
111 | if (password.isEmpty()) {
112 | editTextPassword.setError("Its empty");
113 | editTextPassword.requestFocus();
114 | return;
115 | }
116 |
117 | if (password.length() < 6) {
118 | editTextPassword.setError("Less length");
119 | editTextPassword.requestFocus();
120 | return;
121 | }
122 | if(!password.equals(cpassword)){
123 | editTextcPassword.setError("Password Donot Match");
124 | editTextcPassword.requestFocus();
125 | return;
126 | }
127 |
128 | // if (phone.isEmpty()) {
129 | // editTextPhone.setError(getString(R.string.input_error_phone));
130 | // editTextPhone.requestFocus();
131 | // return;
132 | // }
133 | //
134 | // if (phone.length() != 10) {
135 | // editTextPhone.setError(getString(R.string.input_error_phone_invalid));
136 | // editTextPhone.requestFocus();
137 | // return;
138 | // }
139 |
140 |
141 | progressBar.setVisibility(View.VISIBLE);
142 | mAuth.createUserWithEmailAndPassword(email, password)
143 | .addOnCompleteListener(new OnCompleteListener() {
144 | @Override
145 | public void onComplete(@NonNull Task task) {
146 |
147 | if (task.isSuccessful()) {
148 |
149 | // addStudent();
150 |
151 | final User user = new User(
152 | name,
153 | email
154 |
155 | );
156 | //.child(FirebaseAuth.getInstance().getCurrentUser().getUid())
157 | //important to retrive data and send data based on user email
158 | FirebaseUser usernameinfirebase = mAuth.getCurrentUser();
159 | String UserID=usernameinfirebase.getEmail();
160 | // String result = UserID.substring(0, UserID.indexOf("@"));
161 | String resultemail = UserID.replace(".","");
162 |
163 | FirebaseDatabase.getInstance().getReference("Users")
164 | .child(resultemail).child("UserDetails")
165 | .setValue(user).addOnCompleteListener(new OnCompleteListener() {
166 | @Override
167 | public void onComplete(@NonNull Task task) {
168 | progressBar.setVisibility(View.GONE);
169 | if (task.isSuccessful()) {
170 |
171 | Toast.makeText(RegisterActivity.this, "Registration Success", Toast.LENGTH_LONG).show();
172 | startActivity(new Intent(RegisterActivity.this,dashboardActivity.class));
173 | } else {
174 | //display a failure message
175 | }
176 | }
177 | });
178 |
179 | } else {
180 | progressBar.setVisibility(View.GONE);
181 | Toast.makeText(RegisterActivity.this, "Registration Failed", Toast.LENGTH_LONG).show();
182 | }
183 | }
184 | });
185 |
186 | }
187 |
188 |
189 |
190 |
191 | // //Set UserDisplay Name
192 | // private void userProfile()
193 | // {
194 | // FirebaseUser user = mAuth.getCurrentUser();
195 | // if(user!= null)
196 | // {
197 | // UserProfileChangeRequest profileUpdates = new UserProfileChangeRequest.Builder()
198 | // .setDisplayName(editTextName.getText().toString().trim())
199 | // //.setPhotoUri(Uri.parse("https://example.com/jane-q-user/profile.jpg")) // here you can set image link also.
200 | // .build();
201 | //
202 | // user.updateProfile(profileUpdates)
203 | // .addOnCompleteListener(new OnCompleteListener() {
204 | // @Override
205 | // public void onComplete(@NonNull Task task) {
206 | // if (task.isSuccessful()) {
207 | //
208 | // }
209 | // }
210 | // });
211 | // }
212 | // }
213 |
214 |
215 |
216 | }
217 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/layout/activity_dashboard.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
16 |
17 |
18 |
19 |
34 |
35 |
36 |
37 |
38 |
39 |
50 |
51 |
52 |
53 |
54 |
65 |
66 |
72 |
73 |
79 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
106 |
107 |
113 |
114 |
122 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
150 |
151 |
157 |
158 |
164 |
165 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
190 |
191 |
197 |
198 |
205 |
206 |
213 |
214 |
215 |
216 |
217 |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/app/src/main/res/layout/activity_scan_code_activitysearch.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
18 |
19 |
24 |
25 |
33 |
36 |
37 |
46 |
47 |
48 |
49 |
52 |
57 |
66 |
67 |
68 |
69 |
72 |
77 |
86 |
87 |
88 |
89 |
92 |
97 |
106 |
107 |
108 |
109 |
112 |
117 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
151 |
156 |
164 |
165 |
166 |
167 |
168 |
171 |
176 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
--------------------------------------------------------------------------------
/Inventory-Management-Android-app-master/augscan-a2e27.json:
--------------------------------------------------------------------------------
1 | {
2 | "Users" : {
3 | "apoudel143" : {
4 | "deptname" : "tata",
5 | "email" : "apoudel143@gmail.com"
6 | },
7 | "arjanpdl" : {
8 | "deptname" : "Computer",
9 | "email" : "arjanpdl@gmail.com"
10 | },
11 | "arplon" : {
12 | "email" : "arplon@gmail.com",
13 | "name" : "help"
14 | },
15 | "aryal33" : {
16 | "email" : "aryal33@gmail.com",
17 | "name" : "Arjan"
18 | },
19 | "augscan" : {
20 | "deptname" : "hell",
21 | "email" : "augscan@gmail.com"
22 | },
23 | "canderson" : {
24 | "deptname" : "kk",
25 | "email" : "canderson@mcneese.edu"
26 | },
27 | "cateander27" : {
28 | "deptname" : "lab",
29 | "email" : "cateander27@gmail.com"
30 | },
31 | "dipesh@gmailcom" : {
32 | "ItemByCategory" : {
33 | "inventory" : {
34 | "853158004112" : {
35 | "itembarcode" : "853158004112",
36 | "itemcategory" : "inventory",
37 | "itemname" : "alkaline ",
38 | "itemprice" : "500"
39 | }
40 | }
41 | },
42 | "UserDetails" : {
43 | "deptname" : "Comp",
44 | "email" : "dipesh@gmail.com"
45 | }
46 | },
47 | "finally" : {
48 | "email" : "finally@gmail.com",
49 | "name" : "Dept"
50 | },
51 | "hellll1111gmailcom" : {
52 | "email" : "hellll1111@gmail.com",
53 | "name" : "hell"
54 | },
55 | "help" : {
56 | "deptname" : "help",
57 | "email" : "help@gmail.com"
58 | },
59 | "help123" : {
60 | "deptname" : "hel",
61 | "email" : "help123@gmail.com"
62 | },
63 | "heven@gmailcom" : {
64 | "ItemByCategory" : {
65 | "Flowe" : {
66 | "JOHN DOE" : {
67 | "itembarcode" : "JOHN DOE",
68 | "itemcategory" : "Flowe",
69 | "itemname" : "Rose",
70 | "itemprice" : "10"
71 | }
72 | },
73 | "Food" : {
74 | "04963406" : {
75 | "itembarcode" : "04963406",
76 | "itemcategory" : "Food",
77 | "itemname" : "Coke",
78 | "itemprice" : "2"
79 | },
80 | "078742051451" : {
81 | "itembarcode" : "078742051451",
82 | "itemcategory" : "Food",
83 | "itemname" : "water",
84 | "itemprice" : "2"
85 | },
86 | "5014016150821" : {
87 | "itembarcode" : "5014016150821",
88 | "itemcategory" : "Food",
89 | "itemname" : "choclate",
90 | "itemprice" : "2"
91 | },
92 | "5901234123457" : {
93 | "itembarcode" : "5901234123457",
94 | "itemcategory" : "Food",
95 | "itemname" : "Water",
96 | "itemprice" : "10"
97 | }
98 | },
99 | "Liquor" : {
100 | "11410334" : {
101 | "itembarcode" : "11410334",
102 | "itemcategory" : "Liquor",
103 | "itemname" : "wine",
104 | "itemprice" : "10"
105 | }
106 | },
107 | "Person" : {
108 | "1234567890" : {
109 | "itembarcode" : "1234567890",
110 | "itemcategory" : "Person",
111 | "itemname" : "Hello",
112 | "itemprice" : "6000"
113 | },
114 | "812345000009" : {
115 | "itembarcode" : "812345000009",
116 | "itemcategory" : "Person",
117 | "itemname" : "Arjan",
118 | "itemprice" : "600000"
119 | }
120 | },
121 | "air" : {
122 | "046500766510" : {
123 | "itembarcode" : "046500766510",
124 | "itemcategory" : "air",
125 | "itemname" : "hello",
126 | "itemprice" : "6"
127 | }
128 | },
129 | "phone" : {
130 | "036000291452" : {
131 | "itembarcode" : "036000291452",
132 | "itemcategory" : "phone",
133 | "itemname" : "iphone",
134 | "itemprice" : "100"
135 | }
136 | }
137 | },
138 | "Items" : {
139 | "02420677" : {
140 | "itembarcode" : "02420677",
141 | "itemcategory" : "Clorex",
142 | "itemname" : "Purex",
143 | "itemprice" : "10"
144 | },
145 | "04963406" : {
146 | "itembarcode" : "04963406",
147 | "itemcategory" : "Food",
148 | "itemname" : "Coke",
149 | "itemprice" : "1"
150 | },
151 | "011111018457" : {
152 | "itembarcode" : "011111018457",
153 | "itemcategory" : "Misc",
154 | "itemname" : "Dove",
155 | "itemprice" : "6"
156 | },
157 | "022400723310" : {
158 | "itembarcode" : "022400723310",
159 | "itemcategory" : "Spray",
160 | "itemname" : "Trey Semme",
161 | "itemprice" : "13"
162 | },
163 | "043100095873" : {
164 | "itembarcode" : "043100095873",
165 | "itemcategory" : "Stationary",
166 | "itemname" : "Copy",
167 | "itemprice" : "5"
168 | },
169 | "046500733338" : {
170 | "itembarcode" : "046500733338",
171 | "itemcategory" : "freshness",
172 | "itemname" : "glade spray",
173 | "itemprice" : "20"
174 | },
175 | "046500766510" : {
176 | "itembarcode" : "046500766510",
177 | "itemcategory" : "Spray",
178 | "itemname" : "Glade",
179 | "itemprice" : "10"
180 | },
181 | "047400097728" : {
182 | "itembarcode" : "047400097728",
183 | "itemcategory" : "Body",
184 | "itemname" : "Gillet",
185 | "itemprice" : "3"
186 | },
187 | "051000217387" : {
188 | "itembarcode" : "051000217387",
189 | "itemcategory" : "Juice",
190 | "itemname" : "v8 Juice",
191 | "itemprice" : "10"
192 | },
193 | "071691525462" : {
194 | "itembarcode" : "071691525462",
195 | "itemcategory" : "Misc",
196 | "itemname" : "Mug",
197 | "itemprice" : "2"
198 | },
199 | "078742051451" : {
200 | "itembarcode" : "078742051451",
201 | "itemcategory" : "Water",
202 | "itemname" : "Water",
203 | "itemprice" : "6"
204 | },
205 | "078742252384" : {
206 | "itembarcode" : "078742252384",
207 | "itemcategory" : "Food",
208 | "itemname" : "Black Peper",
209 | "itemprice" : "6"
210 | },
211 | "078742297026" : {
212 | "itembarcode" : "078742297026",
213 | "itemcategory" : "Food",
214 | "itemname" : "Almonds",
215 | "itemprice" : "8"
216 | },
217 | "078742351933" : {
218 | "itembarcode" : "078742351933",
219 | "itemcategory" : "Grocery",
220 | "itemname" : "Glacier Watee",
221 | "itemprice" : "36"
222 | },
223 | "099988071416" : {
224 | "itembarcode" : "099988071416",
225 | "itemcategory" : "Wine",
226 | "itemname" : "Menas",
227 | "itemprice" : "14"
228 | },
229 | "229088304989" : {
230 | "itembarcode" : "229088304989",
231 | "itemcategory" : "Food",
232 | "itemname" : "Butter Crosant",
233 | "itemprice" : "6"
234 | },
235 | "325866105028" : {
236 | "itembarcode" : "325866105028",
237 | "itemcategory" : "medicine",
238 | "itemname" : "advil",
239 | "itemprice" : "3"
240 | },
241 | "611935380084" : {
242 | "itembarcode" : "611935380084",
243 | "itemcategory" : "sanitizer",
244 | "itemname" : "Medex",
245 | "itemprice" : "8"
246 | },
247 | "726282020047" : {
248 | "itembarcode" : "726282020047",
249 | "itemcategory" : "Spring Water",
250 | "itemname" : "KentWood",
251 | "itemprice" : "3"
252 | },
253 | "788821010025" : {
254 | "itembarcode" : "788821010025",
255 | "itemcategory" : "Food",
256 | "itemname" : "Achar",
257 | "itemprice" : "6"
258 | },
259 | "796252300196" : {
260 | "itembarcode" : "796252300196",
261 | "itemcategory" : "Jucie",
262 | "itemname" : "Mango",
263 | "itemprice" : "3"
264 | },
265 | "797677300204" : {
266 | "itembarcode" : "797677300204",
267 | "itemcategory" : "Food",
268 | "itemname" : "Ghee",
269 | "itemprice" : "6"
270 | },
271 | "806360681008" : {
272 | "itembarcode" : "806360681008",
273 | "itemcategory" : "Medicine",
274 | "itemname" : "Aleeve",
275 | "itemprice" : "5"
276 | },
277 | "811538011211" : {
278 | "itembarcode" : "811538011211",
279 | "itemcategory" : "liquior",
280 | "itemname" : "Jhose",
281 | "itemprice" : "6"
282 | },
283 | "9781454922759" : {
284 | "itembarcode" : "9781454922759",
285 | "itemcategory" : "Book",
286 | "itemname" : "Hamilton",
287 | "itemprice" : "33"
288 | }
289 | },
290 | "UserDetails" : {
291 | "deptname" : "computer",
292 | "email" : "heven@gmail.com"
293 | }
294 | },
295 | "hmOQpsMV5oTVNSVMWLsRaLVPl7G2" : {
296 | "email" : "hellopppp@yahoo.com",
297 | "name" : "jp"
298 | },
299 | "love45@gmail" : {
300 | "email" : "love45@gmail.com",
301 | "name" : "love"
302 | },
303 | "nam" : {
304 | "deptname" : "Tab",
305 | "email" : "nam@gmail.com"
306 | },
307 | "name" : "pppp",
308 | "nepal123@gmailcom" : {
309 | "UserDetails" : {
310 | "deptname" : "McNeese",
311 | "email" : "nepal123@gmail.com"
312 | }
313 | },
314 | "nepali1" : {
315 | "deptname" : "lab",
316 | "email" : "nepali1@gmail.com"
317 | },
318 | "nischal@gmailcom" : {
319 | "ItemByCategory" : {
320 | "Food" : {
321 | "04963406" : {
322 | "itembarcode" : "04963406",
323 | "itemcategory" : "Food",
324 | "itemname" : "Coca Cola",
325 | "itemprice" : "2"
326 | }
327 | }
328 | },
329 | "Items" : {
330 | "04963406" : {
331 | "itembarcode" : "04963406",
332 | "itemcategory" : "Food",
333 | "itemname" : "Coca Cola",
334 | "itemprice" : "2"
335 | }
336 | },
337 | "UserDetails" : {
338 | "deptname" : "Technology",
339 | "email" : "Nischal@gmail.com"
340 | }
341 | },
342 | "nischalaryalty" : {
343 | "email" : "nischal.aryalty@gmail.com",
344 | "name" : "Nischal"
345 | },
346 | "ram0onaru" : {
347 | "deptname" : "hellp",
348 | "email" : "ram0onaru@gmail.com"
349 | },
350 | "yam" : {
351 | "deptname" : "yab",
352 | "email" : "yam@gmail.com"
353 | }
354 | }
355 | }
356 |
--------------------------------------------------------------------------------