Skip to content

Team Meetings

royayush1 edited this page Mar 16, 2022 · 7 revisions

March 2, 2022:

  • Worked on implementing AddQRFragment which uses CodeScanner code (borrowed from online github: https://github.com/yuriy-budiyev/code-scanner)
  • AddQRFragment opens a scanner which allows user to scan a QRCode
  • Implemented a hashing algorithm to hash the string contents
  • Began implementing the proposed scoring algorithm, still need to test it
  • Began implementing login activity and setting up a database.
  • Began implementing the map of QR Codes and connecting it to the database

March 9, 2022:

  • Implemented proposed scoring algorithm
  • Reworked Player class to include an instance of a newly added QRLibrary class which tracks which QRCodes have been added by the Player
  • Worked on showing a listview of QRCode items in a QRLibrary activity
  • Started working on firebase connection and integrating database functionality for storing QRCodes and Player objects, still having issues with it
  • Firebase working appropriately. Login screen working appropriately. User should enter a unique username with more than 5 characters. A valid email format.
  • MapView was not working. So had to completely shift to Google Maps. There was a firebase error that kept caching deleted database data. That took a while to fix after which pins started appearing on the map in the appropriate locations

March 11, 2022:

  • Implemented deletion of QRCodes in QRLibrary activity which is opened when QRLibrary option is clicked from dropdown in appbar
  • Scoring algorithm is wrong, think it's easier to just implement our own scoring algorithm which counts total occurrences of digits in the hash and does something with it (need to look into this more)
  • added tests to login activity.
  • Managed to store and manipulate marker and marker options individually so that a) We could have pins on the map and b) we can pass the lat, lng data of those pins from their respective marker options into the geocoder in order to display addresses on the fragment

March 16, 2022:

  • Wrote unit tests for: Player, Account, QRLibrary, Hasher, QRCode
  • Decided to propose a new scoring algorithm for now: like proposed algorithm except we do: incremented_score += digit ^ n where n is total occurrence and the score for each digit and its occurrence and then the final score is floor(log(incremented_score)) [kind of confusing right now, will clarify for part 4]
  • Due to issues with photo and location saving for QRCodes, the ability to browse QRCodes is not fully implemented: a new activity is made (DisplayQRCode activity) which opens once QRCode in list of QRLibrary activity listview is clicked on, location and image is not shown but score is
  • Will add photo + location details for part 4
Clone this wiki locally