Here, I explain the Backup/Restore Function.
The backup function of This application output data to a CSV file.
The restore function restore data from the file.
Use this at the following time.
(1) Before greatly changing the catalog (The re-doing is able even if it makes a mistake)
(2) When you uninstall this application program once (I'll be waiting for your return.)
(3) When you change the smartphone (As export/import function)
(4) When you want to give your catalog to someone (As export/import function)
The object of the backup is only data of items, categories, and memo.
Settings of each screen ("Type of Display Memo" and order of sorting, etc.) is not included.
Other notes exist in "3. CAUTION". Please use this function after often reading that and understanding the content.
Then, let's try.
The backup function of This application output data to a CSV file.
The restore function restore data from the file.
Use this at the following time.
(1) Before greatly changing the catalog (The re-doing is able even if it makes a mistake)
(2) When you uninstall this application program once (I'll be waiting for your return.)
(3) When you change the smartphone (As export/import function)
(4) When you want to give your catalog to someone (As export/import function)
The object of the backup is only data of items, categories, and memo.
Settings of each screen ("Type of Display Memo" and order of sorting, etc.) is not included.
Other notes exist in "3. CAUTION". Please use this function after often reading that and understanding the content.
Then, let's try.
1. Backup
Menu Screen |
Press the Menu key at the Menu Screen, and select "Backup/Restore".
Backup/Restore Dialog |
"Backup/Restore Dialog" is displayed.
"Last Backup Time" is blank at first.
Push "Backup Button".
The confirmation dialog is displayed, and when you push the OK button, the CSV file is written.
The CSV file is created at "(Root of SD card)/ymgcsng/shp.csv".
The root of SD card is "/sdcard" or "/mnt/sdcard" according to the model.
"Last Backup Time" is blank at first.
Push "Backup Button".
The confirmation dialog is displayed, and when you push the OK button, the CSV file is written.
The CSV file is created at "(Root of SD card)/ymgcsng/shp.csv".
The root of SD card is "/sdcard" or "/mnt/sdcard" according to the model.
2. Restore
Backup/Restore Dialog |
Again, select "Backup/Restore" from menu and display the Backup/Restore Dialog.
"Last Backup Time" is displayed at this time.
Push "Restore Button".
The confirmation dialog is displayed, and when you push the OK button, the CSV file is read.
When reading the file finishes, data returns to the one at the time of the backup.
"Last Backup Time" is displayed at this time.
Push "Restore Button".
The confirmation dialog is displayed, and when you push the OK button, the CSV file is read.
When reading the file finishes, data returns to the one at the time of the backup.
3. CAUTION
(1) The object of the backup is only data of items, categories, and memo. Settings of each screen is not included.
(2) Categories of the same name are merged as the same category.
If you want to use the category of the same name by all means, change into the alias once before it backs up, and return it to former name after restoring.
(2) Categories of the same name are merged as the same category.
If you want to use the category of the same name by all means, change into the alias once before it backs up, and return it to former name after restoring.
4. Edit and Import (Advanced)
AS the backup file is a CSV file, it is possible to edit it with the CSV editor and the text editor.
Therefore, to register a lot of items, it can be easier to edit the CSV file directly than registering one by one from the application program.
However, take great care when you edit the CSV file so that the data edit by the hand work may cause no mismatch of data.
+Procedure
(1) Send the file "(Root of SD card)/ymgcsng/shp.csv" to a PC etc.
(For example, File synchronization software between a PC and a smartphone, File Manager Application for android, and so on)
(2) Edit the CSV file with a PC.
* The file encoding is UTF-8.
(3) Send the edited file to a Android device and put it to "(Root of SD card)/ymgcsng/shp.csv".
* If you change the file encoding at (2), return it to UTF-8.
+Attribute
+NOTICE
(1) Don't replace it because the order of the column is fixed.
(2) The first head line is skipped as a header. (However, the number of columns is checked.)
Don't delete the first line.
(3) Now, Warning about the line that was not able to be read doesn't be displayed.
(4) The date format is different by locale.
The following table is an part of them.
Therefore, to register a lot of items, it can be easier to edit the CSV file directly than registering one by one from the application program.
However, take great care when you edit the CSV file so that the data edit by the hand work may cause no mismatch of data.
+Procedure
(1) Send the file "(Root of SD card)/ymgcsng/shp.csv" to a PC etc.
(For example, File synchronization software between a PC and a smartphone, File Manager Application for android, and so on)
(2) Edit the CSV file with a PC.
* The file encoding is UTF-8.
(3) Send the edited file to a Android device and put it to "(Root of SD card)/ymgcsng/shp.csv".
* If you change the file encoding at (2), return it to UTF-8.
+Attribute
Attribute | Format | Notes |
Item Name | Text | Required. If this is blanck, this line is ignored. |
Add to Shopping List | Number | Set "1" if it is displayed in the shopping list. |
Regular Stock | Number | Set "1" if its stock is controled. |
Stock Amount | Number | circle:2 triangle:1 cross:0 |
Is Bought | Number | Set "1" if it is checked in the shopping list. |
Default Position | Number | order in its category (from 0) |
Guide Price | Number | |
Place | Text | |
Default Position of Place | Number | order when not sorting (from 0). The first one is used when there is a default position different in the same place. It is tail when blank. |
Expiration Date | Date | refer to NOTICE(4) |
Memo | Text | |
One-Time Memo | Text | |
Category | Text | "***" when blank |
Default Position of Category | Number | order when not sorting (from 0). The first one is used when there is a default position different in the same category. It is tail when blank. |
+NOTICE
(1) Don't replace it because the order of the column is fixed.
(2) The first head line is skipped as a header. (However, the number of columns is checked.)
Don't delete the first line.
(3) Now, Warning about the line that was not able to be read doesn't be displayed.
(4) The date format is different by locale.
The following table is an part of them.
locale | Format | Sample(year:2011 month:March day:1st) | |
United States | M/D/YY | 3/1/11 | |
United Kingdom | DD/MM/YY | 01/03/11 | |
Germany | DD.MM.YY | 01.03.11 | |
Italy | DD/MM/YY | 01/03/11 | |
Chile | DD-MM-YY | 01-03-11 | |
Australia | D/MM/YY | 1/03/11 | |
Greece | D/M/YYYY | 1/3/2011 | |
Korea | yy. M. d | 11. 3. 1 | |
Spain | D/MM/YY | 1/03/11 | |
Netherlands | D-M-YY | 1/03/11 | |
Croatia | YYYY.MM.DD | 2011.03.01 | |
France | DD/MM/YY | 01/03/11 | |
Croatia | YYYY.MM.DD | 2011.03.01 |
0 件のコメント:
コメントを投稿