Nacho 42dd87f0c4 Data export working
During export the database will be closed, otherwise the WAL will ruin the export. data will be saved as a .vbhelper file, then the app will be closed to avoid making any changes to the DB
For import, we check if the extension is .vbhelper, otherwise we can corrupt the database, IMPORTANT. Next we delete everything related to RoomDB and we swap it with the new files. Finally the app will be closed to ensure RoomDB is running on the new DB.

Finally, I still have to reintegrate the importApk functionality with the NewSettingsScreenController and get rid of the old one.
2025-01-18 00:45:16 +01:00
2025-01-18 00:45:16 +01:00
2025-01-09 15:24:10 -05:00
2025-01-08 21:01:37 -05:00
2025-01-09 15:24:10 -05:00
2025-01-04 01:12:57 +01:00
2025-01-04 01:12:57 +01:00
2025-01-04 01:12:57 +01:00
2025-01-04 01:09:13 +01:00
2025-01-04 23:46:13 -05:00

VBHelper

Developer Setup

  1. Clone vb-nfc-reader (https://github.com/cfogrady/lib-vb-nfc)
  2. Run vb-nfc-reader/publishToMavenLocal gradle task in the lib-vb-nfc project.
  3. Clone vb-dim-reader (https://github.com/cfogrady/vb-dim-reader)
  4. Run publishToMavenLocal gradle task in the vb-dim-reader project.
  5. Create res/values/keys.xml within the app module.
  6. Populate with:
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="password1">beHmacKey1</string>
    <string name="password2">beHmacKey2</string>
    <string name="decryptionKey">aesKey</string>
    <integer-array name="substitutionArray">
        <item>0</item>
        <item>1</item>
        <item>2</item>
        <item>3</item>
        <item>4</item>
        <item>5</item>
        <item>6</item>
        <item>7</item>
        <item>8</item>
        <item>9</item>
        <item>10</item>
        <item>11</item>
        <item>12</item>
        <item>13</item>
        <item>14</item>
        <item>15</item>
    </integer-array>
</resources>
  1. Replace the values in the keys.xml file with those extracted from the original app.
  2. Run
Description
[MIRROR] Application to interact with Vital Bracelets.
https://github.com/nacabaro/vbhelper
Readme MIT 843 KiB
Languages
Kotlin 100%