×
Namespaces

Variants
Actions
(Difference between revisions)

Using the PIM API to create Medication Reminders

From Nokia Developer Wiki
Jump to: navigation, search
igordsm (Talk | contribs)
(Igordsm - - User interface)
igordsm (Talk | contribs)
(Igordsm -)
Line 27: Line 27:
 
== Introduction ==
 
== Introduction ==
  
Mobile and smart phones can be used to improve their owners health. People, specially the elderly, often forget to take their medications in the correct time. This can be a serious issue. In this article we describe how to create Medication Reminders for the new Asha mobile phones.
+
Mobile and smart phones can be used to improve their owners health. A common problem nowadays is that people often forget to take their medications at the correct time. This reduces the medicine's effect and, sometimes, puts in risk the whole treatment. In this article we describe how to create a Medication Reminder for the new Asha mobile phones.
  
 +
== Medication reminders using Calendar Events ==
 +
 +
In this example we need to alert our used of the correct time to take their medicine. Calendar events are suited for this task because
 +
 +
# they do not depend on an internet connection (as the  Notifications API);
 +
# push registry notifications disappear completely after they are dismissed (or if the time has passed and the phone is turned off);
 +
# they remain on the device and appear on the calendar;
 +
# calendar events appear in the fastlane.
  
Why calendar events:
 
Calendar Events appear in the Fastlane;
 
Contrary to push notifications, calendar events have a specified time to occur and dont need internet;
 
We can set sound alarms.
 
  
  

Revision as of 13:30, 13 November 2013

This article explains how to ... Replace the abstract text with a short paragraph (or sentence) describing what the topic covers.

Enter article metadata as described below. Note that this template can be placed anywhere in the article. Do not remove parameters that you do not use

Article Metadata
CompatibilityArticle
Created: (28 Nov 2013)
Last edited: igordsm (13 Nov 2013)

Note.pngNote: This is an entry in the Nokia Asha Wiki Competition 2013H2.

Contents

Introduction

Mobile and smart phones can be used to improve their owners health. A common problem nowadays is that people often forget to take their medications at the correct time. This reduces the medicine's effect and, sometimes, puts in risk the whole treatment. In this article we describe how to create a Medication Reminder for the new Asha mobile phones.

Medication reminders using Calendar Events

In this example we need to alert our used of the correct time to take their medicine. Calendar events are suited for this task because

  1. they do not depend on an internet connection (as the Notifications API);
  2. push registry notifications disappear completely after they are dismissed (or if the time has passed and the phone is turned off);
  3. they remain on the device and appear on the calendar;
  4. calendar events appear in the fastlane.


User interface

Form f;
TextField name;
DateField start;
DateField end;
TextField every;


screenshot da interface (LCDUI)

código

Adding events using the PIM API

FASTLANE SCREENSHOT

Conclusions

249 page views in the last 30 days.