Pages
Book Shelf - Pages
- A sample app consists of three episodes. Episode1 is free, Episode2 and Episode3 are to be paid.
- Once paid, the image files of Episode2 or Episode3 are downloaded from an Internet server
In the sample zip, you find the following two folders
https://kwiksher.com/tutorials/Kwik4/BookShelf.zip
- BookShelfPages
- BookServer
Please copy them to ~/Documents/Kwik folder
BookShelfPages project
1 | Shelf.psd | table of contents, user to read an episode or to purchase an episode | free |
2 | ep01.psd | Episode1 | free |
3 | ep02_info.psd | Episode2 Purchase Information | free |
4 | ep02_1 | Episode2-1 | paid |
5 | ep02_2 | Episode2-2 | paid |
6 | ep03 | Episode3 | paid |
Use cases
Purchase
- user purchases Episode2 from toc
- alternatively user goes to ep02_info by clicking Episode02Icon on toc.
- when user purchased, Episode2Icon goes to ep02_1 page not to ep02_info
Restore
- user taps the restore button on toc to recover all
- The episode been purchased is to be downloaded again when user clicks the download button
BookServer
Please use the script to zip the image, audio files as assets.zip
- copy_pages.bat (WIN)
- copy_pages.command (MAC)