Giter Site home page Giter Site logo

igorwiese / barcode-scanner Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adamdybcio/barcode-scanner

0.0 0.0 0.0 211 KB

Simple Barcode Scanner App

C++ 17.00% C 2.64% Objective-C 0.07% Kotlin 0.24% Dart 40.69% Swift 2.36% HTML 3.38% CMake 33.62%

barcode-scanner's Introduction

Barcode App

[PL] Jest to prosta aplikacja do skanowania barkodów. Na stronie głównej użytkownikowi wyświetla się lista barkodów (lub informacja o ich braku). Każdy element listy zawiera barkod oraz datę jego wykonania, począwszy od najnowszego skanu. Na dole jest przycisk, który przenosi użytkownika na drugą stronę, gdzie użytkownik może zeskanować barkod. Po najechaniu aparatem na barkod, ramka oraz napis na ekranie zmienią kolor na zielony, po czym po chwili użytkownikowi wyświetla się okienko o wykonanym skanie. Może go odrzucić, bądź też zaakceptować, a co za tym idzie - dodać do listy. (WAŻNE! Nie można zapisać do listy dwa razy tego samego barkodu. Jest to pewne zabezpieczenie.) Użytkownik może usunąć również barkod z listy wyświetlanej na głównej stronie poprzez przesunięcie całego elementu listy w lewo. Przy przesunięciu wyświetli się AlertDialog w celu potwierdzenia przez użytkownika usunięcia danego barkodu z listy (zabezpieczenie). Oczywiście stan listy jest zapisywany i odtwarzany po wyłączeniu i włączeniu aplikacji (WAŻNE! Do tego nie była wykorzystywana biblioteka shared_preferences, lecz hydrated_bloc oraz path_provider, ponieważ uważałem to za lepszy wybór w tej konkretnej aplikacji).

[EN] It is a simple barcode scanning application. On the home page, the user is presented with a list of barcodes (or information about their absence). Each list item contains a barcode and the date it was executed, starting with the most recent scan. There is a button at the bottom that takes the user to the other screen where the user can scan the barcode. After hovering the camera over the barcode, the frame and the text above on the screen will change to green, and after a while window about the successful scan is displayed. The user can reject it, or accept it, and thus - add it to the list. (IMPORTANT! You cannot add the same barcode twice to the list. This is a security measure.) You can also remove a barcode from the list displayed on the home page by swiping the entire list item to the left. AlertDialog will be displayed on the swipe for the user to confirm that he wants the barcode to be removed from the list (security). Of course, the list state is saved and restored when the application is turned off and on (IMPORTANT! For this the shared_preferences library was not used, but hydrated_bloc and path_provider, because I thought it was a better choice in this particular application).

Krótkie wideo z działania aplikacji / A short video on how the application works

BarcodeScannerApp.mp4

Screenshots

barcode-scanner's People

Contributors

adamdybcio avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.