here is my app. i have triggered the alarm but how i can set alarm for specific date. please tell me.
import javax.microedition.pim.; import java.util.;
import net.rim.device.api.system.; import net.rim.device.api.util.; import net.rim.blackberry.api.pdap.*;
public class Alarm {
private Event event;
public void myAlarm(String name,String bankName,String AccNo)
{
try
{
EventList eventList = (EventList)PIM.getInstance().openPIMList(PIM.EVENT_LIST, PIM.WRITE_ONLY);
event = eventList.createEvent();
event.addString(event.SUMMARY, PIMItem.ATTR_NONE, name+"\n"+AccNo);
event.addString(event.LOCATION, PIMItem.ATTR_NONE, bankName);
event.addInt(event.ALARM, PIMItem.ATTR_NONE, 0);
event.addDate(event.START, PIMItem.ATTR_NONE,System.currentTimeMillis()+120000);
event.addDate(event.END, PIMItem.ATTR_NONE, System.currentTimeMillis()+360000);
event.commit();
}//end of try block
catch(Exception e){}
}//end of method myAlarm
}//end of main class Alarm