1. Homepage
  2. Programming
  3. IMSE2113 Information Systems Assignment 2 Building A Barcode-enabled Android App for Displaying Product Information

IMSE2113 Information Systems Assignment 2 Building A Barcode-enabled Android App for Displaying Product Information

Engage in a Conversation
HKUMAUIAndroidIMSE2113Information Systems

Objectives CourseNana.COM

Department of Industrial and Manufacturing Systems Engineering CourseNana.COM

IMSE2113 Information Systems CourseNana.COM

Assignment 2
Building A Barcode-enabled Android App for Displaying Product Information
CourseNana.COM

In a department store, a barcode label affixed to a product's packaging or container serves various purposes for users, such as inventory checking, payment, and product information inquiry. To support these functionalities, product information associated with a specific barcode must be created and managed using an information system that incorporates a database. Subsequently, users can conveniently utilize a computer application, such as a web or mobile app, to scan the barcode label and access the relevant product information. CourseNana.COM

This assignment aims to provide students with a hands-on experience in designing and building a mobile app for displaying food product information by scanning the barcode label on the food packaging. CourseNana.COM

Upon completion of this individual assignment, students are expected to develop the following skills: CourseNana.COM

  1. Designing and building an Android app using the Microsoft .NET MAUI. CourseNana.COM

  2. Scanning the barcode label attached to the food packaging. CourseNana.COM

  3. Retrieving product information from a public Web API within the Android app. The Web API CourseNana.COM

    "https://world.openfoodfacts.org/api/v0/product/<barcode>.json" will be utilized. CourseNana.COM

  4. Generating an APK file for the Android app. CourseNana.COM

Major Tasks CourseNana.COM

Each student is required to design and develop an Android mobile app with the following features: CourseNana.COM

  1. A user interface (UI) that allows users to enter a barcode using an on-screen keyboard. CourseNana.COM

  2. A UI that enables users to scan food packaging’s barcodes, such as 1D EAN barcode and 2D CourseNana.COM

    QR CODE, and then the app can retrieve related food product information by making a request CourseNana.COM

    to the Web API "https://world.openfoodfacts.org/api/v0/product/<barcode>.json". CourseNana.COM

  3. The UI should display common product information, such as the brand name, product name, CourseNana.COM

    product images, ingredients, and more. CourseNana.COM

Additionally, students are expected to prepare a comprehensive user manual with clear instructions for guiding users how to use the mobile app. CourseNana.COM

Items for Submission CourseNana.COM

Each student is required to submit the following: CourseNana.COM

  1. A mobile app APK file and its corresponding source code. CourseNana.COM

  2. A comprehensive user manual with detailed instructions guides users how to operate the mobile CourseNana.COM

    app. CourseNana.COM

  3. A short video demonstrating the step-by-step process of operating the mobile app. CourseNana.COM

Assessments CourseNana.COM

Each student's system will be assessed and graded according to the following criteria: CourseNana.COM

  1. UX/UI design CourseNana.COM

  2. System Design and Implementation CourseNana.COM

    • Functionality CourseNana.COM

    • Clarity of the source code CourseNana.COM

    • Documentation CourseNana.COM

      Submission Date CourseNana.COM

      Please zip all submission files as a zip file (e.g., Student_ID.7z) and submit the zip file to Moodle by 11:59 pm on 26 April 2023.
      (Note: Please submit an online drive link for downloading your work if its size is very big) CourseNana.COM

      Information about barcode labels and web API CourseNana.COM

      Barcode labels attached to products offer valuable assistance to users across various applications, including inventory management, supply chain tracking, product identification, and point-of-sale automation. The provided figures showcase examples of barcode labels affixed to the packaging of food products. CourseNana.COM

      Barcode CourseNana.COM

      EAN-13 and UPC-A are two widely used barcode formats commonly found on food product packaging. The EAN-13 barcode format is designed to encode 13-digit numbers, while the UPC-A barcode format encodes 12-digit numbers. These formats are primarily utilized in specific regions, with UPC-A being predominantly used in the United States and Canada, while EAN-13 is adopted globally. Barcode data is typically stored as textual information in databases and serves as a key for product identification. CourseNana.COM

The table below presents several examples of barcodes: CourseNana.COM

Product CourseNana.COM

Barcode CourseNana.COM

(Numbers stored in a database) CourseNana.COM

Barcode CourseNana.COM

(Printed on a label) CourseNana.COM

Nutella Ferrero 750 g CourseNana.COM

3017620421006

Coca Cola 1.25L CourseNana.COM

5449000267412

Spam, 25% less sodium 336g CourseNana.COM

037600115445

The Android mobile app will integrate a free Web API service offered by "Open Food Facts." This platform operates as a collaborative, free, and open database for food products worldwide. To fetch product data, students will utilize the Web API using the following URL format: https://world.openfoodfacts.org/api/v0/product/[barcode].json. When using this URL, students should replace the placeholder [barcode] with either an EAN-13 or a UPC-A barcode. The Web API will respond with the requested data in JSON format. CourseNana.COM

The table below presents an example of using this Web API: CourseNana.COM

An HTTP Request https://world.openfoodfacts.org/api/v0/product/0037600115445.json sent to the Web
API
CourseNana.COM

An HTTP Response received from the Web API if the product is found CourseNana.COM

JSON data of the product would be found in the response. CourseNana.COM

The above image is a screenshot captured from the Firefox browser. Notably, Firefox incorporates a built-in JSON data browser, which facilitates the display of JSON data in a format that is both easy to read and comprehend. CourseNana.COM

CourseNana.COM

The JSON data contains an element named 'status' that serves as an indicator of the web API's status. When the value of 'status' is equal to 1, it signifies that a product has been located in the database. In such cases, the product details can be accessed within the 'product' element. CourseNana.COM

Within the 'product' element, there is an element called 'image_url' that specifically stores the URL of the product photo. CourseNana.COM

The 'product' element contains an element called 'ingredients_text' that stores a list of ingredients. CourseNana.COM

An HTTP Response received from the Web API if the product is not found CourseNana.COM

Get in Touch with Our Experts

WeChat WeChat
Whatsapp WhatsApp
HKU代写,MAUI代写,Android代写,IMSE2113代写,Information Systems代写,HKU代编,MAUI代编,Android代编,IMSE2113代编,Information Systems代编,HKU代考,MAUI代考,Android代考,IMSE2113代考,Information Systems代考,HKUhelp,MAUIhelp,Androidhelp,IMSE2113help,Information Systemshelp,HKU作业代写,MAUI作业代写,Android作业代写,IMSE2113作业代写,Information Systems作业代写,HKU编程代写,MAUI编程代写,Android编程代写,IMSE2113编程代写,Information Systems编程代写,HKUprogramming help,MAUIprogramming help,Androidprogramming help,IMSE2113programming help,Information Systemsprogramming help,HKUassignment help,MAUIassignment help,Androidassignment help,IMSE2113assignment help,Information Systemsassignment help,HKUsolution,MAUIsolution,Androidsolution,IMSE2113solution,Information Systemssolution,