GSDGuard
GSDGuard
is application for mobile phones, which is intended as a helper
application for GSD patients. At meal time it starts with sound alarm.
If nobody stops the alarm by typing two digit code, SMS is sent to
preconfigurad phone numbers.
The phone should be stored together
with patient's food. When the patient starts to eat the food, he should
also type the two digit security code. The security code is required to
avoid accidental canceling of the alarm. If the code is not entered few
minutes after the meal should be eaten, SMS is automatically sent to
preconfigured phone numbers. This way one or more persons are warned
that something is not OK.
IMPORTANT:
This application should be used only as an additional
mechanism for patient safety. Children should always have an adult
person looking after them. This application has been only partially
tested, and there exist many points of possible failure. For
example, phone battery may get empty, the network is down, SMS
transmission may be delayed, ... Mobile phones are NOT medical devices!
This application is licensed under GPL 2.0 licence.
Screenshot
of phone emulator with GSDGuard running and displaying the next meal
time. If it is hidden, it pops up when it is time to enter the security
code.
Requirements
The application
should run on all Java enabled phones (MIDP 2.0, CLDC-1.1), which means
almost all modern phones. I've developed this application on
Nokia 6124 classic, S60, 3rd edition, FP1.
However, these
phones are unfortunately configured so that they do not allow sending
SMSes from untrusted applications. Since certificates cost a lot of
money and involve complex procedure, and messaging API is the one
of the most restricted ones, the only possibility for me was to hack a
phone to change the rigths of untrusted applications. This
procedure is NOT trivial and requires at least some knowledge
about computers. Furthermore, it also exposes your phone to
security risks, so you really have to know what you are doing.
For J2ME programmers
Since
GSDGuard text has to be larger than the largest fonts available on J2ME
devices, I implemented a scalable font with Graphics primitives (lines
and rectangles). If you need something like this, feel free to use the
sources. Only numbers and capital letters are available.
Downloads
Download the following two files to your computer, then edit GSDGuard.jad file
and enter your phone numbers. You may also change security code and any
text if you want to. Then copy both files to your phone and
install by selecting the GSDGuard.jad file. To see comments for each setting, you can also view the original jad file.
Files for download:
Sources, if you know how to develop J2ME applications and want to modify something:
Contact
If you have any questions, suggestions, or anything else you'd like to tell me, please send an e-mail to 
(c) Marko Klopčič, 2009