HelpDiabetes J2ME للمساعدة في مراقبة مرضى السكري
HelpDiabetes
بهذا التطبيق يمكن مراقبة مرض السكري واختيار كمية ونوع الغذاء وكذلك جرعات الادوية المناسبة وخلق التوازن في حياة هؤلاء المرضى

HelpDiabetes is a help for people with
diabetes. It is a carb counting application that runs on a cellular
phone. The application has built in the Food Composition Table
from food-info.net from the Wageningen University in the Netherlands.
It is also possible to make your
own foodtable in Excel and transfer it to the GSM. The application
also calculates the amounts of insuline needed for diabetic people.
GSM Phone System Requirements :
---------------------------------------------
The phone must support Java MIDP 2.0 and CLDC 1.0. To transfer an own
version of the foodtable, support of JSR75 is necessary. A version
for phones that don't support JSR75 is available (send me an e-mail).
The application will not work on phones without keyboard (like Qtec,..) ..
First use of the application
------------------------------
The first time you use the application, it will read the complete
food composition table that is built in. This may take a minute.
Use the application :
-------------------------
The first screen displays the list
of all food items, starting with the first in alphabetical order.
Search an item :
-------------------
You can search an item by entering the starting
characters of the itemâ??s name, as you would type an SMS.
You can scroll with game keys 'UP' and 'DOWN' . Only
characters a..z can be entered, but the application also
recognizes variants for example é è ë are all found as 'e'.
To select a food item press the 'SELECT' key or choose option 'Choose'.
Note : some food items may have
special characters like 'Macaroni cheese - Tin'. All the letters can
be entered in the search box, and also the spaces by clicking the game
key 'RIGHT' . However '-' can't be typed by pressing numeric keys. One
possibility is to get 'Macaroni cheese - Tin' displayed
as first item in the list, and pressing the game key'RIGHT' .
Letters can be removed from the search box by pressing
keys 'C', 'BACK' of 'LEFT' (not all phones support the 'C' and 'BACK' key).
Count the amount of carbs and add to a list
----------------------------------------------------
After having selected a food item, you can choose the amount. The units
are shown and is always 'gram' for the standard fooddatabase.
Example, suppose the selected food item is 'Bread White', press on numeric key '6' and then '0'. The application will immediately count the amount of carbs (gram) for 60 grams of 'Bread White' and show the result. Also the amount of
proteins, fat and kilocalories are calculated. For these elements, only
the total amounts are shown, being the total for all the food items that
have been selected by you and added to the list with your chosen amounts.
If not all information can be shown on one screen, a scrollbar
will appear on the right. Use keys 'UP' and 'DOWN' to scroll.
Remark : Total amounts are shown rounded to the lower
Integer value. The calculation keeps into account the correct figures.
It is
also possible to enter digits after the decimal point (eg 0,5 piece of
apple, assuming an apple would be there with unit 'piece' (which is not
the case in the standard table). Choose 'RIGHT', and the cursor will
move to the decimal part, choose 'LEFT' and the cursor moves back to
the Integer part. Chosing 'LEFT' also removes already entered digits.
Once you've chosen
the amount, you can add the food item to a list by choosing option 'Add'.
Show total amount kilocalories, fat, proteins
and carbohydrates and calculated amounts of insuline needed.
------------------------------------------------------------------------------------------------------------------
From the first screen, using option 'Show current
total' you can see the total amounts of carbohydrates, fats, porteins
and kilocalories for the chosen food items and amounts in the list.
Remark : whenever the source fooddatabase
contains no value for proteins, fats or kilocalories for one of the
items in the list of chosen items, then the totals are not calculated.
The amount of insuline needed is also
shown here , this value is calculated based on personal settings. If your
settings are not intialized, the amount of insuline is not calculated.
Show Current list of chosen food items
-----------------------------------------------
With this option
you can view the list of food items selected so far with the amounts.
It's possible
to modify one of the amounts : scroll 'up' or 'down' to scroll to the
item you want to change, press 'select', now you can change the amount.
Choose 'Save' to store the new amount or 'back' to cancel.
Empty List
-------------
With this option you remove the food items that you selected and
have added to the list. You do this typically at start of a new meal.
Reload fooddatabase
-------------------------
You can make your own version of the food
composition table on a PC using Excel. Use fooddatabase.xls which you can
find here (zipped version) , and add your own items at the bottom on
the first empty row. The application will stop reading when the first
row with column A empty is found. You can also modify existing items.
There's no limitation to the characters used
in the names of the fooditems. Choose the unit which can be either the
predefined unit '100 gr'? or '100 ml'? or an own free text. When 100 gr
or 100 ml is chosen, the application will recalculate itself the amounts.
The amounts of kilocalories, fats and proteins is optional.
When the list is ready, press ctrl+h or click on 'Press
here to prepare the worksheet for transfer to the GSM'. The Excel
table will be saved and a second file will be generated
named foodfileuk.csv and stored in c:\temp (c:\temp must exist on your PC !)
Copy the file c:\temp\foodfileuk.csv to your cellular
phone using USB/Bluetooth/Infrared. Then you can use the HelpDiabetes
application on the phone to load foodfileuk.csv using 'options' 'Reload'.
Important :
- You should put excel macro security
to low. In Excel chose Tools Options Security 'macro Security' 'Low'
- if you want to enter digits after the decimal
point, use the decimal which you would normally use in Excel. The
table attached uses '.' as decimal point (example 2,5 is written in
the table as 2.5). If you would normally use ',' , use it here also.
Settings
----------
- Set the amounts of required insuline : what
je enter is the amount of grams of carbohydrates you can have
per unit of insuline. This you can do for breakfast, dinner, supper.
- Set the times you switch from breakfast
to supper, supper to dinner. The application will use these times to
use the correct value of amounts of carbohydates per unit insuline.
- font size
- speed : this is a setting which
allows to take into account the different capacities of cellular phones.
Nokia phones seem to
work faster than Sony Ericsson. The standard value is 50. For Nokia
phones you can set it to 1000. For Motorola phones even to 2000.
Compatible with:
Motorola: E1070, E770, K1, Razr V3x, RAZR V3xx,
RAZR V6, SLVR L7e, SLVR L7i, SLVR L9, V1075, V360, V365, V3i, Z3
Nokia: 2630, 5300, 5310 XpressMusic, 6060, 6101, 6103, 6111,
6125, 6126, 6131, 6133, 6151, 6165, 6230i, 6233, 6234, 6265, 6265i, 6267,
6270, 6275i, 6280, 6288, 6300, 6630, 6680, 6681, 6682, 6822, 7260, 7370,
7373, 7390, 7500, 8600 Luna, 9300, E50, E60, E61, E61i, E62, E65, E70,
N70, N71, N72, N73, N75, N77, N80-1, N90, N91, N92, N93, N93i, N95
Sagem: MY X-4
Samsung: SGH G600
Sony-Ericsson: K320i,
K510i, K550i, K600i, K608i, K610, K610i, K618i, K750, K750i,
K790a, K790i, K800i, S500i, V600i, W550c, W550i, W600i, W660i, W700i,
W710i, W800i, W810i, W850i, W880i, W900i, Z550i, Z558i, Z610i, Z710i