~cytrogen/vbhelper

c5e8236e — Christopher O'Grady 1 year, 3 months ago
Fix arrays for NFCCharacter
A few things, again...
- Added ability to write character (incomplete)
- Renamed BottomNavItem.kt to NavigationItems.kt, as it covers the entire application navigation, not just the bottom navigation bar
- Modified the ScanScreenController and the Impl to accomodate writing characters on the BE (need to do the VB later on)
- Modified repositories to fetch data from the database and additional information needed to convert back to NfcCharacter
- Function to convert to NfcCharacter

Originally this was also going to cover the home screen, since my idea was to have marked as active (the one shown in the home screen) be the one sent to the watch, but for testing I have added a "send to bracelet" button on the pop-up on the storage screen.
Merge pull request #13 from cfogrady/TransparentBackground

Make background on characters and icons transparent.
1088e525 — Christopher O'Grady 1 year, 3 months ago
Make background on characters and icons transparent.
Merge pull request #12 from cfogrady/IntegrateSecretsWithApp

Integrate secrets with app
Merge pull request #11 from cfogrady/SecretsRepo

Add Secrets Repo Using a Proto DataStore
Merge pull request #10 from cfogrady/APK_Import

APK Import
45299259 — Christopher O'Grady 1 year, 3 months ago
Integrate SecretsRepository and ApkImporter with app

Refactor methods out of MainActivity into Controllers for ScanScreen and SettingsScreen
c456d455 — Christopher O'Grady 1 year, 3 months ago
Implement Secrets Repository

Add proto plugin and dependencies
Create Secrets Proto
Create Secrets Proto DataStore
Replace old secrets with proto secrets
Fix importers and tests to use new proto secrets.
9871f042 — Christopher O'Grady 1 year, 3 months ago
Verify Secret correctness as part of loading.

Improve tests
f4974c87 — Christopher O'Grady 1 year, 3 months ago
Import APK in tests
Merge pull request #9 from nacabaro/nfc/upload_mon_new_model

Removed unused imports that'd cause compile issues.
Removed unused imports that'd cause compile issues.
Merge pull request #8 from nacabaro/nfc/upload_mon_new_model

Nfc/upload mon new model
Forgot to actually remove the files, my bad
More things:
- Improved upload function to support VB (still to do to add VB)
- Adapted to the latest version of the vb-nfc-reader library
- Added foreign keys with uploaded characters and existing dim database
- Removed the tempoorary objects
- Handled errors uploading (dim not existing for now and VB not supported yet)
- Improved bitmap conversion by moving it to it's own composable
  - Also added object to move bitmap data around
- Added DTO to read sprite data and character data simultaneously

Good night!
Merge pull request #7 from nacabaro/dim/read_cards

Read cards
Cleaned settings screen
Fixed flickering and banner overlapping
More things!
- Started slowly implementing the original model.
- Names are bitmaps, so we use that.
- Sprites are stored in RoomDB as bitmap.
- Can now import DiMs, need to implement BEms.
- Can also view all the sprites for all the DiMs and now you can view DiMs individually (these two are temporary).

Things to do next
- Use the new model when uploading characters from the watch.
- Figure out why my implementation of ABGR to BGRA isn't working (or something like that)
- Improve data retrieval from the database, maybe using flows and properly implemented view models. As of now the interface is quite flickery.
- Improve code that handles DiMs and BEms.

As for bugs
- Interface sometimes likes flickering a lot, need to figure out why
- I cannot for the life of me create transparent bitmaps... help!
- Something else I might be forgetting...

Going to continue working in this branch.
Next