0%

NHViewer version 2 idea

Collection system

In my design, there are 3 types of default collections: Favorite, History, and Next.
Each Collection contains of a comic list and a collection name.
Every Comic added to any collection must also be found in “CachedComic” table, in the Android SQLite database.

Backup system for collection

There is another program for desktop to retrieve all collection in JSON format from the device.

to backup

  1. Start NHV backup server, choose backup
  2. Start NHViewer, enter “settings”
  3. Click “Backup to desktop”
  4. Choose / Enter the server’s ip:port
  5. Done, “collections.json” is created inside the server’s folder

to restore

#1 Using NHV Backup Server

  1. Start NHV Backup Server, choose restore
  2. Start NHViewer, enter “settings”
  3. Click “Restore from desktop”
  4. Choose / Enter the server’s ip:port
  5. Wait for transfering the “collections.json” (which located in the server’s folder)
  6. Wait for updating “CachedComic” table

#2 Using collection.json file

  1. Start NHV Backup Server, choose restore
  2. Start NHViewer, enter “settings”
  3. Click “Restore from desktop”
  4. Choose / Enter the server’s ip:port
  5. Done, “collections.json” is created inside the server’s folder