- The app widget cannot be added to the home screen. / The app widget doesn't react.
Reinstall this app.
やまぐちぇのアプリ製作
主にAndroidアプリの紹介や製作状況などを掲載します。
2011年4月10日日曜日
Troubleshooting - "Shopping necessary for us now"
トラブルシューティング - 「今僕たちに必要な買い物」
- ウィジェットがホーム画面に追加できない/ウィジェットが反応しない
一度アプリをアンインストールして、再度インストールしてください。
ラベル:
マニュアルページ,
今僕たちに必要な買い物
2011年3月11日金曜日
「今僕たちに必要な買い物」バージョン1.2aをリリースしました
今回は軽い修正です。
買い物リストで「場所」のグルーピング表示のとき、「無し」が先頭に来ていたのを最後尾に移動しました。
あとはレイアウトの微修正です。
ウィジェットのサイズは3x1が基本ですが、それ以外にしてもそれなりに表示されるようにしました。
テキストのサイズを変更する術が無いので、そこは目をつぶってください。
あとは幅指定を忘れていた部分があったので、そこの直しです。
これからは新作アプリに力を注ぎたいので、こっちの更新はさらにペースが遅れそうですが、
見捨てずにお付き合い下さい。
手が圧倒的に足りない。。。
買い物リストで「場所」のグルーピング表示のとき、「無し」が先頭に来ていたのを最後尾に移動しました。
あとはレイアウトの微修正です。
ウィジェットのサイズは3x1が基本ですが、それ以外にしてもそれなりに表示されるようにしました。
テキストのサイズを変更する術が無いので、そこは目をつぶってください。
あとは幅指定を忘れていた部分があったので、そこの直しです。
これからは新作アプリに力を注ぎたいので、こっちの更新はさらにペースが遅れそうですが、
見捨てずにお付き合い下さい。
手が圧倒的に足りない。。。
ラベル:
製作後記
2011年3月4日金曜日
Library used - "Shopping necessary for us now"
"Shopping necessary for us now" uses OpenCSV under Apache 2.0 License.
Usage of Widget - "Shopping necessary for us now"
Here, I explain the widget.
![]() |
| Widget |
When you add this application's widget to Home Screen, the widget like the image is displayed.
That size is 3x1.
That size is 3x1.
(1) The number of the checked items in the Shopping List Screen. The text color is red when all items are not checked, and is black when all items are checked.
(2) The number of the items in the Shopping List Screen.
(3) The Shortcut for the Shopping List Screen.
(4) The Shortcut for the Catalog Edit Screen.
If you want a shortcut for the Menu Screen, add the launcher icon next to the widget.
(2) The number of the items in the Shopping List Screen.
(3) The Shortcut for the Shopping List Screen.
(4) The Shortcut for the Catalog Edit Screen.
If you want a shortcut for the Menu Screen, add the launcher icon next to the widget.
Let's Use Memo - "Shopping necessary for us now"
Here, I explain the memo function.
You can set the following attributes to each item.
(1) Guide Price : The all-time low of the item or the maximum price limit that you may buy, etc.
(2) Place : A shop or an area where you buy it.
(3) Expiration Date: the best-before date or the use-by date.
(4) One-Time Memo : This is a memo erased when the shopping ends. Input a data needed only for the next shopping. (For example, "SALE at Apr.1, buy 5")
(5) Memo : Describe brand name and regular sale information, etc. freely. (For example, "20% off every Tuesday")
Then, Let's use it.
You can set the following attributes to each item.
(1) Guide Price : The all-time low of the item or the maximum price limit that you may buy, etc.
(2) Place : A shop or an area where you buy it.
(3) Expiration Date: the best-before date or the use-by date.
(4) One-Time Memo : This is a memo erased when the shopping ends. Input a data needed only for the next shopping. (For example, "SALE at Apr.1, buy 5")
(5) Memo : Describe brand name and regular sale information, etc. freely. (For example, "20% off every Tuesday")
Then, Let's use it.
1. Using in the Catalog Edit Screen
![]() |
| Catalog Edit Screen |
Press the Menu key at the Catalog Edit Screen.
Select "Settings" in the menu.
Select "Settings" in the menu.
![]() |
| Settings Screen |
Change "Type of Displaying Memo" in "Edit Catalog" Category to "Text".
![]() |
| Catalog Edit Screen |
"Memo Input Button" of each items should be displayed when returning to the Catalog Edit Screen by the Back key.
Then, push any of these.
Then, push any of these.
![]() |
| Memo Input Dialog |
The Memo Input Dialog like the image is displayed.
The input dialog for the attribute opens when you push "Input Button" to the right of the attribute.
put some value there, push the OK button, and push the OK button of the Memo Input Dialog.
The input dialog for the attribute opens when you push "Input Button" to the right of the attribute.
put some value there, push the OK button, and push the OK button of the Memo Input Dialog.
![]() |
| Catalog Edit Screen |
the memo is displayed under the item name.
Repeat this operation for the items to which you want to set the memo.
Repeat this operation for the items to which you want to set the memo.
![]() |
| Memo Display (Text) |
Each attribute is arranged like the image.
(1) Guide Price
(2) Place
(3) Expiration Date
(4) Memo
(1) Guide Price
(2) Place
(3) Expiration Date
(4) Memo
Here, you might think One-Time Memo is where.
One-Time Memo is only displayed and editable in the Shopping List Screen. This is for the mis-input prevention.
Please refer to the next paragraph "2. Using in the Shopping List Screen" for details.
One-Time Memo is only displayed and editable in the Shopping List Screen. This is for the mis-input prevention.
Please refer to the next paragraph "2. Using in the Shopping List Screen" for details.
![]() |
| Memo Display (Icon) |
When "Type of Displaying Memo" change to "Icon" on the Settings Screen, icons like the image are displayed instead of text.
The icon is colored when the value is set, and the gray when not set.
Use favorite one either the text display or the icon display.
Use favorite one either the text display or the icon display.
2. Using in the Shopping List Screen
![]() |
| Catalog Edit Screen |
The usage in the Shopping List Screen is almost the same as the Catalog Edit Screen.
When you change "Type of Displaying Memo" in "Shopping List" Category to "Text", the Memo Input Button of each items should be displayed.
When you change "Type of Displaying Memo" in "Shopping List" Category to "Text", the Memo Input Button of each items should be displayed.
![]() |
| Memo Input Dialog |
However, there are two differences with the Catalog Edit Screen.
One is to be able to display and edit One-Time Memo.(1)
Anoter is not to be able to edit the memo though can be displayed. (2)
This purpose is to prevent the mistake that erase the memo by inputting it in the One-Time Memo field.
You can input memo in the Catalog Edit Screen, and can input One-Time Memo in the Shopping List Screen.
Be mindful of this.
One is to be able to display and edit One-Time Memo.(1)
Anoter is not to be able to edit the memo though can be displayed. (2)
This purpose is to prevent the mistake that erase the memo by inputting it in the One-Time Memo field.
You can input memo in the Catalog Edit Screen, and can input One-Time Memo in the Shopping List Screen.
Be mindful of this.
![]() |
| Memo Display (Text) |
The memo display of the text becomes like the image on the Shopping List Screen.
The point is
It is a point the One-Time Memo's being displayed.
The point is
It is a point the One-Time Memo's being displayed.
(1) Guide Price
(2) Place
(3) Expiration Date
(4) One-Time Memo
(5) Memo
(2) Place
(3) Expiration Date
(4) One-Time Memo
(5) Memo
![]() |
| Memo Display (Icon) |
It is the memo display of the icons. The icon of the One-Time Memo is displayed.
3. Input in the Item Entry/Edit Screen
You can input memo in the Item Entry/Edit Screen.
Editable attributes are same as the Catalog Edit Screen. (Guide Price, Place, Expiration Date, Memo)
Editable attributes are same as the Catalog Edit Screen. (Guide Price, Place, Expiration Date, Memo)
Backup/Restore Function - "Shopping necessary for us now"
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 |
登録:
投稿 (Atom)














