Monday, March 22, 2010

Project 01 : set timer schedule

Timer midlet allows to start simultaneously several times. Alarm time can be absolute and relative. It can happen once or with specified period. Different types of notifications are used: vibration, sound, backlight, SMS. Timers are stored in the storage so you can reuse them For example you can enter time needed for preparing some food (eggs, pizza, spaghetti...).

Then you just select proper time and start it. Timer can be activated even if midlet is not active (at some models of the phones this feature may not work)
There four main screen in the program. The main screen is "monitor" - it shows state of active timers and allows to add new timer. The "List" command allows to see list of active timers and stop/change/remove any of this timers. "Settings" command allows to change midlet settings - way of alarm notification. When there are no active timers, monitor screen is empty. When you execute "Add" command, list of all timers in shown. You can select proper timer from the list and start it. If there are no timers, empty screen is shown. You can add new timer by executing "New" command. New timer can be saved or can be immediately started.

Timer form ask you to input hour, minute and second. For absolute timers it is time in the day when alarm should happen. For relative timer this values specify interval since current time. If timer is periodic, then relative time will produce alarm with the period equal to the specified interval. And periodic absolute timer will produce alarm each day at specified time (so period is 24 hours).

Timer midlet provides several way of alarm notification: sound (it is possible to configure frequency, volume and note of the signal), vibration, backlight and sending SMS. Also it is possible to specify duration of the alarm - period within which sound, vibration and other effects are produced. In case of alarm midlet shows model alarm alert which is visible until user execute "Dismiss" command. The command also stops sound, vibration and backlight. To me able to send SMS, it is necessary to specify destination phone number in settings. Unfortunately at most of the phones this mechanism will not work since phone will ask user permission for midlet to send SMS each time when it tries to send SMS. timer-src.zip timer.zip MIDP 2.0

Click Here to download Project

Click Here to download Timer.Jar and Timer.Jad File



read more...

No comments:

Post a Comment

Please, select your language:

Recommended Software :: Free Download ::

Click image to download Java Development Kit (JDK)

Click image to download Wireless Toolkit (WTK)

Click image to download Crimson Editor
We have placed this source code in the public domain. You can use, modify, and distribute the source code and executable programs based on the source code. However, note the following:
DISCLAIMER OF WARRANTY
This source code is provided "as is" and without warranties as to performance or merchantability. The author and/or distributors of this source code may have made statements about this source code. Any such statements do not constitute warranties and shall not be relied on by the user in deciding whether to use this source code.
We just wanted to share our knowledge. Indeed some source code uploaded here private property, but some other source code, we get from other sites. Therefore, we do not claim that all the source code is ours. once again, we're just trying to share with others. If you feel that one of your source code created in this blog and feel reluctant to share with others. You can email us at stateid_next2@yahoo.com. thank you.

Keyword : timer, alarm, schedule, src, set timer, set alarm

Timer : Snooze.java

Details Description

Download

SimpleTimer MIDlet

Details Description

Download

DATETODAY

Details Description

Download

PROJECT 01 : SET TIMER SCHEDULE

Details Description

Download Source

Download App Jar and Jad

ALARMMIDLET

Details Description

Download

ALARM TIMER

Details Description

Download

FIXED RATE SCHEDULE MIDLET.JAVA

Details Description

Download